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 (const 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 (const 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 46 of file Message.h.


Constructor & Destructor Documentation

CMessage::CMessage ( void  )

Definition at line 39 of file Message.cpp.

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

Definition at line 44 of file Message.cpp.

CMessage::CMessage ( const CMessage clMessage)

Definition at line 49 of file Message.cpp.

CMessage::~CMessage ( void  ) [virtual]

Definition at line 54 of file Message.cpp.


Member Function Documentation

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

Definition at line 332 of file Message.cpp.

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

Definition at line 204 of file Message.cpp.

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

Definition at line 151 of file Message.cpp.

int CMessage::getDebugLevel ( ) const

Definition at line 79 of file Message.cpp.

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

Definition at line 90 of file Message.cpp.

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

Definition at line 313 of file Message.cpp.

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

Definition at line 64 of file Message.cpp.

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

Definition at line 134 of file Message.cpp.

void CMessage::setDebug ( bool  bFlag)

Definition at line 124 of file Message.cpp.

void CMessage::setDebugFile ( bool  bFlag)

Definition at line 129 of file Message.cpp.

void CMessage::setDebugLevel ( int  iLevel)

Definition at line 119 of file Message.cpp.

void CMessage::setInitTime ( void  )

Definition at line 99 of file Message.cpp.

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

Definition at line 257 of file Message.cpp.


Member Data Documentation

char CMessage::m_acClassName[50] [protected]

Definition at line 59 of file Message.h.

bool CMessage::m_bDebug [protected]

Definition at line 60 of file Message.h.

bool CMessage::m_bDebugFile [protected]

Definition at line 61 of file Message.h.

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

Definition at line 53 of file Message.h.

double CMessage::m_fInitTime [static, protected]

Definition at line 63 of file Message.h.

int CMessage::m_iDebugLevel [protected]

Definition at line 62 of file Message.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Sat Jun 8 2019 20:25:13