Provides an instance of DtLogger which can be run from a thread. More...
Inheritance diagram for MAKLogger::DtThreadedLogger:
Collaboration diagram for MAKLogger::DtThreadedLogger: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. | |
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.
| virtual MAKLogger::DtThreadedLogger::~DtThreadedLogger | ( | ) | [virtual] |
Virtual constructor.
DTOR
volatile bool MAKLogger::DtThreadedLogger::myRunningFlag [protected] |
Running flag is used to stop the logger when stop() has been called.