![]() |
MAK Data Logger API Documentation for DIS
|
The base class to help simulation input. More...
Inheritance diagram for MAKLogger::DtLgrSimInput:
Collaboration diagram for MAKLogger::DtLgrSimInput:Public Member Functions | |
| virtual | ~DtLgrSimInput () |
| DTOR to clean up any resources. | |
| virtual void | activate () |
| Activate the input. | |
| virtual void | activateImplementation ()=0 |
| Perform protocol-specific activation. | |
| virtual bool | isActivated () const |
| Get whether the output is active. | |
| virtual void | deactivate () |
| Activate the input. | |
| virtual void | deactivateImplementation ()=0 |
| Perform protocol-specific activation. | |
| virtual void | getNextMessages (DtMessageBuffer &) |
| Get the next messages received. | |
| virtual void | dropNextMessages () |
| Called to drop messages from the current read operation. | |
| virtual bool | receivedPackets () |
| Have you received packets since last call. | |
| virtual void | disconnecting ()=0 |
| Called if simulation is disconnecting. | |
| virtual DtLgrEntityTracker * | entityTracker () |
| virtual void | initializeTracker (DtLgrBaseSimManager *manager) |
Protected Member Functions | |
| DtLgrSimInput (DtLgrSimManager &manager) | |
| CTOR is protected since sub class will be the final object. | |
| virtual DtPacket * | createPacket (size_t size, DtPacket::DtPacketType type) |
| Creates an empty packet suitable for writing data into. The packet also is added to an internal buffer. | |
| virtual void | receivePacket (DtPacket *packet) |
| Called internally to add a packet to a receive buffer. | |
| virtual void | filterPacket (DtPacket *packet) |
| Filter. | |
Protected Attributes | |
| bool | myReceivePacketsFlag |
| DtMessageBuffer * | myReceiveBuffer |
| DtSmartBuffer * | mySmartBuffer |
| DtLgrSimManager & | myManager |
| bool | myActivateFlag |
Static Protected Attributes | |
| static const int | theSmartBufferSize = 65536 |
The base class to help simulation input.
|
virtual |
DTOR to clean up any resources.
|
protected |
CTOR is protected since sub class will be the final object.
|
virtual |
Activate the input.
Implements MAKLogger::DtMessageInput.
|
pure virtual |
Perform protocol-specific activation.
Implemented in MAKLogger::DtLgrDisSimInput.
|
protectedvirtual |
Creates an empty packet suitable for writing data into. The packet also is added to an internal buffer.
|
virtual |
Activate the input.
Implements MAKLogger::DtMessageInput.
|
pure virtual |
Perform protocol-specific activation.
Implemented in MAKLogger::DtLgrDisSimInput.
|
pure virtual |
Called if simulation is disconnecting.
Implemented in MAKLogger::DtLgrDisSimInput.
|
virtual |
Called to drop messages from the current read operation.
Implements MAKLogger::DtMessageInput.
|
virtual |
|
protectedvirtual |
Filter.
|
virtual |
Get the next messages received.
Implements MAKLogger::DtMessageInput.
|
virtual |
|
virtual |
Get whether the output is active.
|
virtual |
Have you received packets since last call.
|
protectedvirtual |
Called internally to add a packet to a receive buffer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |