![]() |
MAK Data Logger API Documentation for DIS
|
DtDISLogger is a DIS interface for creating a logger. More...
Inheritance diagram for MAKLogger::DtDisLogger:
Collaboration diagram for MAKLogger::DtDisLogger:Public Member Functions | |
| virtual | ~DtDisLogger () |
| Creates a DIS Logger and optionally initializes it. More... | |
| virtual void | init () |
| Init the Dis Logger. More... | |
| virtual void | setNetmask (const DtString &netmaskString) |
| Temporary workaround for connection netmask parameter that is missing from exercise connection initializer. More... | |
| virtual const DtString & | netmask () const |
| Netmask that has been set (default is empty string). More... | |
| void | connect (DtExerciseConnInitializer &exConnInit) |
| Tell the logger to connect using an Exercise Connection Initializer. More... | |
| virtual bool | tick () |
| Tick the logger once, function is non-blocking. More... | |
Public Member Functions inherited from MAKLogger::DtLogger | |
| virtual | ~DtLogger () |
| 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 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 | |
| DtDisLogger () | |
| Protected CTOR. More... | |
Protected Attributes | |
| DtLgrDisSimInterface * | mySimInterface |
| DtString | myNetmask |
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... | |
DtDISLogger is a DIS interface for creating a logger.
Automatically registers the DIS protocol with the logger and provides helper functions.
|
virtual |
Creates a DIS Logger and optionally initializes it.
After initialization no additional drivers may be added. Destructor for the logger.
|
protected |
Protected CTOR.
| DtCorruptedState | is thrown when unable to construct logger. |
| void MAKLogger::DtDisLogger::connect | ( | DtExerciseConnInitializer & | exConnInit | ) |
Tell the logger to connect using an Exercise Connection Initializer.
|
virtual |
Init the Dis Logger.
Calls base init, then creates sim interface.
| DtCorruptedState |
Reimplemented from MAKLogger::DtLogger.
|
virtual |
Netmask that has been set (default is empty string).
|
virtual |
Temporary workaround for connection netmask parameter that is missing from exercise connection initializer.
|
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 from MAKLogger::DtLogger.
|
protected |
|
protected |