This class acquires a lock over the object class. More...
#include <ThreadingPolicies.h>
Public Member Functions | |
ClassLevelLockingPolicy () | |
Default constructor. More... | |
ClassLevelLockingPolicy (const Host &host) | |
Constructor to keep the semantics of object-level lock. More... | |
ClassLevelLockingPolicy (const Host *host) | |
Constructor to keep the semantics of object-level lock. More... | |
~ClassLevelLockingPolicy () | |
Destructor. More... | |
Private Member Functions | |
ClassLevelLockingPolicy (const ClassLevelLockingPolicy &) | |
ClassLevelLockingPolicy & | operator= (const ClassLevelLockingPolicy &) |
Private Attributes | |
LockingPolicy | m_lock |
lock policy. More... | |
This class acquires a lock over the object class.
Requirements on type LockingPolicy:
Definition at line 264 of file ThreadingPolicies.h.
|
inlineexplicit |
Default constructor.
Definition at line 269 of file ThreadingPolicies.h.
|
inlineexplicit |
Constructor to keep the semantics of object-level lock.
Definition at line 275 of file ThreadingPolicies.h.
|
inlineexplicit |
Constructor to keep the semantics of object-level lock.
Definition at line 281 of file ThreadingPolicies.h.
|
inline |
Destructor.
Definition at line 287 of file ThreadingPolicies.h.
|
private |
|
private |
|
private |
lock policy.
Definition at line 298 of file ThreadingPolicies.h.