MAK RTIspy API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions | Protected Attributes
DtMutex__rti__ Class Reference

Platform independent mutual exclusion. More...

+ Collaboration diagram for DtMutex__rti__:

List of all members.

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.

Detailed Description

Platform independent mutual exclusion.

Instances of MAKRti::DtMutex are used to provide a platform independent mutual exclusion mechanism


Constructor & Destructor Documentation

default constructor

DtMutex__rti__::DtMutex__rti__ ( const DtMutex__rti__ orig) [protected]

copy constructor

destructor


Member Function Documentation

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


Member Data Documentation

pthread_mutex_t DtMutex__rti__::myPTMutex [protected]

WIN32.

WIN32


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)