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

#include <Mutex.h>

Public Member Functions

bool lock (unsigned int uiTimeOut=INFINITE)
 
 Mutex ()
 
 Mutex (std::string sName)
 
void unlock ()
 
 ~Mutex ()
 

Private Attributes

pthread_mutex_t m_hMutex
 

Detailed Description

Definition at line 26 of file Mutex.h.

Constructor & Destructor Documentation

Mutex::Mutex ( )
inline

Definition at line 32 of file Mutex.h.

Mutex::Mutex ( std::string  sName)
inline

Definition at line 37 of file Mutex.h.

Mutex::~Mutex ( )
inline

Definition at line 43 of file Mutex.h.

Member Function Documentation

bool Mutex::lock ( unsigned int  uiTimeOut = INFINITE)
inline

Returns true if log was successful.

Definition at line 50 of file Mutex.h.

void Mutex::unlock ( )
inline

Definition at line 67 of file Mutex.h.

Member Data Documentation

pthread_mutex_t Mutex::m_hMutex
private

Definition at line 29 of file Mutex.h.


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


cob_utilities
Author(s): Christian Connette
autogenerated on Wed Apr 7 2021 02:11:52