Public Member Functions | Protected Member Functions | Protected Attributes
CStdStringbuf Class Reference

#include <StdLog.h>

List of all members.

Public Member Functions

 CStdStringbuf (pthread_mutex_t *globalLogLock=NULL)
void enableConsoleOutput (bool bEnabled)
void enableFileOutput (bool bEnabled, const std::string &filename="")
void enableTimeStamping (bool enabled)
void flushFileOutput ()
std::string & headerText ()
void setHeaderColor (int headerColor)
void setHeaderText (const std::string &headerText)
void setMessageColor (int messageColor)
void setSystemHeader (const std::string &text)
 ~CStdStringbuf ()

Protected Member Functions

virtual int sync ()

Protected Attributes

FILE * mFileOut
pthread_mutex_t * mGlobalLogLock
int mHeaderColor
std::string mHeaderText
int mMessageColor
bool mOutputToConsole
bool mOutputToFile
std::string mSystemHeader
bool mTimeStamping

Detailed Description

Definition at line 30 of file StdLog.h.


Constructor & Destructor Documentation

CStdStringbuf::CStdStringbuf ( pthread_mutex_t *  globalLogLock = NULL) [inline]

Definition at line 152 of file StdLog.h.

Definition at line 166 of file StdLog.h.


Member Function Documentation

void CStdStringbuf::enableConsoleOutput ( bool  bEnabled) [inline]

Definition at line 175 of file StdLog.h.

void CStdStringbuf::enableFileOutput ( bool  bEnabled,
const std::string &  filename = "" 
) [inline]

Definition at line 176 of file StdLog.h.

void CStdStringbuf::enableTimeStamping ( bool  enabled) [inline]

Definition at line 216 of file StdLog.h.

void CStdStringbuf::flushFileOutput ( ) [inline]

Definition at line 210 of file StdLog.h.

std::string& CStdStringbuf::headerText ( ) [inline]

Definition at line 218 of file StdLog.h.

void CStdStringbuf::setHeaderColor ( int  headerColor) [inline]

Definition at line 219 of file StdLog.h.

void CStdStringbuf::setHeaderText ( const std::string &  headerText) [inline]

Definition at line 217 of file StdLog.h.

void CStdStringbuf::setMessageColor ( int  messageColor) [inline]

Definition at line 220 of file StdLog.h.

void CStdStringbuf::setSystemHeader ( const std::string &  text) [inline]

Definition at line 221 of file StdLog.h.

virtual int CStdStringbuf::sync ( ) [inline, protected, virtual]

Definition at line 47 of file StdLog.h.


Member Data Documentation

FILE* CStdStringbuf::mFileOut [protected]

Definition at line 41 of file StdLog.h.

pthread_mutex_t* CStdStringbuf::mGlobalLogLock [protected]

Definition at line 33 of file StdLog.h.

int CStdStringbuf::mHeaderColor [protected]

Definition at line 39 of file StdLog.h.

std::string CStdStringbuf::mHeaderText [protected]

Definition at line 37 of file StdLog.h.

Definition at line 40 of file StdLog.h.

Definition at line 34 of file StdLog.h.

bool CStdStringbuf::mOutputToFile [protected]

Definition at line 35 of file StdLog.h.

std::string CStdStringbuf::mSystemHeader [protected]

Definition at line 38 of file StdLog.h.

bool CStdStringbuf::mTimeStamping [protected]

Definition at line 36 of file StdLog.h.


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


threemxl
Author(s):
autogenerated on Thu Jun 6 2019 21:10:52