Main Page   Modules   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

GNE::SynchronizedObject Class Reference
[Threading API]

#include <SynchronizedObject.h>

Inheritance diagram for GNE::SynchronizedObject:

GNE::Console::GOut GNE::ConsoleBuffer GNE::Console::TextConsole List of all members.

Public Member Functions

void acquire ()
 Synchronizes on this object.

void release ()
 Releases the lock on this object.


Protected Attributes

Mutex lock

Detailed Description

A class meant to act as a base class for objects who might want an acquire/ release pair of functions tied to a mutex for object-level synchronization.

You can inherit from this class publically to allow for external sources to do locking. Protected inheritance is possible to allow for implicit locking internally, but likely would not be any more useful and declaring a Mutex object.


The documentation for this class was generated from the following file:
Generated on Fri Aug 22 13:40:06 2003 for GNE by doxygen1.3