Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
coil::Mutex Class Reference

Mutex class. More...

#include <Mutex.h>

List of all members.

Public Member Functions

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

Public Attributes

ACE_thread_mutex_t mutex_
pthread_mutex_t mutex_
 Mutual exclusion object.
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.

Mutual exclusion object.

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

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


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:40