![]() |
MAK Data Logger API Documentation for HLA
|
The abstract interface which defines the output to a simulation. More...
Inheritance diagram for MAKLogger::DtLgrSimOutput:
Collaboration diagram for MAKLogger::DtLgrSimOutput:Public Types | |
| enum | PacketSenderType { Immediate, Retained, Initial, NotSent } |
Public Member Functions | |
| DtLgrSimOutput (DtLgrSimManager &manager) | |
| CTOR. More... | |
| virtual | ~DtLgrSimOutput () |
| DTOR. More... | |
| virtual void | activate (const DtMessageInput *msgInput) |
| Activate the output. More... | |
| virtual void | activateImplementation ()=0 |
| Perform protocol-specific activation. More... | |
| virtual bool | isActivated () const |
| Get whether the output is active. More... | |
| virtual void | deactivate () |
| Deactivate the output. More... | |
| virtual void | deactivateImplementation ()=0 |
| Perform protocol-specific deactivation. More... | |
| virtual bool | outputPacket (const DtPacket &packet) |
| Apply filter flags to message buffer. More... | |
| virtual void | filterMessage (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 PacketSenderType | packetSenderType (const DtPacket &) const =0 |
| Return the packet sender type of the specified packet. More... | |
| virtual void | setExConnSimTime (DtTime time)=0 |
| Set/Get the exercise connection simTime. More... | |
| virtual DtTime | exConnSimTime () const =0 |
| Set/Get the exercise connection simTime. 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 Member Functions | |
| 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... | |
| virtual void | immediateSend (const DtPacket &) const =0 |
| Send a packet in immediate mode (primarily for interactions) More... | |
| virtual void | retainedSend (const DtPacket &)=0 |
| Send a packet in retained mode (primarily for updates) More... | |
| virtual void | sendPacket (const DtPacket &) |
| Send a packet. More... | |
| virtual void | clearPublishers ()=0 |
| Clear any publishers from output. More... | |
| virtual void | getUpdates (DtMessageBuffer &stateBuffer, const DtAbsoluteTime &time)=0 |
| Fill the provided message buffer with updates using the given time from current object publishers. More... | |
Protected Attributes | |
| 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 | |
| DtLgrSimOutput (const DtLgrSimOutput &) | |
| Not Implemented. More... | |
| DtLgrSimOutput & | operator= (const DtLgrSimOutput &) |
| Not Implemented. More... | |
The abstract interface which defines the output to a simulation.
| MAKLogger::DtLgrSimOutput::DtLgrSimOutput | ( | DtLgrSimManager & | manager | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Not Implemented.
|
virtual |
Activate the output.
Implements MAKLogger::DtMessageOutput.
|
pure virtual |
Perform protocol-specific activation.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
protectedpure virtual |
Clear any publishers from output.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
virtual |
Deactivate the output.
Implements MAKLogger::DtMessageOutput.
|
pure virtual |
Perform protocol-specific deactivation.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
pure virtual |
Set/Get the exercise connection simTime.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
virtual |
Apply filter flags to message buffer.
Implements MAKLogger::DtMessageOutput.
Reimplemented in MAKLogger::DtLgrHlaSimOutput.
|
virtual |
Apply filter flags to message buffer, allowing checkpoints.
Reimplemented from MAKLogger::DtMessageOutput.
|
protectedpure virtual |
Fill the provided message buffer with updates using the given time from current object publishers.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
protectedpure virtual |
Send a packet in immediate mode (primarily for interactions)
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
protectedvirtual |
Send data for an initial packet; involves decoding initial packet and passing resulting initial state messages through output process.
|
virtual |
Get whether the output is active.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Returns true of the packet is a checkpoint, pause, or unpause packet.
|
virtual |
Set/Get the output paused.
|
virtual |
Set/Get the output static.
|
private |
Not Implemented.
|
virtual |
Apply filter flags to message buffer.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Set/Get the output scaling.
|
pure virtual |
Return the packet sender type of the specified packet.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
protectedpure virtual |
Send a packet in retained mode (primarily for updates)
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
protectedvirtual |
Send a packet.
|
virtual |
Has the output sent packets since last call to sentPackets.
|
pure virtual |
Set/Get the exercise connection simTime.
Implemented in MAKLogger::DtLgrHlaSimOutput.
|
virtual |
Set/Get the output paused.
|
virtual |
Set/Get the output scaling.
|
virtual |
Set/Get the output static.
|
protected |
|
protected |
Output is paused.
|
protected |
|
protected |
The value to scale output messages.
|
protected |
Whether output should be static.
|
protected |
|
protected |