GlobalObjects
|
This class is a global Critical Section and is designed as a Singelton Class. More...
#include <EuGlobalPCriticalSection.h>
Static Public Member Functions | |
static EuGlobalPCriticalSection * | create () |
static int | destroy () |
Protected Member Functions | |
EuGlobalPCriticalSection () | |
virtual | ~EuGlobalPCriticalSection () |
Private Member Functions | |
EuGlobalPCriticalSection (const EuGlobalPCriticalSection &) | |
EuGlobalPCriticalSection & | operator= (const EuGlobalPCriticalSection &) |
Static Private Attributes | |
static EuGlobalPCriticalSection * | m_pInstanz |
static int | ms_iReferenceCounter |
Additional Inherited Members | |
Public Member Functions inherited from EuPCriticalSection | |
EuPCriticalSection () | |
EuPCriticalSection (const EuPCriticalSection &rT) | |
virtual | ~EuPCriticalSection () |
pthread_mutex_t & | getMutex () |
bool | isLocked () const |
int | lock () |
EuPCriticalSection & | operator= (const EuPCriticalSection &rT) |
int | unlock () |
This class is a global Critical Section and is designed as a Singelton Class.
|
protected |
The constructor cannot be called.
|
protectedvirtual |
The destructor cannot be called.
|
private |
The copy constructor is not available.
|
static |
Instantiation function that instantiates the object only once.
|
static |
If there is still at least one reference to the instance of EuGlobalPCriticalSection, it will not be destroyed.
|
private |
The assignment operator is not available.
|
staticprivate |
The only instance of this Singelton Class.
|
staticprivate |