ParCompMark::DummyLock Class Reference
#include <PCMDummyLock.h>
Inheritance diagram for ParCompMark::DummyLock:


Detailed Description
Dummy lock implementing the Lock interface.Does not do anything. The DummyLock can always be locked.
Definition at line 48 of file PCMDummyLock.h.
Public Member Functions | |
Constructors & destructor | |
| virtual | ~DummyLock () |
| The destructor. | |
Methods | |
| virtual void | lock () |
| Lock the lock. | |
| virtual bool | trylock () |
| Try locking the lock. | |
| virtual void | unlock () |
| Unlock the lock. | |
Constructor & Destructor Documentation
| ParCompMark::DummyLock::~DummyLock | ( | ) | [inline, virtual] |
Member Function Documentation
| void ParCompMark::DummyLock::lock | ( | ) | [inline, virtual] |
Lock the lock.
Does not do anything.
Implements ParCompMark::Lock.
Definition at line 149 of file PCMDummyLock.h.
| bool ParCompMark::DummyLock::trylock | ( | ) | [inline, virtual] |
Try locking the lock.
Does not do anything. Always return true.
- Returns:
- True if the locking was successful. Always true.
Implements ParCompMark::Lock.
Definition at line 157 of file PCMDummyLock.h.
| void ParCompMark::DummyLock::unlock | ( | ) | [inline, virtual] |
Unlock the lock.
Does not do anything.
Implements ParCompMark::Lock.
Definition at line 166 of file PCMDummyLock.h.
The documentation for this class was generated from the following file: