![]() |
MAK Data Logger API Documentation for HLA
|
HLA specific driver for controlling the simulation. More...
Inheritance diagram for MAKLogger::DtLgrHlaSimDriver:
Collaboration diagram for MAKLogger::DtLgrHlaSimDriver:Public Types | |
| typedef DtLgrHlaCommandFactory | Factory |
| typedef DtLgrHlaSimInterface | Interface |
Public Types inherited from MAKLogger::DtLgrSimDriver | |
| typedef DtLgrSimCommandFactory | Factory |
| typedef DtLgrSimInterface | Interface |
| typedef std::pair< double, bool > | HeartbeatTimeRecord |
| Heartbeat time (seconds), inheritable flag (ignored in DIS) More... | |
Public Member Functions | |
| virtual | ~DtLgrHlaSimDriver () |
| virtual void | tick () |
| Tick the HLA simulation driver, this will drain input on the exercise connection. More... | |
| virtual const DtString & | federateType () const |
| Get the federate type. More... | |
| virtual const DtString & | federationName () const |
| Get the federation name. More... | |
| virtual const DtString & | fedFile () const |
| Get the fed file. More... | |
| virtual bool | ignoreAdvisories () const |
| Get the ignore advisories status. More... | |
| virtual bool | trafficAnalyzerEnabled () const |
| Get the traffic analyzer enabled status. More... | |
| virtual bool | saveTrafficAnalyzerConfigurationEnabled () const |
| Get the save traffic analyzer configuration enabled status. More... | |
| virtual bool | isMomSubscriptionFiltered () const |
| Get filter MOM subscription enabled status. More... | |
| virtual double | fomVersion () const |
| Get the fom version. More... | |
| virtual int | fomRevision () const |
| Get the fom revision. More... | |
| virtual bool | useMatrexFomMapper () const |
| Get the use matrex fom mapper status. More... | |
| virtual const DtString & | matrexFomMapperData () const |
| Get the matrex fom data. More... | |
| virtual const DtString & | fomMapper () const |
| Get the fom mapper. More... | |
| virtual const DtString & | fomMapperData () const |
| Get the fom data. More... | |
| virtual bool | useEmptyFomMapper () const |
| Get the use empty fom mapper status. More... | |
| virtual bool | isConnected () const |
| Get whether the driver is connected to a simulation. More... | |
| virtual int | siteId () const |
| Get the Site ID. More... | |
| virtual int | appNumber () const |
| Get the Application Number. More... | |
| virtual const DtLgrOnlineFomDesc * | connectedFomDescription () const |
| Get the fom description. More... | |
| virtual std::vector< DtString > | objectSubscriptionList () const |
| Get the object class subscription list. More... | |
| virtual std::vector< DtString > | interactionSubscriptionList () const |
| Get the interaction subscription list. More... | |
| virtual bool | isTimeManagedEnabled () const |
| Get the time managed enabled flag. More... | |
| virtual bool | isTimeConstrained () const |
| Get the time constrained flag. More... | |
| virtual bool | isTimeRegulatingFlag () const |
| Get the time regulating flag. More... | |
| virtual double | lookahead () const |
| Get the lookahead value. More... | |
| virtual double | drainInputMin () const |
| Get the drain input min value. More... | |
| virtual double | drainInputMax () const |
| Get the drain input max value. More... | |
| virtual bool | isIgnoreAdvisoriesEnabled () const |
| Get the ignore advisories flag. More... | |
| virtual bool | isTrafficAnalyzerEnabled () const |
| Get the traffic analyzer flag. More... | |
| virtual bool | isRequestUpdatesEnabled () const |
| Get the request updates flag. More... | |
| virtual bool | isSendOnlyUpdatedValueEnabled () const |
| Get the send only updated values flag. More... | |
| virtual bool | isPassiveSubscriptionEnabled () const |
| Get the passive subscription flag. More... | |
| virtual void | updateTimeManagement () |
| Function which sends an update response about the current time management state. More... | |
| virtual const DtLgrDisEntityTypeManager * | entityTypeManager () const |
| virtual DtLgrSystemDriver * | systemDriver () |
| Get the system Driver. More... | |
| virtual const DtLgrSystemDriver * | systemDriver () const |
| Get the system driver. More... | |
| virtual void | forceDisconnect (const DtString &message=DtString::nullString()) |
| Force a disconnect (i.e., forced by RTI). More... | |
| virtual DtLgrSimManager * | simManager () |
| Get the Simulation manager. More... | |
| virtual const DtLgrSimManager * | simManager () const |
| Get the Simulation manager. More... | |
| virtual DtLgrHlaSimulationManager * | hlaSimManager () |
| Get the Simulation manager as its HLA derivative. More... | |
| virtual const DtLgrHlaSimulationManager * | hlaSimManager () const |
| Get the Simulation manager as its HLA derivative. More... | |
Public Member Functions inherited from MAKLogger::DtLgrSimDriver | |
| DtLgrSimDriver (DtLgrSystemDriver &systemDriver) | |
| Constructor. More... | |
| virtual | ~DtLgrSimDriver () |
| Destructor. More... | |
| virtual bool | releasePipeline () |
| Ask the driver to release the pipeline. More... | |
| bool | getPipeline () |
| Have the driver attempt to acquire the message pipeline. More... | |
| bool | hasPipeline () const |
| Check to see if the driver has the message pipeline. More... | |
| virtual void | addPacketFilter (DtLgrPacketFilter *filter) |
| Add a packet filter object. More... | |
| virtual void | removeFilter (const DtLgrPacketFilter *filter) |
| Remove a packet filter object. More... | |
| virtual bool | activity () const |
| Get whether there is simulation activity (this tick). More... | |
| virtual int | filterCount () const |
| Get the number of filters added. More... | |
| virtual const DtLgrPacketFilter * | filter (int index) const |
| Get a filter based on an index from 0 to filterCount(). More... | |
| virtual DtLgrPlaybackDriver * | getPlaybackDriver (bool checkForFileOpen) const |
| Get the playback driver. Throw if can't get it or checking file open and its not. More... | |
| virtual DtLgrRecordDriver * | getRecordDriver (bool checkForFileOpen) const |
| Get the playback driver. Throw if can't get it or checking file open and its not. More... | |
| virtual bool | processRemoteControls () const |
| Get whether remove control messages are processed. More... | |
| virtual bool | recordRemoteControls () const |
| Get whether remove control messages are recorded. More... | |
| virtual bool | allowAllRemoteControls () const |
| Get whether remote control messages process regardless of site ID. More... | |
| virtual bool | allowRemoteDelete () const |
| Get whether remove delete messages are processed. More... | |
| virtual bool | sendResponses () const |
| Get whether to send responses. More... | |
| virtual bool | crippleGui () const |
| Get whether to cripple the GUI (i.e., disable mouse clicks and minimize window) More... | |
| virtual bool | useLegacyPdu () const |
| Get whether to use legacy control PDU. More... | |
| virtual bool | saveConnectConfiguration () const |
| Get whether to save connection configuration. More... | |
| virtual bool | saveIndexConfiguration () const |
| Get whether to save checkpoint configuration. More... | |
| virtual bool | saveProtocolConfiguration () const |
| Get whether to save connection configuration. More... | |
| virtual bool | listenWhenIdle () const |
| Get whether listen when idle is enabled. More... | |
| virtual bool | staticDRAlgorithmWhenPaused () const |
| Get whether to set Static DR Algorithm when Paused. More... | |
| virtual void | activateIdleListening () |
| Activate idle listening. More... | |
| virtual bool | isSimTimeAdjusted () const |
| Get whether sim time is adjusted. More... | |
| virtual DtTime | connectSendInterval () const |
| Connect messages are sent using this interval. More... | |
| virtual DtTime | heartbeatSendInterval () const |
| Logger heartbeat messages are sent using this interval. More... | |
| virtual bool | useSimChannel () const |
| Use the sim channel connection? More... | |
| virtual bool | useBackChannel () const |
| Use the back channel connection? More... | |
| virtual const DtString & | backChannelAddress () const |
| Back channel connection address. More... | |
| virtual int | backChannelPort () const |
| Back Channel port. More... | |
| virtual const DtString & | backChannelInterface () const |
| Back Channel interface. More... | |
| virtual bool | scaleAttributes () const |
| Get whether attributes are scaled. More... | |
| virtual const std::map < DtString, DtLgrSimDriver::HeartbeatTimeRecord > & | heartbeatIntervals () const |
| Return a const reference to the heartbeat interval table. More... | |
| virtual const std::map < DtString, DtLgrSimDriver::HeartbeatTimeRecord > & | timeoutIntervals () const |
| Return a const reference to the timeout interval table. More... | |
| virtual void | updateEntityTracker (const DtString &tracker) |
| Update the driver's entity tracker to match argument. More... | |
| virtual DtLgrEntityTracker * | entityTracker () |
| Get the current entity tracker, or null if none. More... | |
| virtual void | addTemporaryTrackedEntity (const DtString &name) |
| virtual void | addTemporaryTrackedMarking (const DtString &marking) |
Public Member Functions inherited from MAKLogger::DtLgrCommandHandler | |
| DtLgrCommandHandler (const DtString &name, DtRuntimeCommandFactory *, DtCommandDispatcherSP) | |
| Constructor which provides the name, the runtime factory, and the dispatcher which receives and transmits commands. More... | |
| virtual | ~DtLgrCommandHandler () |
| DTOR. More... | |
| void | lock () |
| Locks the Command Handler. More... | |
| void | unlock () |
| Unlocks the Command Handler. More... | |
| DtCommandDispatcherSP | dispatcher () |
| Get the dispatcher the command handler is connected to. More... | |
| virtual const DtString & | driverName () const |
| Get the name of the driver. More... | |
| virtual const DtString & | driverInfo () |
| Get the name of the driver. More... | |
| virtual void | processCommand (const DtCommand &command) |
| Process a specific command. More... | |
| virtual bool | spawnThread (DtLgrCommandThread *commandThread) |
| Spawn a new thread. More... | |
| virtual void | stopAllThreads () |
| Stop all running threads. More... | |
| virtual void | stopThread (DtLgrCommandThread *commandThread) |
| Stop a thread and deallocate it's resources. More... | |
Protected Member Functions | |
| virtual DtResponse | setConnectionParametersHLA (const DtCommand &command) |
| Handle the set connections HLA command. More... | |
| virtual DtResponse | setConnectionParametersHLAe (const DtCommand &command) |
| Handle the set connections HLAe command. More... | |
| virtual DtResponse | setSiteApp (const DtCommand &command) |
| Handle the set site and app number command. More... | |
| virtual DtResponse | setTimeManagement (const DtCommand &command) |
| Handle the set time management command. More... | |
| virtual DtResponse | setDrainInputSettings (const DtCommand &command) |
| Handle the set drain input settings command. More... | |
| virtual void | configureConnectionInitalizer (DtExerciseConnInitializer &connInitializer) |
| Configure the exercise connection initializer. More... | |
| virtual DtResponse | connect (const DtCommand &command) |
| Handle the connect command. More... | |
| virtual DtResponse | connectShared (const DtCommand &command) |
| Handle the connect shared command. More... | |
| virtual DtResponse | disconnect (const DtCommand &command) |
| Handle the disconnect command. More... | |
| virtual void | updateRecordRemoteControlFilter () |
| virtual DtResponse | setEntityTypeManager (const DtCommand &command) |
| Command handler for the setEntityTypeManagerCommand. More... | |
| virtual DtResponse | setCommonEntityTypes (const DtCommand &command) |
| Command handler for the SetCommonEntityTypesCommand. More... | |
| virtual DtResponse | filterEntityTypes (const DtCommand &command) |
| Command handler for the FilterEntityTypesCommand. More... | |
| virtual DtResponse | setCommonObjectNames (const DtCommand &command) |
| Command handler for the SetCommonEntityIdsCommand. More... | |
| virtual DtResponse | filterObjectNames (const DtCommand &command) |
| Command handler for the FilterEntityIdsCommand. More... | |
| virtual DtResponse | setPassiveSubscription (const DtCommand &command) |
| Handle the set passive subscription command. More... | |
| virtual DtResponse | setRequestUpdates (const DtCommand &command) |
| Handle the set request updates command. More... | |
| virtual DtResponse | setIgnoreAdvisories (const DtCommand &command) |
| Handle the set ignore advisories command. More... | |
| virtual DtResponse | enableTrafficAnalyzer (const DtCommand &command) |
| Handle the enable traffic analyzer command. More... | |
| virtual DtResponse | enableSaveTrafficAnalyzerConfiguration (const DtCommand &command) |
| Handle the enable save traffic analyzer configuration command. More... | |
| virtual DtResponse | setFilterMomSubscription (const DtCommand &command) |
| Handle the enable set filter mom subscription command. More... | |
| virtual DtResponse | loadSubscriptionListFile (const DtCommand &command) |
| Handle the load subscription list file command. More... | |
| virtual DtResponse | loadPublicationListFile (const DtCommand &command) |
| Handle the load publication list file command. More... | |
| virtual DtResponse | saveSubscriptionListFile (const DtCommand &command) |
| Handle the save subscription list file command. More... | |
| virtual DtResponse | setSubscriptionLists (const DtCommand &command) |
| Handle the set subscription lists command. More... | |
| virtual DtResponse | addTrafficAnalyzerFilter (const DtCommand &command) |
| Handle the add traffic analyzer filter command. More... | |
| virtual DtResponse | removeTrafficAnalyzerFilter (const DtCommand &command) |
| Handle the remove traffic analyzer filter command. More... | |
| virtual DtResponse | setDisableTimeManagmentTest (const DtCommand &command) |
| Handle the set disable tm test command. More... | |
| virtual DtResponse | setDynamicNamePrefix (const DtCommand &command) |
| Handle the set dynamic name prefix. More... | |
| virtual DtResponse | setDdmParameters (const DtCommand &command) |
| Handle the DDM Parameters command. More... | |
| virtual DtResponse | setSendOnlyUpdatedValues (const DtCommand &command) |
| Handle the set send only updated values command. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrSimDriver | |
| virtual void | setActivity (bool activity) |
| Set whether there is activity this tick. More... | |
| virtual void | setVRFMessageFiltering (bool filter, int lowId, int hiId) |
| Set the VRF Filtering. More... | |
| virtual DtResponse | addFilter (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setSaveConnectConfiguration (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setSaveIndexConfiguration (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setSaveProtocolConfiguration (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setFilterSettings (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setScaleAttributes (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setVRFFiltering (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | addFilteredEntityName (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | clearFilteredEntityNames (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setHeartbeatIntervals (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setTimeoutIntervals (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | addTemporaryTrackedEntity (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setPlaybackFilesUseRandomAccess (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setExtendedStopTimeoutInterval (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setListenWhenIdle (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setAdjustSimTime (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setStaticDRAlgorithmWhenPaused (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | filterMarkings (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setRemoteControlSettings (const DtCommand &command) |
| Set the remote control settings. More... | |
| virtual DtResponse | setBackChannelConnection (const DtCommand &command) |
| Add a packet filter object. More... | |
| virtual DtResponse | setRemoteControlId (const DtCommand &command) |
| Add a packet filter object. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrCommandHandler | |
| void | addCommandHandler (const DtCommandDefinition &commandDef, DtCommandFunctorSP commandFunctor) |
| Add a commandHandler, this should not be virtual as it is called in constructors. More... | |
| void | removeCommandHandler (const DtCommandDefinition &commandDef) |
| Remove a commandHandler, this is typically not called but necessary for replacing a command handler. More... | |
| virtual void | sendResponse (DtResponse response) |
| Send a response, for functions that have multiple responses make this call. More... | |
| virtual void | queueResponse (DtResponse response) |
| Queue a response for future sending. More... | |
| virtual void | sendQueuedResponses () |
| Sends all queued responses and clears the queue. More... | |
| virtual void | emptyResponseQueue () |
| Empty the response queue (deleting any unsent responses). More... | |
| DtResponse | finishThread (const DtCommand &command) |
| Finish the thread. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MAKLogger::DtLgrSimDriver | |
| static DtLgrSimDriver * | getFromLogger (const DtLogger &logger) |
| Get the sim driver used by the Logger object. More... | |
Protected Types inherited from MAKLogger::DtLgrCommandHandler | |
| typedef DtLgrCommandHandler *(* | DriverCreator )(DtCommandDispatcherSP) |
| typedef std::map < DtLgrCommandId, DtCommandFunctorSP > | DtLgrCommandHandlerMap |
| typedef std::map< DtString, DtLgrCommandId > | DtLgrCommandNameMap |
| typedef std::list< DtResponse > | DtResponseQueue |
| typedef std::map < DtLgrCommandThread *, DtThread * > | CommandThreadMap |
| A set of running command threads. More... | |
HLA specific driver for controlling the simulation.
|
virtual |
|
protectedvirtual |
Handle the add traffic analyzer filter command.
|
virtual |
Get the Application Number.
|
protectedvirtual |
Configure the exercise connection initializer.
Implements MAKLogger::DtLgrSimDriver.
|
protectedvirtual |
Handle the connect command.
Implements MAKLogger::DtLgrSimDriver.
|
virtual |
Get the fom description.
|
protectedvirtual |
Handle the connect shared command.
Implements MAKLogger::DtLgrSimDriver.
|
protectedvirtual |
Handle the disconnect command.
Implements MAKLogger::DtLgrSimDriver.
|
virtual |
Get the drain input max value.
|
virtual |
Get the drain input min value.
|
protectedvirtual |
Handle the enable save traffic analyzer configuration command.
|
protectedvirtual |
Handle the enable traffic analyzer command.
|
virtual |
|
virtual |
Get the federate type.
|
virtual |
Get the federation name.
|
virtual |
Get the fed file.
|
protectedvirtual |
Command handler for the FilterEntityTypesCommand.
|
protectedvirtual |
Command handler for the FilterEntityIdsCommand.
|
virtual |
Get the fom mapper.
|
virtual |
Get the fom data.
|
virtual |
Get the fom revision.
|
virtual |
Get the fom version.
|
virtual |
Force a disconnect (i.e., forced by RTI).
|
virtual |
Get the Simulation manager as its HLA derivative.
|
virtual |
Get the Simulation manager as its HLA derivative.
|
virtual |
Get the ignore advisories status.
|
virtual |
Get the interaction subscription list.
|
virtual |
Get whether the driver is connected to a simulation.
Implements MAKLogger::DtLgrSimDriver.
|
virtual |
Get the ignore advisories flag.
|
virtual |
Get filter MOM subscription enabled status.
|
virtual |
Get the passive subscription flag.
|
virtual |
Get the request updates flag.
|
virtual |
Get the send only updated values flag.
|
virtual |
Get the time constrained flag.
|
virtual |
Get the time managed enabled flag.
|
virtual |
Get the time regulating flag.
|
virtual |
Get the traffic analyzer flag.
|
protectedvirtual |
Handle the load publication list file command.
|
protectedvirtual |
Handle the load subscription list file command.
|
virtual |
Get the lookahead value.
|
virtual |
Get the matrex fom data.
|
virtual |
Get the object class subscription list.
|
protectedvirtual |
Handle the remove traffic analyzer filter command.
|
protectedvirtual |
Handle the save subscription list file command.
|
virtual |
Get the save traffic analyzer configuration enabled status.
|
protectedvirtual |
Command handler for the SetCommonEntityTypesCommand.
|
protectedvirtual |
Command handler for the SetCommonEntityIdsCommand.
|
protectedvirtual |
Handle the set connections HLA command.
|
protectedvirtual |
Handle the set connections HLAe command.
|
protectedvirtual |
Handle the DDM Parameters command.
|
protectedvirtual |
Handle the set disable tm test command.
|
protectedvirtual |
Handle the set drain input settings command.
|
protectedvirtual |
Handle the set dynamic name prefix.
|
protectedvirtual |
Command handler for the setEntityTypeManagerCommand.
|
protectedvirtual |
Handle the enable set filter mom subscription command.
|
protectedvirtual |
Handle the set ignore advisories command.
|
protectedvirtual |
Handle the set passive subscription command.
|
protectedvirtual |
Handle the set request updates command.
|
protectedvirtual |
Handle the set send only updated values command.
|
protectedvirtual |
Handle the set site and app number command.
|
protectedvirtual |
Handle the set subscription lists command.
|
protectedvirtual |
Handle the set time management command.
|
virtual |
Get the Simulation manager.
Implements MAKLogger::DtLgrSimDriver.
|
virtual |
Get the Simulation manager.
Implements MAKLogger::DtLgrSimDriver.
|
virtual |
Get the Site ID.
|
virtual |
Get the system Driver.
Reimplemented from MAKLogger::DtLgrSimDriver.
|
virtual |
Get the system driver.
Reimplemented from MAKLogger::DtLgrSimDriver.
|
virtual |
Tick the HLA simulation driver, this will drain input on the exercise connection.
After ticking draining input the base tick is called.
Reimplemented from MAKLogger::DtLgrSimDriver.
|
virtual |
Get the traffic analyzer enabled status.
|
protectedvirtual |
|
virtual |
Function which sends an update response about the current time management state.
|
virtual |
Get the use empty fom mapper status.
|
virtual |
Get the use matrex fom mapper status.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |