![]() |
MAK Data Logger API Documentation for DIS
|
DtLogger provides the core system structure and controls the execution model for the underlying objects. More...
Inheritance diagram for MAKLogger::DtLogger:
Collaboration diagram for MAKLogger::DtLogger:Public Member Functions | |
| 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 Attributes | |
| DtLgrProtocolRegistration * | myRegistration |
| DtLgrSystemDriver * | myDriver |
| The driver which defines the logger executions. More... | |
| DtRelativeTime | myTickTime |
| The time between ticks. More... | |
Static Protected Attributes | |
| static DtRelativeTime | theDefaultTickTime |
| Default tick time. More... | |
DtLogger provides the core system structure and controls the execution model for the underlying objects.
|
virtual |
| DtLgrSystemDriver& MAKLogger::DtLogger::driver | ( | ) |
Get system driver.
|
virtual |
Lookup the command handler for a specific type of command.
|
virtual |
, Ticks the logger once.
And ensures that the logger is in a valid state after the tick. Startup commands should be submitted before init. Init will throw if the logger is not in a valid state. Possible examples of invalid states include no simulation components loaded.
Reimplemented in MAKLogger::DtDisLogger.
|
virtual |
Gets the Loaded libraries.
|
virtual |
This method must be called by a simulation plug-in during initialization.
Additional calls may be made during initialization however once initialization is complete further calls will have no effect on the logger.
|
virtual |
Set the estimated time between tick calls.
|
virtual |
Access simulation manager;.
|
virtual |
Gets the protocol registration the logger was registered with.
|
virtual |
Send a command to the logger to execute.
| Input | |
| command | The logger command to be executed. |
|
virtual |
Tick the logger once, function is non-blocking.
This causes the logger to tick for one round of execution. Typically an application will have a loop where it ticks the logger.
| true | The logger can still tick. |
| false | The logger should exit. |
Reimplemented in MAKLogger::DtDisLogger.
|
virtual |
Get the estimated time between ticks.
|
protected |
The driver which defines the logger executions.
The logger is responsible for executing the driver.
|
protected |
|
protected |
The time between ticks.
|
staticprotected |
Default tick time.