![]() |
MAK Data Logger API Documentation for HLA
|
HLA specific simulation input. More...
Inheritance diagram for MAKLogger::DtLgrHlaSimInput:
Collaboration diagram for MAKLogger::DtLgrHlaSimInput:Classes | |
| class | DtStateAndDecoder |
Public Member Functions | |
| virtual | ~DtLgrHlaSimInput () |
| virtual void | activateImplementation () |
| Perform protocol-specific activation. More... | |
| virtual void | deactivateImplementation () |
| Perform protocol-specific activation. More... | |
| virtual void | connecting () |
| Called before being connected to a simulation. More... | |
| virtual void | disconnecting () |
| Called before being disconnected from a simulation. More... | |
| virtual const DtMessageIOInfo * | info () const |
| Return the message info. More... | |
| virtual void | tick () |
| Perform any periodic processing. More... | |
| virtual void | subscribe () |
| Subscribe classes and install callbacks. More... | |
| virtual void | unsubscribe () |
| Unsubscribe classes and remove callbacks. More... | |
Public Member Functions inherited from MAKLogger::DtLgrSimInput | |
| virtual | ~DtLgrSimInput () |
| DTOR to clean up any resources. More... | |
| virtual void | activate () |
| Activate the input. More... | |
| virtual bool | isActivated () const |
| Get whether the output is active. More... | |
| virtual void | deactivate () |
| Activate the input. More... | |
| virtual void | startReadMessages () |
| Called at the beginning of a read operation. More... | |
| virtual void | setClock (DtLgrClock *clockToUse) |
| Set the clock to use for time. More... | |
| virtual DtAbsoluteTime | inputTime () const |
| Get the current input time. More... | |
| virtual void | getNextMessages (DtMessageBuffer &) |
| Get the next messages received. More... | |
| virtual void | dropNextMessages () |
| Called to drop messages from the current read operation. More... | |
| virtual bool | receivedPackets () |
| Have you received packets since last call. More... | |
| virtual DtLgrEntityTracker * | entityTracker () |
| virtual void | initializeTracker (DtLgrBaseSimManager *manager) |
| virtual DtLgrClock * | clock () |
| Get the clock used for time. More... | |
| virtual const DtLgrClock * | clock () const |
| Get the clock used for time. More... | |
Static Public Member Functions | |
| static void | decodeIsPartOf_RPR_20014 (DtBaseEntityStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
Protected Types | |
| typedef std::map < RTI::ObjectInstanceHandle, DtLgrHlaHandle > | ObjectInstanceMap |
| typedef std::map< DtString, RTI::ObjectInstanceHandle > | NameObjectInstanceMap |
| typedef std::map< DtHlaObject *, DtAbsoluteTime > | TimeoutByObjectMap |
| typedef std::set< DtHlaObject * > | HlaObjectSet |
| typedef std::map < DtAbsoluteTime, HlaObjectSet > | TimeoutByTimeMap |
| typedef std::shared_ptr < DtStateRepository > | DtStateRepositorySP |
| typedef std::shared_ptr < DtGenericAttributeDecoder > | DtGenericAttributeDecoderSP |
Protected Member Functions | |
| virtual int | getInteractionRegionSet (const DtInteraction *interaction, DtRegionDescSet ®ionSet) |
| Get the region set from a receive interactions Return the number of regions in the set. More... | |
| virtual int | getObjectRegionSet (DtRegionDescSet ®ionSet) |
| Get the region set from an object reflection Return the number of regions in the set. More... | |
| virtual void | startListening () |
| Protocol specific processing when listening starts. More... | |
| virtual void | stopListening () |
| Protocol specific processing when listening stops. More... | |
| virtual bool | evaluateTrafficAnalyzerFilters (const DtHlaObject &obj) const |
| Evaluate the traffic analyzer filters using the given object Return bool: object matched filter? More... | |
| virtual void | localDeleteObjectForRefresh (DtHlaObject *object) |
| Locally delete an object so that it can be rediscovered. More... | |
| void | checkRefresh () |
| Check and process entities that need to be refreshed. More... | |
| void | checkTimeouts () |
| Check and process entities that need to be timed out. More... | |
| void | removeTimeout (DtHlaObject *object) |
| Remove the timeout for the given object. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrSimInput | |
| DtLgrSimInput (DtLgrSimManager &manager) | |
| CTOR is protected since sub class will be the final object. More... | |
| 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. More... | |
| virtual void | receivePacket (DtPacket *packet) |
| Called internally to add a packet to a receive buffer. More... | |
| virtual void | filterPacket (DtPacket *packet) |
| Filter. More... | |
Protected Attributes | |
| DtLgrHlaSimulationManager & | myHlaManager |
| TimeoutByObjectMap | myTimeoutTimeByObject |
| TimeoutByTimeMap | myTimeoutByTime |
| std::map< DtHlaObject *, DtStateAndDecoder > | myStateAndDecoders |
| State and decorders used for traffic analyzer filtering. More... | |
| ObjectInstanceMap | myObjectInstanceMap |
| NameObjectInstanceMap | myNameObjectInstanceMap |
| DtLgrHlaHandle | myFreeInstanceHandle |
| DtLgrHlaMessageIOInfo * | myInfo |
| bool | myListening |
Protected Attributes inherited from MAKLogger::DtLgrSimInput | |
| bool | myReceivePacketsFlag |
| DtMessageBuffer * | myReceiveBuffer |
| DtSmartBuffer * | mySmartBuffer |
| DtLgrSimManager & | myManager |
| bool | myActivateFlag |
| DtLgrClock * | myClock |
| static void | discoverObjCb (DtHlaObject *object, void *usr) |
| Callback for when objects are discovered. More... | |
| virtual void | discoverObject (DtHlaObject *object) |
| Callback for when objects are discovered. More... | |
| static void | removeObjCb (DtHlaObject *object, void *usr) |
| Callback for when objects are removed. More... | |
| virtual void | removeObject (DtHlaObject *object, bool updateTimeout=true) |
| Callback for when objects are removed. More... | |
| static void | reflectCb (const DtStateMsg &msg, DtHlaObject *obj, void *usr) |
| Callback for when object updates are reflected. More... | |
| virtual void | reflect (const DtStateMsg &msg, DtHlaObject *obj) |
| Callback for when object updates are reflected. More... | |
| static void | receiveInterCb (DtInteraction *inter, void *usr) |
| Callback for when interactions are received. More... | |
| virtual void | receiveInteraction (const DtInteraction *interaction) |
| Callback for when interactions are received. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from MAKLogger::DtLgrSimInput | |
| static const int | theSmartBufferSize = 65536 |
HLA specific simulation input.
This class reads HLA messages from a simulation and creates packets.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
|
virtual |
Perform protocol-specific activation.
Implements MAKLogger::DtLgrSimInput.
|
protected |
Check and process entities that need to be refreshed.
|
protected |
Check and process entities that need to be timed out.
|
virtual |
Called before being connected to a simulation.
Implements MAKLogger::DtLgrSimInput.
|
virtual |
Perform protocol-specific activation.
Implements MAKLogger::DtLgrSimInput.
|
static |
|
virtual |
Called before being disconnected from a simulation.
Implements MAKLogger::DtLgrSimInput.
|
staticprotected |
Callback for when objects are discovered.
|
protectedvirtual |
Callback for when objects are discovered.
|
protectedvirtual |
Evaluate the traffic analyzer filters using the given object Return bool: object matched filter?
|
protectedvirtual |
Get the region set from a receive interactions Return the number of regions in the set.
|
protectedvirtual |
Get the region set from an object reflection Return the number of regions in the set.
|
virtual |
Return the message info.
Implements MAKLogger::DtMessageInput.
|
protectedvirtual |
Locally delete an object so that it can be rediscovered.
|
protectedvirtual |
Callback for when interactions are received.
|
staticprotected |
Callback for when interactions are received.
|
protectedvirtual |
Callback for when object updates are reflected.
|
staticprotected |
Callback for when object updates are reflected.
|
staticprotected |
Callback for when objects are removed.
|
protectedvirtual |
Callback for when objects are removed.
|
protected |
Remove the timeout for the given object.
|
protectedvirtual |
Protocol specific processing when listening starts.
|
protectedvirtual |
Protocol specific processing when listening stops.
|
virtual |
Subscribe classes and install callbacks.
|
virtual |
Perform any periodic processing.
Reimplemented from MAKLogger::DtMessageInput.
|
virtual |
Unsubscribe classes and remove callbacks.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
State and decorders used for traffic analyzer filtering.
|
protected |
|
protected |