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


Constructor & Destructor Documentation

OmniEvents::WriteLock::WriteLock  )  [inline]
 

Definition at line 240 of file omniEventsLog.h.

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

Definition at line 244 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 251 of file omniEventsLog.h.

ostream& OmniEvents::WriteLock::os
 

Definition at line 249 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(), and ~WriteLock().


The documentation for this class was generated from the following file:
Generated on Mon Jan 9 03:53:07 2006 for OmniEvents by  doxygen 1.4.6