#include <cel_lockable.h>

Public Member Functions | |
| virtual void | lock () const =0 |
| virtual void | unlock () const =0 |
Base class for lockable objects. Lockable class provides the standard interfaces; lock and unlock.
For exception-safe programming, you should not call lock and unlock directly on your code. You had better use Locker class.
| virtual void Celartem::Lockable::lock | ( | ) | const [pure virtual] |
The actual meanings of this method is defined in the derived class.
Implemented in Celartem::DjVu::Chunk, Celartem::DjVu::Data, Celartem::DjVu::StorageData, Celartem::DjVu::MemoryData, Celartem::NullStream, Celartem::ByteCounterStream, Celartem::PartialStream, Celartem::Semaphore, Celartem::Mutex, and Celartem::NamedMutex.
| virtual void Celartem::Lockable::unlock | ( | ) | const [pure virtual] |
The actual meanings of this method is defined in the derived class.
Implemented in Celartem::DjVu::Chunk, Celartem::DjVu::Data, Celartem::DjVu::StorageData, Celartem::DjVu::MemoryData, Celartem::NullStream, Celartem::ByteCounterStream, Celartem::PartialStream, Celartem::Semaphore, Celartem::Mutex, and Celartem::NamedMutex.
Referenced by Celartem::Locker::unlock().