Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
coil::Mutex Class Reference

Mutex class. More...

#include <Mutex.h>

Public Member Functions

void lock ()
 
void lock ()
 Mutual exclusion lock. More...
 
void lock ()
 Mutual exclusion lock. More...
 
 Mutex (const char *naem=0)
 
 Mutex (const char *const name=0)
 Constructor. More...
 
 Mutex (const char *const name=0)
 Constructor. More...
 
bool trylock ()
 
bool trylock ()
 Mutual exclusion non-blocking lock. More...
 
bool trylock ()
 Mutual exclusion non-blocking lock. More...
 
void unlock ()
 
void unlock ()
 Mutual exclusion unlock. More...
 
void unlock ()
 Mutual exclusion unlock. More...
 
 ~Mutex ()
 
 ~Mutex ()
 Destructor. More...
 
 ~Mutex ()
 Destructor. More...
 

Public Attributes

ACE_thread_mutex_t mutex_
 
pthread_mutex_t mutex_
 Mutual exclusion object. More...
 
HANDLE mutex_
 

Private Member Functions

 Mutex (const Mutex &)
 
 Mutex (const Mutex &)
 
 Mutex (const Mutex &)
 
Mutexoperator= (const Mutex &)
 
Mutexoperator= (const Mutex &)
 
Mutexoperator= (const Mutex &)
 

Private Attributes

SECURITY_ATTRIBUTES m_Security_attr
 

Detailed Description

Mutex class.

Definition at line 36 of file ace/coil/Mutex.h.

Constructor & Destructor Documentation

coil::Mutex::Mutex ( const char *  naem = 0)
inline

Definition at line 39 of file ace/coil/Mutex.h.

coil::Mutex::~Mutex ( )
inline

Definition at line 44 of file ace/coil/Mutex.h.

coil::Mutex::Mutex ( const Mutex )
private
coil::Mutex::Mutex ( const char *const  name = 0)
inline

Constructor.

Constructor

Parameters
nameObject name

Definition at line 62 of file posix/coil/Mutex.h.

coil::Mutex::~Mutex ( )
inline

Destructor.

Destructor

Definition at line 82 of file posix/coil/Mutex.h.

coil::Mutex::Mutex ( const Mutex )
private
coil::Mutex::Mutex ( const char *const  name = 0)
inline

Constructor.

Constructor

Parameters
nameObject name

Definition at line 64 of file win32/coil/Mutex.h.

coil::Mutex::~Mutex ( )
inline

Destructor.

Destructor

Definition at line 95 of file win32/coil/Mutex.h.

coil::Mutex::Mutex ( const Mutex )
private

Member Function Documentation

void coil::Mutex::lock ( )
inline

Definition at line 49 of file ace/coil/Mutex.h.

void coil::Mutex::lock ( )
inline

Mutual exclusion lock.

Lock the Mutual exclusion.

Definition at line 102 of file posix/coil/Mutex.h.

void coil::Mutex::lock ( )
inline

Mutual exclusion lock.

Lock the Mutual exclusion.

Definition at line 116 of file win32/coil/Mutex.h.

Mutex& coil::Mutex::operator= ( const Mutex )
private
Mutex& coil::Mutex::operator= ( const Mutex )
private
Mutex& coil::Mutex::operator= ( const Mutex )
private
bool coil::Mutex::trylock ( )
inline

Definition at line 54 of file ace/coil/Mutex.h.

bool coil::Mutex::trylock ( )
inline

Mutual exclusion non-blocking lock.

Lock the Mutual exclusion by non-blocking.

Definition at line 122 of file posix/coil/Mutex.h.

bool coil::Mutex::trylock ( )
inline

Mutual exclusion non-blocking lock.

Lock the Mutual exclusion by non-blocking.

Definition at line 136 of file win32/coil/Mutex.h.

void coil::Mutex::unlock ( )
inline

Definition at line 59 of file ace/coil/Mutex.h.

void coil::Mutex::unlock ( )
inline

Mutual exclusion unlock.

Unlock the Mutual exclusion.

Definition at line 142 of file posix/coil/Mutex.h.

void coil::Mutex::unlock ( )
inline

Mutual exclusion unlock.

Unlock the Mutual exclusion.

Definition at line 169 of file win32/coil/Mutex.h.

Member Data Documentation

SECURITY_ATTRIBUTES coil::Mutex::m_Security_attr
private

Definition at line 176 of file win32/coil/Mutex.h.

ACE_thread_mutex_t coil::Mutex::mutex_

Definition at line 63 of file ace/coil/Mutex.h.

pthread_mutex_t coil::Mutex::mutex_

Mutual exclusion object.

Definition at line 158 of file posix/coil/Mutex.h.

HANDLE coil::Mutex::mutex_

Definition at line 173 of file win32/coil/Mutex.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:02