![]() |
MAK Data Logger API Documentation for HLA
|
Hla specific simulation output responsible for sending messages converted from packets. More...
Inheritance diagram for MAKLogger::DtLgrHlaSimOutput:
Collaboration diagram for MAKLogger::DtLgrHlaSimOutput:Public Member Functions | |
| virtual | ~DtLgrHlaSimOutput () |
| 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 () |
| Perform protocol-specific activation. More... | |
| virtual void | deactivateImplementation () |
| Perform protocol-specific deactivation. More... | |
| virtual void | flush () |
| Flush output. More... | |
| virtual const DtMessageIOInfo * | info () const |
| Return the output's ioinfo. 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 bool | applyTrafficAnalyzerFilter (DtHLAGenericPublisher &genPub) |
| Apply the Traffic Analyzer filters on the given publisher Return bool: given publisher matches a Traffic Analyzer filter (i.e., should not be published)? More... | |
| virtual void | removeEntity (const DtLgrHlaHandle handle) |
| Remove an entity using its handle. More... | |
| virtual unsigned int | getInteractionConveyedRegionSet (const DtConstLgrHlaMessage &info, DtDDMRegionSet ®ionSet) |
| Get the interaction conveyed region set from the packet Return the number of regions in the set. More... | |
| virtual unsigned int | getInteractionRegionSetFromData (const DtConstLgrHlaMessage &info, const DtInteraction *interaction, DtDDMRegionSet ®ionSet) |
| Get and modify the interaction region set using the interaction data Return the number of regions in the set. More... | |
| virtual unsigned int | getInteractionRegionSet (const DtConstLgrHlaMessage &info, DtInteraction *interaction, DtDDMRegionSet ®ionSet) |
| Get the interaction region set for the interaction Return the number of regions in the set. More... | |
| virtual bool | getPublisherRegionSetFromData (const DtPacket &info, DtDDMRegionSet ®ionSet) |
| Get region set for this packet's entity publisher (when using playback region uses sim data). More... | |
| virtual unsigned int | getObjectConveyedRegionSet (const DtConstLgrHlaMessage &info, DtDDMRegionSet ®ionSet) |
| Get the object conveyed region set from the packet Return the number of regions in the set. More... | |
| virtual DtExerciseConn * | exerciseConn () |
| The manager's exercise connection. More... | |
| virtual const DtExerciseConn * | exerciseConn () const |
| The manager's exercise connection const. More... | |
| bool | cacheInteractionRegionsEnabled () const |
| Accessor/Mutator for the caching interaction region sets. More... | |
| void | setCacheInteractionRegionsEnabled (bool val) |
| Accessor/Mutator for the caching interaction region sets. More... | |
| bool | cacheObjectRegionsEnabled () const |
| Accessor/Mutator for the caching object region sets. More... | |
| void | setCacheObjectRegionsEnabled (bool val) |
| Accessor/Mutator for the caching object region sets. 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... | |
Static Public Member Functions | |
| static void | encodeIsPartOf_RPR_20014 (const DtBaseEntityStateRepository &stateRep, RTI::AttributeHandleValuePairSet *pAvList, RTI::AttributeHandle attrHandle) |
| Function that does encoding specific to RPR FOM 2.0. More... | |
Protected Types | |
| typedef std::map< DtString, DtLgrHlaHandle > | DtObjectNameMap |
| Map of named handles,. More... | |
| typedef std::map < DtLgrHlaHandle, DtLgrPublisherInterface * > | DtObjectPublisherMap |
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... | |
| const DtLgrOnlineFomDesc & | fom () const |
| Get the fom the output is using. More... | |
| virtual void | sendInteractionWithRegion (const DtInteraction &interaction, const DtDDMRegionSet ®ionSet) const |
| Send the interaction using the given region set. More... | |
| virtual void | updateEntity (const DtPacket &) |
| Update an entity using the packet. More... | |
| virtual void | removeEntity (const DtPacket &) |
| Remove an entity using the packet. More... | |
| virtual void | tick () |
| Tick each publisher. More... | |
| 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 DtLgrPublisherInterface * | createPublisher (const DtPacket &info) |
| Create a publisher using the packet info. More... | |
| virtual DtLgrPublisherInterface * | doPublish (DtLgrHlaHandle loggerObjectId, DtLgrHlaHandle loggerClassHandle, RTI::ObjectClassHandle classHandle, const char *objName, const DtDDMRegionSet *regionSetToUse, bool silent) |
| Do the publish and recover when name in use / not reserved exception by letting RTI choose name. More... | |
| virtual void | printRegion (DtDDMRegionSP region) const |
| Print out the region information. More... | |
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... | |
| virtual void | sendPacket (const DtPacket &) |
| Send a packet. More... | |
Protected Attributes | |
| DtLgrHlaSimulationManager & | myHlaManager |
| DtObjectNameMap | myObjectNameMap |
| DtObjectPublisherMap | myObjectPublisherMap |
| DtLgrHlaMessageIOInfo * | myMessageInfo |
| double | myPublisherScaling |
| bool | myPublisherStatic |
| bool | myIsPaused |
| DtInteractionFactory * | myFactory |
| DtIDRegionMap | myRegionHandleMap |
| bool | myCacheInteractionRegionsEnabled |
| bool | myCacheObjectRegionsEnabled |
| std::set < DtLgrPublisherInterface * > | myFilteredPublishers |
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 |
Additional Inherited Members | |
Public Types inherited from MAKLogger::DtLgrSimOutput | |
| enum | PacketSenderType { Immediate, Retained, Initial, NotSent } |
Hla specific simulation output responsible for sending messages converted from packets.
|
protected |
Map of named handles,.
|
protected |
|
virtual |
|
virtual |
Perform protocol-specific activation.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Apply the Traffic Analyzer filters on the given publisher Return bool: given publisher matches a Traffic Analyzer filter (i.e., should not be published)?
| bool MAKLogger::DtLgrHlaSimOutput::cacheInteractionRegionsEnabled | ( | ) | const |
Accessor/Mutator for the caching interaction region sets.
Since interactions are sent only once, it is more efficient to cache the regions and simply update extents (in modifyInteractionRegion). Disabling cache will create new regions each time an interaction is sent.
| bool MAKLogger::DtLgrHlaSimOutput::cacheObjectRegionsEnabled | ( | ) | const |
Accessor/Mutator for the caching object region sets.
Do not cache when each object should get its own region.
|
protectedvirtual |
Clear any publishers from output.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
Create a publisher using the packet info.
|
virtual |
Perform protocol-specific deactivation.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Called when the connection is being lost.
|
protectedvirtual |
Do the publish and recover when name in use / not reserved exception by letting RTI choose name.
|
static |
Function that does encoding specific to RPR FOM 2.0.
This function overrides behavior present in VR-Link 3.13.1 that breaks backward compatibility in the logger with applications build against older versionse of VR-Link.
|
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.
Implements MAKLogger::DtMessageOutput.
|
protected |
Get the fom the output is using.
|
virtual |
Get the interaction conveyed region set from the packet Return the number of regions in the set.
|
virtual |
Get the interaction region set for the interaction Return the number of regions in the set.
|
virtual |
Get and modify the interaction region set using the interaction data Return the number of regions in the set.
Reimplemented in MAKLogger::DtLgrHlaDdmSimOutput.
|
virtual |
Get the object conveyed region set from the packet Return the number of regions in the set.
|
virtual |
Get region set for this packet's entity publisher (when using playback region uses sim data).
Publisher is initialized to silent (i.e., updates not sent) if a region mapping was not established or region not fully initialized. Return bool: Region set established and regions fully initialized?
Reimplemented in MAKLogger::DtLgrHlaDdmSimOutput.
|
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.
|
virtual |
Return the packet sender type of the specified packet.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
Print out the region information.
|
virtual |
Remove an entity using its handle.
|
protectedvirtual |
Remove an entity using the packet.
|
protectedvirtual |
Retained message send, aka Object updates.
Implements MAKLogger::DtLgrSimOutput.
|
protectedvirtual |
Send the interaction using the given region set.
| void MAKLogger::DtLgrHlaSimOutput::setCacheInteractionRegionsEnabled | ( | bool | val | ) |
Accessor/Mutator for the caching interaction region sets.
Since interactions are sent only once, it is more efficient to cache the regions and simply update extents (in modifyInteractionRegion). Disabling cache will create new regions each time an interaction is sent.
| void MAKLogger::DtLgrHlaSimOutput::setCacheObjectRegionsEnabled | ( | bool | val | ) |
Accessor/Mutator for the caching object region sets.
Do not cache when each object should get its own region.
|
virtual |
Set/Get the exercise connection simTime.
Implements MAKLogger::DtLgrSimOutput.
|
virtual |
Set an output scaling value and static indicator.
Implements MAKLogger::DtMessageOutput.
|
protectedvirtual |
Tick each publisher.
|
protectedvirtual |
Update an entity using the packet.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |