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

Log::Log const Sct::UCID  ) 
 

Create file.

Definition at line 12 of file log.cxx.

References getDefaultFileName(), and printHeader().

Here is the call graph for this function:

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

Create file.

Definition at line 20 of file log.cxx.

References printHeader().

Here is the call graph for this function:

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 Mon Feb 6 14:04:34 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6