Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clLogFile Class Reference

Log file class. More...

#include <LogFile.hh>

List of all members.

Public Member Functions

 clLogFile ()
 clLogFile (const char *)
 ~clLogFile ()
bool Open (const char *)
 Open logfile.

bool Add (char, const char *)
 Add new entry to logfile.

bool Add (char, const char *, int)
 Add new entry to logfile with errno.

int GetError ()
 Get error code.


Private Member Functions

void Time ()

Private Attributes

bool bOk
int iEC
char cpTime [20]
FILE * FLog


Detailed Description

Log file class.

Definition at line 35 of file LogFile.hh.


Constructor & Destructor Documentation

clLogFile::clLogFile  ) 
 

Definition at line 31 of file LogFile.cc.

References bOk, iEC, and LOGFILE_NOERROR.

clLogFile::clLogFile const char *   ) 
 

Definition at line 38 of file LogFile.cc.

References bOk, iEC, LOGFILE_NOERROR, and Open().

clLogFile::~clLogFile  ) 
 

Definition at line 46 of file LogFile.cc.

References bOk, and FLog.


Member Function Documentation

void clLogFile::Time  )  [private]
 

Definition at line 96 of file LogFile.cc.

References cpTime.

Referenced by Add().

bool clLogFile::Open const char *   ) 
 

Open logfile.

Parameters:
cpLogFile Filename
Returns:
Success

Definition at line 52 of file LogFile.cc.

References bOk, FLog, and iEC.

Referenced by clBeamSrv2Master::clBeamSrv2Master(), clBeamSrvMaster::clBeamSrvMaster(), clComediSrv::clComediSrv(), clLocate::clLocate(), clLogFile(), clSaveSrv::clSaveSrv(), clSoundProxy::clSoundProxy(), clSoundSrv2::clSoundSrv2(), clSoundSrvA::clSoundSrvA(), and clStreamDist::clStreamDist().

bool clLogFile::Add char  ,
const char * 
 

Add new entry to logfile.

Parameters:
cLogMark Mark character
cpLogEntry Entry line
Returns:
Success

Definition at line 69 of file LogFile.cc.

References bOk, cpTime, FLog, and Time().

Referenced by clSoundProxy::AddToLog(), clStreamDist::AudioInThread(), clSoundSrvA::AudioInThread(), clSoundSrv2::AudioInThread(), clComediSrv::AudioInThread(), clBeamSrv2Master::clBeamSrv2Master(), clBeamSrvMaster::clBeamSrvMaster(), clComediSrv::clComediSrv(), clLocate::clLocate(), clSaveSrv::clSaveSrv(), clSoundSrv::clSoundSrv(), clSoundSrv2::clSoundSrv2(), clSoundSrvA::clSoundSrvA(), clStreamDist::clStreamDist(), clUIServer::clUIServer(), clSaveSrv::ConnectStream(), clSaveSrv::CreateFile(), clSaveSrv::CreateFile2(), clSoundSrv::Exec(), clSoundSrvA::GetAudioCfg(), clSoundSrv2::GetAudioCfg(), clComediSrv::GetAudioCfg(), clStreamDist::InitCompress(), clSoundSrvA::InitCompress(), clSoundSrv2::InitCompress(), clComediSrv::InitCompress(), clBeamSrv2Master::InitFilterBank(), clBeamSrvMaster::InitFilterBank(), clSaveSrv::Initialize(), clBeamSrv2Master::InitProcessing(), clBeamSrvMaster::InitProcessing(), clSoundSrv::InputExec(), clStreamDist::Main(), clSoundSrvA::Main(), clSoundSrv2::Main(), clComediSrv::Main(), clBeamSrv2Master::Main(), clBeamSrvMaster::Main(), clSaveSrv::ProcessLoop(), clBeamSrv2Master::ProcessLoop(), clBeamSrvMaster::ProcessLoop(), clSoundSrv::Quit(), clBeamSrv2Master::ReadConfig(), clBeamSrvMaster::ReadConfig(), clBeamSrvMaster::SendInData(), clBeamSrvMaster::SendNodeParams(), clSoundSrv::ServeClientExec(), clStreamDist::ServeClientThread(), clSoundSrvA::ServeClientThread(), clSoundSrv2::ServeClientThread(), clComediSrv::ServeClientThread(), clBeamSrv2Master::ServeClientThread(), clBeamSrvMaster::ServeClientThread(), SigHandler(), clUIServer::Wait(), clSoundSrv::WaitConnectExec(), clBeamSrv2Master::WaitReady(), clBeamSrvMaster::WaitReady(), clSaveSrv::WriteData(), clBeamSrv2Master::~clBeamSrv2Master(), clBeamSrvMaster::~clBeamSrvMaster(), clComediSrv::~clComediSrv(), clLocate::~clLocate(), clSaveSrv::~clSaveSrv(), clSoundSrv::~clSoundSrv(), clSoundSrv2::~clSoundSrv2(), clSoundSrvA::~clSoundSrvA(), clStreamDist::~clStreamDist(), and clUIServer::~clUIServer().

bool clLogFile::Add char  ,
const char *  ,
int 
 

Add new entry to logfile with errno.

Parameters:
cLogMark Mark character
cpLogEntry Entry line
iErrno errno value
Returns:
Success

Definition at line 82 of file LogFile.cc.

References bOk, cpTime, FLog, and Time().

int clLogFile::GetError  )  [inline]
 

Get error code.

Definition at line 73 of file LogFile.hh.

References iEC.

Referenced by clUIServer::clUIServer().


Member Data Documentation

bool clLogFile::bOk [private]
 

Definition at line 37 of file LogFile.hh.

Referenced by Add(), clLogFile(), Open(), and ~clLogFile().

int clLogFile::iEC [private]
 

Definition at line 38 of file LogFile.hh.

Referenced by clLogFile(), GetError(), and Open().

char clLogFile::cpTime[20] [private]
 

Definition at line 39 of file LogFile.hh.

Referenced by Add(), and Time().

FILE* clLogFile::FLog [private]
 

Definition at line 40 of file LogFile.hh.

Referenced by Add(), Open(), and ~clLogFile().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:22 2003 for HASAS by doxygen 1.3.3