Public Member Functions | Private Member Functions | Private Attributes

cmn_SemaphoreLock Class Reference
[Common, basic classes, functions and types]

#include <thread.h>

Collaboration diagram for cmn_SemaphoreLock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 cmn_SemaphoreLock (cmn_Semaphore &a_sem)
 ~cmn_SemaphoreLock ()

Private Member Functions

 cmn_SemaphoreLock (const cmn_SemaphoreLock &)
cmn_SemaphoreLockoperator= (const cmn_SemaphoreLock &)

Private Attributes

cmn_Semaphorem_sem
 log_CLASSID_m

Detailed Description

Definition at line 180 of file thread.h.


Constructor & Destructor Documentation

cmn_SemaphoreLock::cmn_SemaphoreLock ( cmn_Semaphore a_sem  )  [inline]

Definition at line 183 of file thread.h.

                                            : m_sem(a_sem) {
        m_sem.Wait();
    };

cmn_SemaphoreLock::~cmn_SemaphoreLock (  )  [inline]

Definition at line 187 of file thread.h.

                         { 
        m_sem.Post(); 
    };

cmn_SemaphoreLock::cmn_SemaphoreLock ( const cmn_SemaphoreLock  )  [private]

Member Function Documentation

cmn_SemaphoreLock& cmn_SemaphoreLock::operator= ( const cmn_SemaphoreLock  )  [private]

Member Data Documentation

Definition at line 196 of file thread.h.

Definition at line 181 of file thread.h.


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