C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
CPPCli::ResourceLock Class Reference

The ResourceLock class represents a lock upon a resource. A resource that has been locked shall permit only the owner of the lock access to modify the resource. More...

#include <ResourceLock.h>

Public Member Functions

 ResourceLock (VxSdk::IVxResourceLock *vxResourceLock)
 Constructor. More...
 
virtual ~ResourceLock ()
 Destructor. More...
 
 !ResourceLock ()
 Finaliser. More...
 

Package Attributes

VxSdk::IVxResourceLock_resourceLock
 

Properties

System::String^  Id [get]
 Gets the unique resource lock identifier. More...
 
System::String^  Owner [get]
 Gets the owner. More...
 

Detailed Description

The ResourceLock class represents a lock upon a resource. A resource that has been locked shall permit only the owner of the lock access to modify the resource.

Definition at line 15 of file ResourceLock.h.

Constructor & Destructor Documentation

CPPCli::ResourceLock::ResourceLock ( VxSdk::IVxResourceLock vxResourceLock)
inline

Constructor.

Parameters
vxResourceLockThe vx resource lock.

Definition at line 22 of file ResourceLock.h.

22  {
23  _resourceLock = vxResourceLock;
24  }
VxSdk::IVxResourceLock * _resourceLock
Definition: ResourceLock.h:60
virtual CPPCli::ResourceLock::~ResourceLock ( )
inlinevirtual

Destructor.

Definition at line 29 of file ResourceLock.h.

29  {
30  this->!ResourceLock();
31  }
ResourceLock(VxSdk::IVxResourceLock *vxResourceLock)
Constructor.
Definition: ResourceLock.h:22
CPPCli::ResourceLock::!ResourceLock ( )
inline

Finaliser.

Definition at line 36 of file ResourceLock.h.

36  {
38  _resourceLock = nullptr;
39  }
VxSdk::IVxResourceLock * _resourceLock
Definition: ResourceLock.h:60
virtual VxResult::Value Delete() const =0

Member Data Documentation

VxSdk::IVxResourceLock* CPPCli::ResourceLock::_resourceLock
package

Definition at line 60 of file ResourceLock.h.

Property Documentation

System:: String^ CPPCli::ResourceLock::Id
get

Gets the unique resource lock identifier.

The unique identifier.

Definition at line 45 of file ResourceLock.h.

System:: String^ CPPCli::ResourceLock::Owner
get

Gets the owner.

The owner.

Definition at line 54 of file ResourceLock.h.


The documentation for this class was generated from the following file: