![]() |
MAK Data Logger API Documentation for DIS
|
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. More... | |
| virtual void | run () |
| Start the logger running in a thread. More... | |
| virtual void | stop () |
| Stop the logger. More... | |
| virtual bool | isRunning () const |
| Check to see if the logger is running. More... | |
Public Member Functions inherited from MAKLogger::DtLogger | |
| virtual | ~DtLogger () |
| virtual void | init () |
| , Ticks the logger once. More... | |
| virtual void | registerSimulationProtocol (DtLgrProtocolRegistration *) |
| This method must be called by a simulation plug-in during initialization. More... | |
| virtual const DtLgrProtocolRegistration * | simulationProtocol () const |
| Gets the protocol registration the logger was registered with. More... | |
| virtual bool | tick () |
| Tick the logger once, function is non-blocking. More... | |
| virtual DtRelativeTime | tickTime () const |
| Get the estimated time between ticks. More... | |
| virtual void | setTickTime (DtRelativeTime time) |
| Set the estimated time between tick calls. More... | |
| virtual void | submitCommand (const DtCommand &command) |
| Send a command to the logger to execute. More... | |
| virtual DtLgrCommandHandlerSP | getCommandHandler (const DtLgrCommandType &type) const |
| Lookup the command handler for a specific type of command. More... | |
| virtual const DtLibraryList & | libraries () const |
| Gets the Loaded libraries. More... | |
| virtual DtLgrSimManager * | simManager () |
| Access simulation manager;. More... | |
| DtLgrSystemDriver & | driver () |
| Get system driver. More... | |
Protected Member Functions | |
| virtual void | setRunning (bool flag) |
| Protected method to control the running flag. More... | |
Protected Attributes | |
| volatile bool | myRunningFlag |
| Running flag is used to stop the logger when stop() has been called. More... | |
Protected Attributes inherited from MAKLogger::DtLogger | |
| DtLgrProtocolRegistration * | myRegistration |
| DtLgrSystemDriver * | myDriver |
| The driver which defines the logger executions. More... | |
| DtRelativeTime | myTickTime |
| The time between ticks. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from MAKLogger::DtLogger | |
| static DtRelativeTime | theDefaultTickTime |
| Default tick time. More... | |
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 |
Virtual constructor.
DTOR
|
virtual |
Check to see if the logger is running.
|
virtual |
Start the logger running in a thread.
|
protectedvirtual |
Protected method to control the running flag.
|
virtual |
Stop the logger.
|
protected |
Running flag is used to stop the logger when stop() has been called.