Public Member Functions | Protected Member Functions | Protected Attributes
MAKLogger::DtThreadedLogger Class Reference

Provides an instance of DtLogger which can be run from a thread. More...

+ Inheritance diagram for MAKLogger::DtThreadedLogger:
+ Collaboration diagram for MAKLogger::DtThreadedLogger:

List of all members.

Public Member Functions

virtual ~DtThreadedLogger ()
 Virtual constructor.
virtual void run ()
 Start the logger running in a thread.
virtual void stop ()
 Stop the logger.
virtual bool isRunning () const
 Check to see if the logger is running.

Protected Member Functions

virtual void setRunning (bool flag)
 Protected method to control the running flag.

Protected Attributes

volatile bool myRunningFlag
 Running flag is used to stop the logger when stop() has been called.

Detailed Description

Provides an instance of DtLogger which can be run from a thread.

An instance of this class is created by the DtLoggerApplication and serves as the main interface into the logging thread.


Constructor & Destructor Documentation

virtual MAKLogger::DtThreadedLogger::~DtThreadedLogger ( ) [virtual]

Virtual constructor.

DTOR


Member Data Documentation

volatile bool MAKLogger::DtThreadedLogger::myRunningFlag [protected]

Running flag is used to stop the logger when stop() has been called.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)