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