VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes

instances of DtMutex are used to provide a platform independent mutual exclusion mechanism More...

+ Collaboration diagram for DtMutex:

Public Member Functions

 DtMutex ()
 default constructor
virtual ~DtMutex ()
 destructor
virtual void lock ()
 get exclusive control of something
virtual bool tryLock ()
 Non blocking version of lock.
virtual void unlock ()
 release exclusive control

Protected Member Functions

 DtMutex (const DtMutex &orig)
 copy constructor
const DtMutexoperator= (const DtMutex &orig)
 assignment operator

Protected Attributes

pthread_mutex_t myPTMutex
 _WIN32

Detailed Description

instances of DtMutex are used to provide a platform independent mutual exclusion mechanism

Constructor & Destructor Documentation

DtMutex::DtMutex ( )

default constructor

DtMutex::DtMutex ( const DtMutex orig)
protected

copy constructor

virtual DtMutex::~DtMutex ( )
virtual

destructor

Member Function Documentation

virtual void DtMutex::lock ( )
virtual

get exclusive control of something

const DtMutex& DtMutex::operator= ( const DtMutex orig)
protected

assignment operator

virtual bool DtMutex::tryLock ( )
virtual

Non blocking version of lock.

Returns
false if the mutex cannot lock due to a different thread being here
virtual void DtMutex::unlock ( )
virtual

release exclusive control

Member Data Documentation

pthread_mutex_t DtMutex::myPTMutex
protected

_WIN32


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

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)