#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.
|
pure virtual |
The actual meanings of this method is defined in the derived class.
Implemented in Celartem::PartialStream, Celartem::ByteCounterStream, Celartem::NullStream, Celartem::DjVu::Chunk, Celartem::DjVu::MemoryData, Celartem::NamedMutex, Celartem::DjVu::StorageData, Celartem::Mutex, Celartem::Semaphore, and Celartem::DjVu::Data.
|
pure virtual |
The actual meanings of this method is defined in the derived class.
Implemented in Celartem::PartialStream, Celartem::ByteCounterStream, Celartem::NullStream, Celartem::DjVu::Chunk, Celartem::DjVu::MemoryData, Celartem::NamedMutex, Celartem::DjVu::StorageData, Celartem::Mutex, Celartem::Semaphore, and Celartem::DjVu::Data.
Referenced by Celartem::Locker::unlock().