Public Member Functions | Protected Attributes | List of all members
CStopWatch Class Reference

#include <StopWatch.h>

Inheritance diagram for CStopWatch:
Inheritance graph
[legend]

Public Member Functions

void cont ()
 
 CStopWatch ()
 
 CStopWatch (util_TimeMeasurementType iTimeType)
 
 CStopWatch (const CStopWatch &)
 
void date (char *acDate) const
 
double executionTime ()
 
CStopWatchoperator= (const CStopWatch &)
 
double realTime ()
 
double realTimeResolution ()
 
void start ()
 
void stop ()
 
void testOverflow ()
 
util_TimeMeasurementType timeType () const
 
void timeType (const util_TimeMeasurementType &riTimeType)
 
void wait (unsigned int uiTime)
 
void weekday (char *acWeekday) const
 
- Public Member Functions inherited from CMessage
 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)
 

Protected Attributes

timeval m_ActualTime
 
bool m_bStartFlag
 
bool m_bStopFlag
 
timeval m_FirstTime
 
double m_fOverflowTime
 
long m_iFirst
 
long m_iLast
 
util_TimeMeasurementType m_iTimeType
 
timeval m_LastTime
 
timeval m_TempTime
 
- Protected Attributes inherited from CMessage
char m_acClassName [50]
 
bool m_bDebug
 
bool m_bDebugFile
 
int m_iDebugLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from CMessage
static void setCriticalSection (CRITICAL_SECTION *cs)
 
- Static Protected Attributes inherited from CMessage
static double m_fInitTime
 

Detailed Description

Definition at line 40 of file StopWatch.h.

Constructor & Destructor Documentation

CStopWatch::CStopWatch ( )

Definition at line 38 of file StopWatch.cpp.

CStopWatch::CStopWatch ( util_TimeMeasurementType  iTimeType)

Definition at line 81 of file StopWatch.cpp.

CStopWatch::CStopWatch ( const CStopWatch )

Definition at line 124 of file StopWatch.cpp.

Member Function Documentation

void CStopWatch::cont ( )

Definition at line 268 of file StopWatch.cpp.

void CStopWatch::date ( char *  acDate) const

Definition at line 379 of file StopWatch.cpp.

double CStopWatch::executionTime ( )

Definition at line 166 of file StopWatch.cpp.

CStopWatch & CStopWatch::operator= ( const CStopWatch )

Definition at line 135 of file StopWatch.cpp.

double CStopWatch::realTime ( )

Definition at line 299 of file StopWatch.cpp.

double CStopWatch::realTimeResolution ( )

Definition at line 315 of file StopWatch.cpp.

void CStopWatch::start ( )

Definition at line 211 of file StopWatch.cpp.

void CStopWatch::stop ( )

Definition at line 236 of file StopWatch.cpp.

void CStopWatch::testOverflow ( )

Definition at line 422 of file StopWatch.cpp.

util_TimeMeasurementType CStopWatch::timeType ( ) const
inline

Definition at line 146 of file StopWatch.h.

void CStopWatch::timeType ( const util_TimeMeasurementType riTimeType)
inline

Definition at line 151 of file StopWatch.h.

void CStopWatch::wait ( unsigned int  uiTime)

Definition at line 333 of file StopWatch.cpp.

void CStopWatch::weekday ( char *  acWeekday) const

Definition at line 400 of file StopWatch.cpp.

Member Data Documentation

timeval CStopWatch::m_ActualTime
protected

Definition at line 66 of file StopWatch.h.

bool CStopWatch::m_bStartFlag
protected

Definition at line 69 of file StopWatch.h.

bool CStopWatch::m_bStopFlag
protected

Definition at line 70 of file StopWatch.h.

timeval CStopWatch::m_FirstTime
protected

Definition at line 63 of file StopWatch.h.

double CStopWatch::m_fOverflowTime
protected

Definition at line 49 of file StopWatch.h.

long CStopWatch::m_iFirst
protected

Definition at line 47 of file StopWatch.h.

long CStopWatch::m_iLast
protected

Definition at line 48 of file StopWatch.h.

util_TimeMeasurementType CStopWatch::m_iTimeType
protected

Definition at line 72 of file StopWatch.h.

timeval CStopWatch::m_LastTime
protected

Definition at line 64 of file StopWatch.h.

timeval CStopWatch::m_TempTime
protected

Definition at line 65 of file StopWatch.h.


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


schunk_libm5api
Author(s): Florian Weisshardt
autogenerated on Mon Nov 25 2019 03:48:19