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 More...
 
virtual ~DtMutex ()
 destructor More...
 
virtual void lock ()
 get exclusive control of something More...
 
virtual bool tryLock ()
 Non blocking version of lock. More...
 
virtual void unlock ()
 release exclusive control More...
 

Protected Member Functions

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

Protected Attributes

pthread_mutex_t myPTMutex
 _WIN32 More...
 

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 Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)