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.