VR-Link API Documentation for HLA Evolved
 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.
virtual ~SequenceLockImpl ()
 Destructor, does nothing.
- 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.
virtual ~DtScopedSequenceLock ()
 Destructor, unlocks the object.

Static Public Member Functions

static void lock (void *object)
 Callback function which takes object (down-casts) and locks.
static void unlock (void *object)
 Callback function which takes object (down-casts) and unlocks.

Additional Inherited Members

- Public Types inherited from DtScopedSequenceLock
typedef void(* LockFunction )(void *)
 Define Lock function.
- Protected Member Functions inherited from DtScopedSequenceLock
 DtScopedSequenceLock (void *object, LockFunction lockCB, LockFunction unlockCB)
 Protected constructor is called by private implementation of lock.
- Protected Attributes inherited from DtScopedSequenceLock
LockFunction myLockCallback
 The acquire lock callback.
LockFunction myUnlockCallback
 The release lock callback.
void * myObject
 The object to pass to the callbacks.

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 Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)