Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class 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 Member Functions

 WriteLock ()
 ~WriteLock ()

Public Attributes

ostream & os

Private Member Functions

 WriteLock (const WriteLock &)
 No implementation.

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 242 of file omniEventsLog.h.


Constructor & Destructor Documentation

OmniEvents::WriteLock::WriteLock  )  [inline]
 

Definition at line 245 of file omniEventsLog.h.

OmniEvents::WriteLock::~WriteLock  )  [inline]
 

Definition at line 249 of file omniEventsLog.h.

References OmniEvents::omniEventsLog::_checkpointNeeded, os, and OmniEvents::omniEventsLog::theLog.

OmniEvents::WriteLock::WriteLock const WriteLock  )  [private]
 

No implementation.


Member Data Documentation

omni_mutex_lock OmniEvents::WriteLock::l [private]
 

Definition at line 256 of file omniEventsLog.h.

ostream& OmniEvents::WriteLock::os
 

Definition at line 254 of file omniEventsLog.h.

Referenced by OmniEvents::ProxyPushSupplier_i::callback(), OmniEvents::ProxyPushConsumer_i::Connection::callback(), OmniEvents::ProxyPullSupplier_i::connect_pull_consumer(), OmniEvents::ProxyPullConsumer_i::connect_pull_supplier(), OmniEvents::ProxyPushSupplier_i::connect_push_consumer(), OmniEvents::ProxyPushConsumer_i::connect_push_supplier(), OmniEvents::ProxyPushConsumer_i::disconnect_push_consumer(), OmniEvents::Proxy::eraseKey(), OmniEvents::EventChannel_i::run_undetached(), and ~WriteLock().


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 20:56:16 2005 for OmniEvents by  doxygen 1.4.3-20050530