Celartem::Lockable Class Reference

#include <cel_lockable.h>

Inheritance diagram for Celartem::Lockable:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void lock () const =0
virtual void unlock () const =0


Detailed Description

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.
See also:
Locker, Mutex, Semaphore

Definition at line 25 of file cel_lockable.h.


Member Function Documentation

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::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::MemoryData, Celartem::NullStream, Celartem::ByteCounterStream, Celartem::PartialStream, Celartem::Semaphore, Celartem::Mutex, and Celartem::NamedMutex.

Referenced by Celartem::Locker::unlock().


The documentation for this class was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:17 2008.