![]() |
MAK RTIspy API Documentation for HLA 1516
|
Platform independent mutual exclusion. More...
Collaboration diagram for DtMutex__rti__:Public Member Functions | |
| DtMutex__rti__ () | |
| default constructor | |
| virtual | ~DtMutex__rti__ () |
| destructor | |
| virtual void | destroy () |
| destroy the mutex. | |
| virtual void | lock () |
| get exclusive control of something | |
| virtual void | unlock () |
| release exclusive control | |
| pthread_mutex_t * | mutex () |
| return handle to mutex | |
Protected Member Functions | |
| DtMutex__rti__ (const DtMutex__rti__ &orig) | |
| copy constructor | |
| const DtMutex__rti__ & | operator= (const DtMutex__rti__ &orig) |
| assignment operator | |
Protected Attributes | |
| pthread_mutex_t | myPTMutex |
| WIN32. | |
Platform independent mutual exclusion.
Instances of MAKRti::DtMutex are used to provide a platform independent mutual exclusion mechanism
default constructor
| DtMutex__rti__::DtMutex__rti__ | ( | const DtMutex__rti__ & | orig | ) | [protected] |
copy constructor
| DtMutex__rti__::~DtMutex__rti__ | ( | ) | [virtual] |
destructor
| void DtMutex__rti__::destroy | ( | ) | [virtual] |
destroy the mutex.
This should only be called when no threads or processes will access the condition variable any longer.
| void DtMutex__rti__::lock | ( | ) | [virtual] |
get exclusive control of something
| pthread_mutex_t * DtMutex__rti__::mutex | ( | ) |
return handle to mutex
WIN32
| const DtMutex__rti__ & DtMutex__rti__::operator= | ( | const DtMutex__rti__ & | orig | ) | [protected] |
assignment operator
| void DtMutex__rti__::unlock | ( | ) | [virtual] |
release exclusive control
pthread_mutex_t DtMutex__rti__::myPTMutex [protected] |
WIN32.
WIN32