VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtThreadSafe< T >::SequenceLockImpl Class Reference

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...
 

Detailed Description

template<typename T>
class DtThreadSafe< T >::SequenceLockImpl

Private class which implements the Sequence lock.

This class is responsible for creating and destroying an external lock.

Constructor & Destructor Documentation

template<typename T>
DtThreadSafe< T >::SequenceLockImpl::SequenceLockImpl ( DtThreadSafe object)

Constructor that takes the object to lock.

template<typename T>
virtual DtThreadSafe< T >::SequenceLockImpl::~SequenceLockImpl ( )
virtual

Destructor, does nothing.

Member Function Documentation

template<typename T>
static void DtThreadSafe< T >::SequenceLockImpl::lock ( void *  object)
static

Callback function which takes object (down-casts) and locks.

template<typename T>
static void DtThreadSafe< T >::SequenceLockImpl::unlock ( void *  object)
static

Callback function which takes object (down-casts) and unlocks.


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

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)