![]() |
MAK Data Logger API Documentation for DIS
|
DIS simulation output. More...
Inheritance diagram for MAKLogger::DtLgrDisSimOutput:
Collaboration diagram for MAKLogger::DtLgrDisSimOutput:Public Member Functions | |
| virtual | ~DtLgrDisSimOutput () |
| virtual DtLgrSimOutput::PacketSenderType | packetSenderType (const DtPacket &) const |
| Return the packet sender type of the specified packet. More... | |
| virtual void | disconnecting () |
| Called when the connection is being lost. More... | |
| virtual void | activateImplementation () |
| Active the implementation of SimOutput. More... | |
| virtual void | deactivateImplementation () |
| Deactivate implementation of SimOutput. More... | |
| virtual const DtMessageIOInfo * | info () const |
| Return the output's ioinfo. More... | |
| virtual void | flush () |
| Flush output, called after all outputs are finish for a time step. More... | |
| virtual void | setOutputScaling (double scaling, bool enableStatic, bool isPaused=false) |
| Set an output scaling value and static indicator. More... | |
| virtual void | filterMessage (DtPacket *packet) |
| Apply filter flags to message buffer. More... | |
| virtual void | removeEntity (const DtString &name) |
| virtual void | removeEntity (DtPduKind kind, DtObjectId id) |
| virtual void | removeEntity (DtConstLgrDisMessage &) |
| virtual DtExerciseConn * | exerciseConn () |
| The manager's exercise connection. More... | |
| virtual const DtExerciseConn * | exerciseConn () const |
| The manager's exercise connection const. More... | |
| virtual void | setExConnSimTime (DtTime time) |
| Set/Get the exercise connection simTime. More... | |
| virtual DtTime | exConnSimTime () const |
| Set/Get the exercise connection simTime. More... | |
Public Member Functions inherited from MAKLogger::DtLgrSimOutput | |
| DtLgrSimOutput (DtLgrSimManager &manager) | |
| CTOR. More... | |
| virtual | ~DtLgrSimOutput () |
| DTOR. More... | |
| virtual void | activate (const DtMessageInput *msgInput) |
| Activate the output. More... | |
| virtual bool | isActivated () const |
| Get whether the output is active. More... | |
| virtual void | deactivate () |
| Deactivate the output. More... | |
| virtual bool | outputPacket (const DtPacket &packet) |
| Apply filter flags to message buffer. More... | |
| virtual void | filterMessageAllowingCheckpoints (DtPacket *packet) |
| Apply filter flags to message buffer, allowing checkpoints. More... | |
| virtual bool | sentPackets () |
| Has the output sent packets since last call to sentPackets. More... | |
| virtual bool | isDynamicMetaData (DtPacket *packet) |
| Returns true of the packet is a checkpoint, pause, or unpause packet. More... | |
| virtual void | setOutputScaling (double scale) |
| Set/Get the output scaling. More... | |
| virtual double | outputScaling () const |
| Set/Get the output scaling. More... | |
| virtual void | setOutputStatic (bool isStatic) |
| Set/Get the output static. More... | |
| virtual bool | isOutputStatic () const |
| Set/Get the output static. More... | |
| virtual void | setOutputPaused (bool isPaused) |
| Set/Get the output paused. More... | |
| virtual bool | isOutputPaused () const |
| Set/Get the output paused. More... | |
Protected Types | |
| typedef std::pair< DtPduKind, DtObjectId > | UniqueObjectId |
| typedef std::map < UniqueObjectId, DtLgrPublisherInterface * > | ObjectPublisherMap |
Protected Member Functions | |
| virtual void | retainedSend (const DtPacket &) |
| Retained message send, aka Object updates. More... | |
| virtual void | immediateSend (const DtPacket &) const |
| Immediate send aka Interactions. More... | |
| virtual void | sendPacket (const DtPacket &packet) |
| Send a packet. More... | |
| virtual void | parsePdu (const DtPdu *pdu) const |
| virtual void | parsePacket (const DtPacket &packet) |
| virtual void | updateEntity (DtConstLgrDisMessage &) |
| virtual void | clearPublishers () |
| Clear any publishers from output. More... | |
| virtual void | getUpdates (DtMessageBuffer &stateBuffer, const DtAbsoluteTime &time) |
| Fill the provided message buffer with updates using the given time from current object publishers. More... | |
| virtual void | rescalePublishers (double oldScale, double newScale, bool wasStatic, bool isStatic) |
| virtual void | adjustProtocolVersionToSend (int pduDisVersion) |
| virtual void | resetProtocolVersionToSend () |
Protected Member Functions inherited from MAKLogger::DtLgrSimOutput | |
| virtual void | initialSend (const DtPacket &) |
| Send data for an initial packet; involves decoding initial packet and passing resulting initial state messages through output process. More... | |
Protected Attributes | |
| DtLgrDisSimulationManager & | myDisManager |
| ObjectPublisherMap | myObjectPublisherMap |
| DtLgrDisMessageIOInfo * | myMessageInfo |
| The protocol specific information about the output. More... | |
| bool | myOutputStatic |
| Whether output should be static. More... | |
| bool | myIsPaused |
| Tape is paused. More... | |
| int | mySendCount |
| Mutable internal counter. More... | |
| int | myDefaultDISVersion |
Protected Attributes inherited from MAKLogger::DtLgrSimOutput | |
| double | myOutputScaling |
| The value to scale output messages. More... | |
| bool | myIsPaused |
| Output is paused. More... | |
| bool | myOutputStatic |
| Whether output should be static. More... | |
| bool | mySendPacketFlag |
| bool | mySentPacketsFlag |
| DtLgrSimManager & | myManager |
| bool | myActivateFlag |
Private Member Functions | |
| DtLgrDisSimOutput (const DtLgrDisSimOutput &) | |
| Not Implemented. More... | |
| DtLgrDisSimOutput & | operator= (const DtLgrDisSimOutput &) |
| Not Implemented. More... | |
Additional Inherited Members | |
Public Types inherited from MAKLogger::DtLgrSimOutput | |
| enum | PacketSenderType { Immediate, Retained, Initial, NotSent } |
DIS simulation output.
|
protected |
|
protected |
|
virtual |
|
private |
Not Implemented.
|
virtual |
Active the implementation of SimOutput.
This function is called by simOutput's activate function.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
|
protectedvirtual |
Clear any publishers from output.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Deactivate implementation of SimOutput.
This function is called by simOutput's deactivate function.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Called when the connection is being lost.
|
virtual |
Set/Get the exercise connection simTime.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
The manager's exercise connection.
|
virtual |
The manager's exercise connection const.
|
virtual |
Apply filter flags to message buffer.
Reimplemented from MAKLogger::DtLgrSimOutput.
|
virtual |
Flush output, called after all outputs are finish for a time step.
Implements MAKLogger::DtMessageOutput.
|
protectedvirtual |
Fill the provided message buffer with updates using the given time from current object publishers.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
Immediate send aka Interactions.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Return the output's ioinfo.
Implements MAKLogger::DtMessageOutput.
|
private |
Not Implemented.
|
virtual |
Return the packet sender type of the specified packet.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Retained message send, aka Object updates.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
Send a packet.
Reimplemented from MAKLogger::DtLgrSimOutput.
|
virtual |
Set/Get the exercise connection simTime.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Set an output scaling value and static indicator.
Implements MAKLogger::DtMessageOutput.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
Tape is paused.
|
protected |
The protocol specific information about the output.
|
protected |
|
protected |
Whether output should be static.
|
mutableprotected |
Mutable internal counter.