Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Static Private Attributes
CMessage Class Reference

#include <Message.h>

Inheritance diagram for CMessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CMessage (void)
 CMessage (char *pcClassName, int iDebugLevel=0, bool bDebug=true, bool bDebugFile=false)
 CMessage (const CMessage &clMessage)
void debug (const int iDebugLevel, const char *pcDebugMessage,...) const
void error (const int iErrorCode, const char *pcErrorMessage,...) const
void error (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,...)
CMessageoperator= (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  )

Definition at line 70 of file Message.cpp.

CMessage::CMessage ( char *  pcClassName,
int  iDebugLevel = 0,
bool  bDebug = true,
bool  bDebugFile = false 
)

Definition at line 75 of file Message.cpp.

CMessage::CMessage ( const CMessage clMessage)

Definition at line 80 of file Message.cpp.

CMessage::~CMessage ( void  ) [virtual]

Definition at line 85 of file Message.cpp.


Member Function Documentation

void CMessage::debug ( const int  iDebugLevel,
const char *  pcDebugMessage,
  ... 
) const

Definition at line 363 of file Message.cpp.

void CMessage::error ( const int  iErrorCode,
const char *  pcErrorMessage,
  ... 
) const

Definition at line 235 of file Message.cpp.

void CMessage::error ( const char *  pcErrorMessage,
  ... 
) const

Definition at line 182 of file Message.cpp.

int CMessage::getDebugLevel ( ) const

Definition at line 110 of file Message.cpp.

int CMessage::initMessage ( char *  pcClassName,
int  iDebuglevel = 0,
bool  bDebug = true,
bool  bDebugFile = false 
)

Definition at line 121 of file Message.cpp.

void CMessage::logging ( const char *  pcLoggingMessage,
  ... 
)

Definition at line 344 of file Message.cpp.

CMessage & CMessage::operator= ( const CMessage clMessage)

Definition at line 95 of file Message.cpp.

void CMessage::setCriticalSection ( CRITICAL_SECTION *  cs) [static]

Definition at line 165 of file Message.cpp.

void CMessage::setDebug ( bool  bFlag)

Definition at line 155 of file Message.cpp.

void CMessage::setDebugFile ( bool  bFlag)

Definition at line 160 of file Message.cpp.

void CMessage::setDebugLevel ( int  iLevel)

Definition at line 150 of file Message.cpp.

void CMessage::setInitTime ( void  )

Definition at line 130 of file Message.cpp.

void CMessage::warning ( const char *  pcWarningMessage,
  ... 
) const

Definition at line 288 of file Message.cpp.


Member Data Documentation

char CMessage::m_acClassName[50] [protected]

Definition at line 90 of file Message.h.

bool CMessage::m_bDebug [protected]

Definition at line 91 of file Message.h.

bool CMessage::m_bDebugFile [protected]

Definition at line 92 of file Message.h.

CRITICAL_SECTION * CMessage::m_csMessage = NULL [static, private]

Definition at line 84 of file Message.h.

double CMessage::m_fInitTime [static, protected]

Definition at line 94 of file Message.h.

int CMessage::m_iDebugLevel [protected]

Definition at line 93 of file Message.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Mon Oct 6 2014 07:30:34