![]() |
VR-Link API Documentation for HLA 1516
|
Private class which implements the Sequence lock. More...
Inheritance diagram for DtThreadSafe< T >::SequenceLockImpl:
Collaboration diagram for DtThreadSafe< T >::SequenceLockImpl:Public Member Functions | |
| SequenceLockImpl (DtThreadSafe *object) | |
| Constructor that takes the object to lock. More... | |
| virtual | ~SequenceLockImpl () |
| Destructor, does nothing. More... | |
Public Member Functions inherited from DtScopedSequenceLock | |
| DtScopedSequenceLock (const DtScopedSequenceLock &orig) | |
| Public copy constructor, is called on return from the implementation/ This method creates the lock. More... | |
| virtual | ~DtScopedSequenceLock () |
| Destructor, unlocks the object. More... | |
Static Public Member Functions | |
| static void | lock (void *object) |
| Callback function which takes object (down-casts) and locks. More... | |
| static void | unlock (void *object) |
| Callback function which takes object (down-casts) and unlocks. More... | |
Additional Inherited Members | |
Public Types inherited from DtScopedSequenceLock | |
| typedef void(* | LockFunction )(void *) |
| Define Lock function. More... | |
Protected Member Functions inherited from DtScopedSequenceLock | |
| DtScopedSequenceLock (void *object, LockFunction lockCB, LockFunction unlockCB) | |
| Protected constructor is called by private implementation of lock. More... | |
Protected Attributes inherited from DtScopedSequenceLock | |
| LockFunction | myLockCallback |
| The acquire lock callback. More... | |
| LockFunction | myUnlockCallback |
| The release lock callback. More... | |
| void * | myObject |
| The object to pass to the callbacks. More... | |
Private class which implements the Sequence lock.
This class is responsible for creating and destroying an external lock.
| DtThreadSafe< T >::SequenceLockImpl::SequenceLockImpl | ( | DtThreadSafe * | object | ) |
Constructor that takes the object to lock.
|
virtual |
Destructor, does nothing.
|
static |
Callback function which takes object (down-casts) and locks.
|
static |
Callback function which takes object (down-casts) and unlocks.