Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

OmniEvents::WriteLock Class Reference

Obtains an output stream to the active persistancy logfile, and locks it for exclusive access. More...

#include <omniEventsLog.h>

List of all members.

Public Methods

 WriteLock ()
 ~WriteLock ()

Public Attributes

ostream & os

Private Methods

 WriteLock (const WriteLock &)
 No implementation. More...


Private Attributes

omni_mutex_lock l


Detailed Description

Obtains an output stream to the active persistancy logfile, and locks it for exclusive access.

The lock is released when the object is destructed.

Definition at line 228 of file omniEventsLog.h.


Constructor & Destructor Documentation

OmniEvents::WriteLock::WriteLock   [inline]
 

Definition at line 231 of file omniEventsLog.h.

References l, and os.

OmniEvents::WriteLock::~WriteLock   [inline]
 

Definition at line 235 of file omniEventsLog.h.

References os.

OmniEvents::WriteLock::WriteLock const WriteLock &    [private]
 

No implementation.


Member Data Documentation

omni_mutex_lock OmniEvents::WriteLock::l [private]
 

Definition at line 242 of file omniEventsLog.h.

Referenced by WriteLock().

ostream& OmniEvents::WriteLock::os
 

Definition at line 240 of file omniEventsLog.h.

Referenced by OmniEvents::ProxyPushConsumer_i::disconnect_push_consumer(), OmniEvents::Proxy::eraseKey(), OmniEvents::EventChannel_i::run(), WriteLock(), and ~WriteLock().


The documentation for this class was generated from the following file:
Generated on Fri Nov 19 17:42:37 2004 for OmniEvents by doxygen1.2.15