Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

SctApi::Log Class Reference

A logging class, just an ofstream that opens a fixed file. More...

#include <log.h>

Collaboration diagram for SctApi::Log:

Collaboration graph
[legend]

Public Member Functions

 Log (const Sct::UCID &)
 Create file.

 Log (const Sct::UCID &, std::string fname)
 Create file.

 ~Log ()
 Make sure file is saved on exit.

boost::mutex & mutex ()

Private Member Functions

std::string getDefaultFileName () const
void printHeader ()
void printTrailer ()

Private Attributes

boost::mutex m_logMutex
const Sct::UCID m_ucid

Detailed Description

A logging class, just an ofstream that opens a fixed file.

Definition at line 14 of file SctApi/log.h.


Constructor & Destructor Documentation

SctApi::Log::Log const Sct::UCID  ) 
 

Create file.

Definition at line 12 of file log.cxx.

SctApi::Log::Log const Sct::UCID ,
std::string  fname
 

Create file.

Definition at line 20 of file log.cxx.

SctApi::Log::~Log  ) 
 

Make sure file is saved on exit.

Definition at line 39 of file log.cxx.


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 20:19:26 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5