OmniEvents
|
Obtains an output stream to the active persistancy logfile, and locks it for exclusive access. More...
#include <omniEventsLog.h>
Public Member Functions | |
WriteLock () | |
~WriteLock () | |
Public Attributes | |
ostream & | os |
Private Member Functions | |
WriteLock (const WriteLock &) | |
No implementation. | |
Private Attributes | |
omni_mutex_lock | l |
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.
|
inline |
Definition at line 245 of file omniEventsLog.h.
|
inline |
Definition at line 249 of file omniEventsLog.h.
References OmniEvents::omniEventsLog::_checkpointNeeded, os, and OmniEvents::omniEventsLog::theLog.
|
private |
Definition at line 256 of file omniEventsLog.h.
ostream& OmniEvents::WriteLock::os |
Definition at line 254 of file omniEventsLog.h.
Referenced by OmniEvents::ProxyPushConsumer_i::Connection::callback(), OmniEvents::ProxyPushSupplier_i::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().