OmniEvents
OmniEvents::WriteLock Class Reference

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

Constructor & Destructor Documentation

◆ WriteLock() [1/2]

OmniEvents::WriteLock::WriteLock ( )
inline

Definition at line 245 of file omniEventsLog.h.

◆ ~WriteLock()

OmniEvents::WriteLock::~WriteLock ( )
inline

Definition at line 249 of file omniEventsLog.h.

◆ WriteLock() [2/2]

OmniEvents::WriteLock::WriteLock ( const WriteLock )
private

No implementation.

Member Data Documentation

◆ l

omni_mutex_lock OmniEvents::WriteLock::l
private

Definition at line 256 of file omniEventsLog.h.

◆ os


The documentation for this class was generated from the following file: