CMessage Class Reference
#include <Message.h>
List of all members.
Public Member Functions |
| | CMessage (const CMessage &clMessage) |
| | CMessage (char *pcClassName, int iDebugLevel=0, bool bDebug=true, bool bDebugFile=false) |
| | CMessage (void) |
| void | debug (const int iDebugLevel, const char *pcDebugMessage,...) const |
| void | error (const char *pcErrorMessage,...) const |
| void | error (const int iErrorCode, const char *pcErrorMessage,...) const |
| int | getDebugLevel () const |
| int | initMessage (char *pcClassName, int iDebuglevel=0, bool bDebug=true, bool bDebugFile=false) |
| void | logging (const char *pcLoggingMessage,...) |
| CMessage & | operator= (const CMessage &clMessage) |
| void | setDebug (bool bFlag) |
| void | setDebugFile (bool bFlag) |
| void | setDebugLevel (int iLevel) |
| void | setInitTime (void) |
| void | warning (const char *pcWarningMessage,...) const |
| virtual | ~CMessage (void) |
Static Public Member Functions |
| static void | setCriticalSection (CRITICAL_SECTION *cs) |
Protected Attributes |
| char | m_acClassName [50] |
| bool | m_bDebug |
| bool | m_bDebugFile |
| int | m_iDebugLevel |
Static Protected Attributes |
| static double | m_fInitTime |
Static Private Attributes |
| static CRITICAL_SECTION * | m_csMessage = NULL |
Detailed Description
Definition at line 77 of file Message.h.
Constructor & Destructor Documentation
| CMessage::CMessage |
( |
void |
|
) |
|
| CMessage::CMessage |
( |
char * |
pcClassName, |
|
|
int |
iDebugLevel = 0, |
|
|
bool |
bDebug = true, |
|
|
bool |
bDebugFile = false | |
|
) |
| | |
| CMessage::CMessage |
( |
const CMessage & |
clMessage |
) |
|
| CMessage::~CMessage |
( |
void |
|
) |
[virtual] |
Member Function Documentation
| void CMessage::debug |
( |
const int |
iDebugLevel, |
|
|
const char * |
pcDebugMessage, |
|
|
|
... | |
|
) |
| | const |
| void CMessage::error |
( |
const char * |
pcErrorMessage, |
|
|
|
... | |
|
) |
| | const |
| void CMessage::error |
( |
const int |
iErrorCode, |
|
|
const char * |
pcErrorMessage, |
|
|
|
... | |
|
) |
| | const |
| int CMessage::getDebugLevel |
( |
|
) |
const |
| int CMessage::initMessage |
( |
char * |
pcClassName, |
|
|
int |
iDebuglevel = 0, |
|
|
bool |
bDebug = true, |
|
|
bool |
bDebugFile = false | |
|
) |
| | |
| void CMessage::logging |
( |
const char * |
pcLoggingMessage, |
|
|
|
... | |
|
) |
| | |
| void CMessage::setCriticalSection |
( |
CRITICAL_SECTION * |
cs |
) |
[static] |
| void CMessage::setDebug |
( |
bool |
bFlag |
) |
|
| void CMessage::setDebugFile |
( |
bool |
bFlag |
) |
|
| void CMessage::setDebugLevel |
( |
int |
iLevel |
) |
|
| void CMessage::setInitTime |
( |
void |
|
) |
|
| void CMessage::warning |
( |
const char * |
pcWarningMessage, |
|
|
|
... | |
|
) |
| | const |
Member Data Documentation
The documentation for this class was generated from the following files: