![]() |
MAK Data Logger API Documentation for HLA
|
The HLA simulation manager. More...
Inheritance diagram for MAKLogger::DtLgrHlaSimulationManager:
Collaboration diagram for MAKLogger::DtLgrHlaSimulationManager:Public Types | |
| typedef DtObjectPublisher *( | DtPublisherCreator )() |
Public Member Functions | |
| DT_VIRTUAL_CTR (DtLgrHlaSimulationManager,(DtLogger &logger, DtLgrHlaSimDriver *simDriverPtr)) virtual ~DtLgrHlaSimulationManager() | |
| virtual void | setExerciseConn (DtExerciseConn *exconn) |
| Set the exercise conn (deleting the existing one if it was set). More... | |
| virtual void | tick () |
| Tick the simulations. More... | |
| virtual bool | isConnected () const |
| Returns true if an exercise connection has been established. More... | |
| virtual bool | isConnectionOk () const |
| Returns true if an exercise connection has been established and its in a good state. More... | |
| virtual void | setSubscriptionListToAll () |
| Sets the subscription list to all the classes in the current FOM. More... | |
| virtual void | setObjectSubscriptionList (const std::vector< DtString > &objectClasses) |
| Sets the object subscription list to the given classes. More... | |
| virtual void | setInteractionSubscriptionList (const std::vector< DtString > &interactionClasses) |
| Sets the interaction subscription list to the given classes. More... | |
| virtual void | setSubscriptionList (const DtSubscriptionListFile &list) |
| Sets the subscription lists to a subset of classes. More... | |
| virtual const DtSubscriptionListFile & | subscriptionList () const |
| Access to the subscription list. More... | |
| virtual std::vector< DtString > | objectSubscriptionList () const |
| Gets the object subscription list. More... | |
| virtual std::vector< DtString > | interactionSubscriptionList () const |
| Gets the interaction subscription list. More... | |
| virtual void | subscribeToData () |
| Subscribe to data (excluding the subscription list) More... | |
| virtual void | unsubscribeToData () |
| Unsubscribe to data (excluding the subscription list). More... | |
| virtual void | addTrafficAnalyzerFilter (DtHlaTAFilter *taFilter) |
| Add a traffic analyzer filter. More... | |
| virtual void | removeTrafficAnalyzerFilter (DtHlaTAFilter *taFilter) |
| Remove a traffic analyzer filter. More... | |
| virtual bool | evaluateTrafficAnalyzerFilters (const DtStateRepository &stateRep, const DtHlaObject &obj) |
| Evaluate the traffic analyzer filters using the given object and its state repository Return bool: object matched filter? More... | |
| virtual bool | evaluateTrafficAnalyzerFilters (const DtInteraction &interaction) |
| Evaluate the traffic analyzer filters using the given interaction Return bool: interaction matched filter? More... | |
| virtual DtLgrFileInput * | openFileForInput (const DtString &filename) const |
| Opens a file for reading. More... | |
| virtual DtLgrFileOutput * | openFileForCopying (const DtString &filename, const DtLgrFileInput *input) const |
| Opens a file for writing using the settings of the input file. More... | |
| virtual DtLgrFileOutput * | openFileForOutput (const DtString &filename, const DtString &description) const |
| Opens a file for writing using the settings defined by the simulation. More... | |
| virtual DtLgrFileInput * | openPartialFileForCopying (const DtLgrFileOutput *output, DtFilePosition firstPacket, DtFilePosition lastPacket) const |
| Opens a file for reading which is currently being recorded to. More... | |
| virtual void | initPlayback (DtLgrFileInput &input) |
| Perform initialization before tape playback. More... | |
| virtual DtMessageState * | createState () const |
| Creates an empty state object. More... | |
| virtual bool | connect (DtExerciseConnInitializer &initializer, DtString &failureReason) |
| Connect to an exercise. More... | |
| virtual void | connectShared (DtExerciseConn *exConn) |
| Connect to a shared DtExerciseConn. More... | |
| virtual void | disconnect () |
| Disconnect. More... | |
| virtual bool | ignoreAdvisories () const |
| Get whether the connection will ignore advisories. More... | |
| virtual void | setDrainInputMaxTime (double maxTime) |
| Set the network read max time (in seconds). More... | |
| virtual void | setDrainInputMinTime (double minTime) |
| Set the network read min time (in seconds). More... | |
| virtual double | drainInputMaxTime () const |
| Get the network read max time (in seconds). More... | |
| virtual double | drainInputMinTime () const |
| Get the network read min time (in seconds). More... | |
| virtual void | setPassiveSubscription (bool ignore) |
| Set the connection to ignore advisories. More... | |
| virtual bool | passiveSubscription () const |
| Get whether the connection will ignore advisories. More... | |
| virtual void | setDdmEnabled (bool enableDdm) |
| Set the logger to enable or disable DDM mode. More... | |
| virtual bool | ddmEnabled () const |
| Get if the logger has DDM enabled. More... | |
| virtual void | setTrafficAnalyzerEnabled (bool enableTrafficAnalyzer) |
| Set the logger to enable or disable the traffic analyzer. More... | |
| virtual bool | trafficAnalyzerEnabled () const |
| Get if the logger has traffic analyzer enabled. More... | |
| virtual const DtLgrOnlineFomDesc * | fomDescription () const |
| Get the current fom. More... | |
| virtual DtHlaObjectFactory * | defaultObjectFactory () |
| Get the default object factory More... | |
| virtual void | setTimeManagementSettings (bool constrainOnRecord, bool constrainOnPlayback, bool regulateOnRecord, bool regulateOnPlayback, double lookAheadTime) |
| Set the current time management settings. More... | |
| virtual bool | isTimeManagementEnabled () const |
| Get whether time management is enabled. More... | |
| virtual bool | enableTimeConstrained () |
| Enables HLA time constrained mode for the federate. More... | |
| virtual bool | testTimeManagement () |
| Test for time management. More... | |
| virtual bool | disableTimeConstrained () |
| Disable HLA time constrained mode. More... | |
| virtual bool | isTimeConstrained () const |
| Is federate currently time constrained? More... | |
| virtual bool | enableTimeRegulating (double lookAheadInterval) |
| Enables HLA time constrained mode for the federate. More... | |
| virtual bool | disableTimeRegulating () |
| Disable HLA time constrained mode. More... | |
| virtual bool | isTimeRegulating () const |
| Is federate currently time constrained? More... | |
| virtual void | registerTimeAdvanceGrant () |
| Register a time advance grant;. More... | |
| virtual void | unregisterTimeAdvanceGrant () |
| Unregister a time advance grant;. More... | |
| virtual double | requestTimeAdvance () |
| Request a time advance upto the time input has been processed. More... | |
| virtual double | requestAdvanceToNextEvent () |
| Request time advance to next event. More... | |
| virtual bool | isTimeAdvanceGrantRegistered () const |
| Check to see if a time advance grant callback has been registered. More... | |
| virtual double | lookAheadTime () const |
| Get the current lookahead time. More... | |
| virtual double | workingLookAheadTime () const |
| Get the current working lookahead time. More... | |
| virtual bool | constrainOnRecord () const |
| Get whether to constrain on recording. More... | |
| virtual bool | constrainOnPlayback () const |
| Get whether to constrain on playback. More... | |
| virtual bool | regulateOnRecord () const |
| Get whether to regulate on recording. More... | |
| virtual bool | regulateOnPlayback () const |
| Get whether to regulate on playback. More... | |
| virtual void | setInitialTime (DtAbsoluteTime initialTime) |
| Set the initial time when play begins. More... | |
| virtual double | fedTime () const |
| Get the current federate time. More... | |
| virtual double | requestedTime () const |
| Get the current requested time or federate time if idle (i.e. not advancing). More... | |
| virtual double | initialFedTime () const |
| Get the initial federate time. More... | |
| virtual double | timeAdvanced () const |
| Return the time advanced during the last tick. More... | |
| virtual bool | isTimeAdvancing () const |
| Is time advancing. More... | |
| virtual bool | isRequestingNextEvent () const |
| Is time advancing. More... | |
| virtual bool | isRequestingTimeAdvance () const |
| Is time advancing. More... | |
| virtual void | setDisableTimeManagementTest (bool disableTest) |
| Disable time management test. More... | |
| virtual bool | isValidTime (const DtAbsoluteTime &packetTime) const |
| Return if given packet time would be valid for sending an interaction or update. More... | |
| virtual void | setAllowUnsubscribes (bool allowUnsubscribe) |
| Set whether the logger can unsubscribe. More... | |
| virtual bool | allowUnsubscribes () const |
| Get if the logger can unsubscribe. More... | |
| virtual const DtString & | dynamicNamePrefix () const |
| Get the string to prefix to objects with a dynamic name prefix. More... | |
| virtual void | setDynamicNamePrefix (const DtString &dynamicNamePrefix) |
| Set the string to prefix to objects with a dynamic name prefix. More... | |
| virtual DtLgrHlaSimDriver * | simDriver () |
| Access to the simulation driver. More... | |
| virtual const DtLgrHlaSimDriver * | simDriver () const |
| Access to the simulation driver. More... | |
| virtual bool | testDdm () const |
| Test if DDM calls are available. More... | |
| virtual bool | addPlaybackRegionSetForObjectName (const DtString &objectName, const DtString ®ionSetName) |
| Map the region descriptor set name to the object instance name. More... | |
| virtual void | removePlaybackRegionSetForObjectName (const DtString &objectName) |
| Remove the region set mapping for the given object name. More... | |
| virtual unsigned int | getPlaybackRegionSetForObjectName (DtString objectName, DtDDMRegionSet ®ionSet, bool cacheRegions=true) |
| Fill the given region set with regions for sending updates for an object of the given name. More... | |
| virtual bool | addPlaybackRegionSetForInteractionClass (const DtString &className, const DtString ®ionSetName) |
| Map the region descriptor set name to the interaction class name. More... | |
| virtual void | removePlaybackRegionSetForInteractionClass (const DtString &className) |
| Remove the region set mapping for the given interaction class name. More... | |
| virtual unsigned int | getPlaybackRegionSetForInteractionClass (DtString className, DtDDMRegionSet ®ionSet, bool cacheRegions=true) |
| Fill the given region set with regions for sending interactions of the given class Created regions are cached and reused for subsequent calls unless specified otherwise. More... | |
| virtual void | subscribeToList (const DtSubscriptionListFile &sublist) |
| Set the list of class names and mappings to regions to use for subscription. More... | |
| virtual void | setPublicationList (const DtSubscriptionListFile &publist) |
| Set the list of names (class or object) to region mappings to use for publishing objects and sending interactions. More... | |
| virtual const DtSubscriptionListFile & | publicationList () const |
| Access to the publication list. More... | |
| virtual void | setConfigurationFileName (const DtString &filename) |
| Set the configuration file name. More... | |
| virtual DtLgrFomWithRegions * | fomWithRegions () |
| Access to the fom data including region data. More... | |
| virtual MAKLogger::DtPlaybackRegionMode | playbackRegionMode () const |
| Control for how (and if) regions are used during playback. More... | |
| virtual void | setPlaybackRegionMode (MAKLogger::DtPlaybackRegionMode val) |
| Set control for how (and if) regions are used during playback. More... | |
| virtual MAKLogger::DtSubscribeRegionMode | subscribeRegionMode () const |
| Control for how (and if) regions are used to subscribe. More... | |
| virtual void | setSubscribeRegionMode (MAKLogger::DtSubscribeRegionMode val) |
| Set control for how (and if) regions are used to subscribe. More... | |
| virtual bool | playbackRegionDynamicAssociationEnabled () const |
| Return bool: objects can change regions during playback? More... | |
| virtual void | setPlaybackRegionDynamicAssociationEnabled (bool val) |
| Set if objects can change regions during playback. More... | |
| virtual bool | playbackRegionDynamicExtentsEnabled () const |
| Return bool: object region extents can change during playback (versus fixed)? More... | |
| virtual void | setPlaybackRegionDynamicExtentsEnabled (bool val) |
| Set if object region extents can change during playback (versus fixed) More... | |
| virtual bool | recordConveyedRegionsEnabled () const |
| Return bool: record conveyed regions? More... | |
| virtual void | setRecordConveyedRegionsEnabled (bool val) |
| Set if conveyed regions are recorded. More... | |
| virtual bool | requestUpdatesEnabled () const |
| Return bool: updates are requested (when subscribing and discovering objects)? More... | |
| virtual void | setRequestUpdatesEnabled (bool val) |
| Set if updates are requested (when subscribing and discovering objects) More... | |
| virtual bool | subscribeUnspecifiedAttributesEnabled () const |
| Return bool: subscribe to unspecified attributes (without routing space or dimensions)? More... | |
| virtual void | setSubscribeUnspecifiedAttributesEnabled (bool val) |
| Set if unspecified attributes (without routing space or dimensions) are subscribed. More... | |
| virtual bool | playbackWithoutRegionsEnabled () const |
| Return bool: Can an interaction be sent without region. More... | |
| virtual void | setPlaybackWithoutRegionsEnabled (bool val) |
| Set if an interaction can be sent without region. More... | |
| virtual bool | subscribeToAllClassesEnabled () const |
| Return bool: initialize subscription list to all classes in the fom? More... | |
| virtual void | setSubscribeToAllClassesEnabled (bool val) |
| Set if subscription list is initialized to all classes in the fom? More... | |
| virtual const DtLgrSimInput * | input () const |
| Accessor for the simulation input. More... | |
| virtual DtLgrSimInput * | input () |
| Accessor for the simulation input. More... | |
| virtual const DtLgrSimOutput * | output () const |
| Accessor for the simulation output. More... | |
| virtual DtLgrSimOutput * | output () |
| Accessor for the simulation output. More... | |
| virtual const DtMessageState * | state () const |
| Accessor for the simulation state. More... | |
| virtual DtMessageState * | state () |
| Accessor for the simulation state. More... | |
| virtual void | setSendOnlyUpdatedValues (bool updatesOnly) |
| Set/Get whether to send only updated attributes (without filling in default values) More... | |
| virtual bool | sendOnlyUpdatedValues () const |
| Set/Get whether to send only updated attributes (without filling in default values) More... | |
Public Member Functions inherited from MAKLogger::DtLgrBaseSimManager | |
| virtual | ~DtLgrBaseSimManager () |
| virtual void | setShareExerciseConn (bool shared) |
| Set the the logger is using a shared exercise connection. More... | |
| virtual void | setSimTime (DtAbsoluteTime simTime) |
| Set the current simulation time. More... | |
| virtual double | exConnSimTime () const |
| Get the exercise connection sim time. More... | |
| virtual void | setExConnSimTime (double time) |
| Set the exercise connection sim time. More... | |
| virtual void | setAllowSetSimTime (bool setSimTime) |
| Set whether the logger can set sim time for the exercise connection. More... | |
| virtual bool | allowSetSimTime () const |
| Get whether the logger is allowed to set sim time for the exercise connection. More... | |
| virtual void | setDrainInputOnTick (bool drainInput) |
| Set the drain input on tick flag. More... | |
| virtual bool | drainInputOnTick () const |
| Get whether the logger can drain input on tick. More... | |
| virtual bool | activity () const |
| Get whether there is simulation activity. More... | |
| virtual DtExerciseConn * | exerciseConn () |
| Get the current exerciseConn. More... | |
| virtual DtExerciseConn * | exerciseConn () const |
| Get the current exerciseConn. More... | |
Public Member Functions inherited from MAKLogger::DtLgrSimManager | |
| DtLgrSimManager () | |
| virtual | ~DtLgrSimManager () |
| virtual bool | scaleAttributes () const |
| Get whether attributes are scaled with time scaling. More... | |
| virtual void | setScaleAttributes (bool enable) |
| Enable or Disable attribute scaling. More... | |
| virtual void | activateIdleListening (DtMessagePipeline *pipeLine) |
| Activate listening while idle. More... | |
| virtual void | deactivateIdleListening (DtMessagePipeline *pipeLine) |
| Deactivate listening while idle. More... | |
| virtual void | setTimeProvider (DtTimeProvider *provider) |
| Set the time provider. More... | |
| virtual DtAbsoluteTime | simTime () const |
| A function to get the current simulation time. More... | |
| virtual void | setAdjustSimTime (bool adjustSimTime) |
| Set whether to adjust sim time based on jumps in time. More... | |
| virtual bool | isSimTimeAdjusted () const |
| Is sim time being adjusted? More... | |
| virtual DtTime | adjustedSimTime (DtTime packetTime, bool includeOffset=false) const |
| Given a packet time return a sim time for sending it to network that has been adjusted based on jumps in time (if adjustments are enabled) Add in time offset if specified (e.g. More... | |
| virtual void | setTimeJump (DtAbsoluteTime jumpTime) |
| Set the adjustments to time when a jump is made. More... | |
| virtual int | remoteControlId () const |
| Get the remote control id. More... | |
| virtual void | setRemoteControlId (int id) |
| Set the remote control id for this logger. More... | |
| virtual void | activateFilters (const DtMessageIOInfo *info) |
| Activate sim filters. More... | |
| virtual void | deactivateFilters () |
| Deactivate sim filters. More... | |
| virtual bool | filter (DtPacket *packet) |
| Check to see if the packet should be filtered. More... | |
| virtual int | addFilter (DtLgrPacketFilter *filter) |
| Add filter. More... | |
| virtual int | removeFilter (const DtLgrPacketFilter *filter) |
| Remove a filter. More... | |
| virtual int | filterCount () const |
| Get the count of filters. More... | |
| virtual int | filterIndex (const DtLgrPacketFilter *filter) const |
| Get the index of the given filter. More... | |
| virtual void | setHeartbeatIntervals (const std::map< DtString, DtLgrSimDriver::HeartbeatTimeRecord > &intervals) |
| virtual const std::map < DtString, DtLgrSimDriver::HeartbeatTimeRecord > & | heartbeatIntervals () const |
| virtual void | setTimeoutIntervals (const std::map< DtString, DtLgrSimDriver::HeartbeatTimeRecord > &intervals) |
| virtual const std::map < DtString, DtLgrSimDriver::HeartbeatTimeRecord > & | timeoutIntervals () const |
| virtual void | updateEntityTracker (const DtString &tracker) |
| Update the driver's entity tracker to match argument. More... | |
| virtual void | setAllowEntityTracking (bool trackingEnabled) |
| Set a flag that allows entity tracking or not (i.e., even if there is an entity tracker, controls if it is returned or not) More... | |
| virtual DtLgrEntityTracker * | entityTracker () |
| Get the current entity tracker, or null if none or tracking is disabled. More... | |
| virtual const DtLgrEntityTracker * | entityTracker () const |
| Get the current entity tracker, or null if none or tracking is disabled. More... | |
| virtual const std::vector < DtString > & | filterEntityList () |
| Get the list of filtered entity ID's that were set in the config file. More... | |
| virtual void | addTemporaryTrackedEntity (const DtString &name) |
| virtual void | addTemporaryTrackedMarking (const DtString &marking) |
| virtual void | setEntityTracker (DtLgrEntityTracker *tracker) |
| takes ownership More... | |
| virtual void | addToFilterEntityList (const std::vector< DtString > &nameList) |
| virtual bool | listenWhenIdle () const |
| Listen when idle? More... | |
| virtual void | setListenWhenIdle (bool val) |
| Set flag to listen when connecting;. More... | |
| virtual bool | staticDRAlgorithmWhenPaused () const |
| Change Dead Reckon Algorithm to Static on Pause? More... | |
| virtual void | setStaticDRAlgorithmWhenPaused (bool staticDRAlgorithm) |
| Set flag to swap Dead Reckon Algorithm to static when paused. More... | |
| virtual void | setEntitiesForRefresh (const DtLgrEntityTracker::EntryHandleSet &handleSet) |
| Indicate/clear set of entities that need to be refreshed. More... | |
| virtual const DtLgrEntityTracker::EntryHandleSet & | entitiesForRefresh () const |
| Indicate/clear set of entities that need to be refreshed. More... | |
| virtual void | clearEntitiesForRefresh () |
| Indicate/clear set of entities that need to be refreshed. More... | |
| virtual DtTimeProvider * | timeProvider () |
| Get the time provider. More... | |
| virtual const DtTimeProvider * | timeProvider () const |
| Get the time provider. More... | |
| virtual DtLgrPacketFilter * | filterByIndex (int index) |
| Get filter by index. More... | |
| virtual const DtLgrPacketFilter * | filterByIndex (int index) const |
| Get filter by index. More... | |
| virtual bool | playbackFilesUseRandomAccess () const |
| Set/Get flag indicating playback files opened to optimize random access (primarily for windows) More... | |
| virtual void | setPlaybackFilesUseRandomAccess (bool val) |
| Set/Get flag indicating playback files opened to optimize random access (primarily for windows) More... | |
| virtual double | extendedStopTimeoutInterval () const |
| When simultaneously playing back a file that is being recorded this value controls how long playback that has reached the stop time should wait for the recording file to expand and increase the stop time allowing playback to continue. More... | |
| virtual void | setExtendedStopTimeoutInterval (double interval) |
| When simultaneously playing back a file that is being recorded this value controls how long playback that has reached the stop time should wait for the recording file to expand and increase the stop time allowing playback to continue. More... | |
Protected Types | |
| typedef RTI::LogicalTime | RtiTime |
| typedef RTI::LogicalTimeInterval | RtiTimeInterval |
| typedef LogicalTimeImpl | RtiTimeImpl |
| typedef LogicalTimeIntervalImpl | RtiTimeIntervalImpl |
| typedef std::map< DtString, DtDDMRegionSet > | DtNameRegionMap |
Protected Types inherited from MAKLogger::DtLgrSimManager | |
| typedef std::list < DtLgrPacketFilter * > | FilterList |
Protected Member Functions | |
| virtual const DtLgrHlaConfigData & | configData () const |
| virtual bool | getSubscribeRegionSetForObjectClass (const DtString &classname, DtDDMRegionSet ®ionSet) const |
| Get the subscribe region set used for the specified object class, or an empty set if none Return bool: found region set. More... | |
| virtual bool | getSubscribeRegionSetForInteractionClass (const DtString &classname, DtDDMRegionSet ®ionSet) const |
| Get the subscribe region set used for the specified interaction class, or an empty set if none Return bool: found region set. More... | |
| virtual bool | getGlobalObjectRegionSet (const DtString &className, DtDDMRegionSet ®ionSet) |
| Fill the given region set with the global region to be used for subscribing to given object class. More... | |
| virtual bool | getGlobalInteractionRegionSet (const DtString &className, DtDDMRegionSet ®ionSet) |
| Fill the given region set with the global region to be used for subscribing to given interaction class. More... | |
| virtual void | setObjectClassSubscriptionState (const DtString &name, const DtDDMRegionSet ®ionset, bool subscribeToClass) |
| Control the subscription of a single object class. More... | |
| virtual void | setInteractionClassSubscriptionState (const DtString &name, const DtDDMRegionSet ®ionset, bool subscribeToClass) |
| Control the subscription of a single interaction class. More... | |
| virtual void | subscribeObjectClasses (const std::set< DtString > &objectClasses, const DtSubscriptionListFile &sublist) |
| Subscribe to the given object class names. More... | |
| virtual void | subscribeInteractionClasses (const std::set< DtString > &interactionClasses, const DtSubscriptionListFile &sublist) |
| Subscribe to the given interaction class names. More... | |
| virtual void | rtiErrorCb (const char *label) |
| virtual int | drainInput () |
| Make call to exercise connection drainInput with try-catch and handle exceptions For now, everything except (...) will be handled with a warning. More... | |
| virtual int | drainInput (DtTime maxTime, DtTime minTime) |
| Make call to exercise connection drainInput with try-catch and handle exceptions For now, everything except (...) will be handled with a warning. More... | |
| virtual void | timeAdvanceGrant (const RtiTime &) |
| Indicate if warnings should be posted on failure. More... | |
| virtual void | timeConstrainedEnable (const RtiTime &) |
| Indicate if warnings should be posted on failure. More... | |
| virtual void | timeRegulationEnable (const RtiTime &) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeEnableTimeConstrained (bool checkLongOperation, bool postWarnings) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeFlushQueue (RtiTimeImpl &newTime) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeQueryMinNextEventTime (RtiTimeImpl &nextTime) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeNextMessageRequest (RtiTimeImpl &nextTime, bool available) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeTimeAdvanceRequest (RtiTimeImpl &nextTime, bool available) |
| Indicate if warnings should be posted on failure. More... | |
| virtual void | initializeFederationTime () |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeChangeLookAheadTime (double time) |
| Indicate if warnings should be posted on failure. More... | |
| virtual bool | invokeQueryLogicalTime (RtiTimeImpl &) |
| Indicate if warnings should be posted on failure. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrBaseSimManager | |
| DtLgrBaseSimManager (DtLogger &logger) | |
Static Protected Member Functions | |
| static void | timeAdvanceGrantCb (const RtiTime &, void *simMan) |
| static void | timeConstrainedEnableCb (const RtiTime &, void *simMan) |
| static void | timeRegulationEnableCb (const RtiTime &, void *simMan) |
| static void | rtiErrorCb (const char *label, void *simMan) |
The HLA simulation manager.
|
protected |
| typedef DtObjectPublisher*( MAKLogger::DtLgrHlaSimulationManager::DtPublisherCreator)() |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Map the region descriptor set name to the interaction class name.
The mapping is added only if region set name is found in publication list. Return bool: mapping was added?
|
virtual |
Map the region descriptor set name to the object instance name.
The mapping is added only if region set name is found in publication list. Return bool: mapping was added?
|
virtual |
Add a traffic analyzer filter.
|
virtual |
Get if the logger can unsubscribe.
|
protectedvirtual |
|
virtual |
Connect to an exercise.
If connect fails, pass reason for failure through given string. Return bool: connected succeeded?
Implements MAKLogger::DtLgrBaseSimManager.
|
virtual |
Connect to a shared DtExerciseConn.
|
virtual |
Get whether to constrain on playback.
|
virtual |
Get whether to constrain on recording.
|
virtual |
Creates an empty state object.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Get if the logger has DDM enabled.
|
virtual |
Get the default object factory
|
virtual |
Disable HLA time constrained mode.
Federate is free to advance time independent of the federation. This call will repeatedly call drainInput on the exConn until time constrained status is disabled.
|
virtual |
Disable HLA time constrained mode.
Federate is free to advance time independent of the federation. This call will repeatedly call drainInput on the exConn until time constrained status is disabled.
|
virtual |
Disconnect.
Implements MAKLogger::DtLgrBaseSimManager.
Reimplemented in MAKLogger::DtLgrHlaDdmSimulationManager.
|
protectedvirtual |
Make call to exercise connection drainInput with try-catch and handle exceptions For now, everything except (...) will be handled with a warning.
|
protectedvirtual |
Make call to exercise connection drainInput with try-catch and handle exceptions For now, everything except (...) will be handled with a warning.
|
virtual |
Get the network read max time (in seconds).
|
virtual |
Get the network read min time (in seconds).
| MAKLogger::DtLgrHlaSimulationManager::DT_VIRTUAL_CTR | ( | DtLgrHlaSimulationManager | , |
| (DtLogger &logger, DtLgrHlaSimDriver *simDriverPtr) | |||
| ) |
|
virtual |
Get the string to prefix to objects with a dynamic name prefix.
|
virtual |
Enables HLA time constrained mode for the federate.
You must call this before making any calls to advanceFedTime(). This call will repeatedly call drainInput on the exConn until time constrained status is granted.
|
virtual |
Enables HLA time constrained mode for the federate.
You must call this before making any calls to advanceFedTime(). This call will repeatedly call drainInput on the exConn until time constrained status is granted.
|
virtual |
Evaluate the traffic analyzer filters using the given object and its state repository Return bool: object matched filter?
|
virtual |
Evaluate the traffic analyzer filters using the given interaction Return bool: interaction matched filter?
|
virtual |
Get the current federate time.
|
virtual |
Get the current fom.
If not connected returns null ptr.
|
virtual |
Access to the fom data including region data.
|
protectedvirtual |
Fill the given region set with the global region to be used for subscribing to given interaction class.
If class has no associated routing space or dimensions then region set will be set to the empty set. Return bool: class has associated routing space or dimensions (i.e., global region exists and region set is non empty)
|
protectedvirtual |
Fill the given region set with the global region to be used for subscribing to given object class.
The first retrievable attribute of the class (not privilege to delete) is used to determine routing space or dimension set. If class (or base classes) has no attributes or attributes have no associated routing space or dimensions then region set will be set to the empty set. Return bool: class attributes have routing space or dimensions (i.e., global region exists and region set is non empty)
|
virtual |
Fill the given region set with regions for sending interactions of the given class Created regions are cached and reused for subsequent calls unless specified otherwise.
Return the size of the region set (i.e., 0 indicates no regions)
|
virtual |
Fill the given region set with regions for sending updates for an object of the given name.
Created regions are cached and reused for subsequent calls unless specified otherwise. Return the size of the region set (i.e., 0 indicates no regions)
|
virtual |
Get whether the connection will ignore advisories.
|
virtual |
Get the initial federate time.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
virtual |
Perform initialization before tape playback.
Reimplemented from MAKLogger::DtLgrSimManager.
|
virtual |
Accessor for the simulation input.
Implements MAKLogger::DtLgrBaseSimManager.
|
virtual |
Accessor for the simulation input.
Implements MAKLogger::DtLgrBaseSimManager.
|
virtual |
Gets the interaction subscription list.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
virtual |
Returns true if an exercise connection has been established.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Returns true if an exercise connection has been established and its in a good state.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Is time advancing.
|
virtual |
Is time advancing.
|
virtual |
Check to see if a time advance grant callback has been registered.
|
virtual |
Is time advancing.
|
virtual |
Is federate currently time constrained?
|
virtual |
Get whether time management is enabled.
|
virtual |
Is federate currently time constrained?
|
virtual |
Return if given packet time would be valid for sending an interaction or update.
Time value is adjusted if necessary to compensate for time jumps
|
virtual |
Get the current lookahead time.
|
virtual |
Gets the object subscription list.
|
virtual |
Opens a file for writing using the settings of the input file.
The simulation manager typically does NOT need to be connected for this to succeed.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Opens a file for reading.
The simulation manager typically does NOT need to be connected for this to succeed. Must be opened in Sim Manager interface for protocol specific information.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Opens a file for writing using the settings defined by the simulation.
Typically the simulation manager MUST be connected for this call to succeed. Must be opened in Sim Manager interface for protocol specific information.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Opens a file for reading which is currently being recorded to.
| Input | |
| firstPacketPosition | paramter can optionally set the first packet position, if this is set to '0' which is not a valid position it will use the first packet if finds (ie the actually first packet). |
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Accessor for the simulation output.
Implements MAKLogger::DtLgrBaseSimManager.
|
virtual |
Accessor for the simulation output.
Implements MAKLogger::DtLgrBaseSimManager.
|
virtual |
Get whether the connection will ignore advisories.
|
virtual |
Return bool: objects can change regions during playback?
|
virtual |
Return bool: object region extents can change during playback (versus fixed)?
|
virtual |
Control for how (and if) regions are used during playback.
|
virtual |
Return bool: Can an interaction be sent without region.
|
virtual |
Access to the publication list.
|
virtual |
Return bool: record conveyed regions?
|
virtual |
Register a time advance grant;.
|
virtual |
Get whether to regulate on playback.
|
virtual |
Get whether to regulate on recording.
|
virtual |
Remove the region set mapping for the given interaction class name.
|
virtual |
Remove the region set mapping for the given object name.
|
virtual |
Remove a traffic analyzer filter.
|
virtual |
Request time advance to next event.
|
virtual |
Get the current requested time or federate time if idle (i.e. not advancing).
|
virtual |
Request a time advance upto the time input has been processed.
Returns the actual time advance.
|
virtual |
Return bool: updates are requested (when subscribing and discovering objects)?
|
protectedvirtual |
|
staticprotected |
|
virtual |
Set/Get whether to send only updated attributes (without filling in default values)
|
virtual |
Set whether the logger can unsubscribe.
|
virtual |
Set the configuration file name.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Set the logger to enable or disable DDM mode.
|
virtual |
Disable time management test.
|
virtual |
Set the network read max time (in seconds).
|
virtual |
Set the network read min time (in seconds).
|
virtual |
Set the string to prefix to objects with a dynamic name prefix.
|
virtual |
Set the exercise conn (deleting the existing one if it was set).
Reimplemented from MAKLogger::DtLgrBaseSimManager.
|
virtual |
Set the initial time when play begins.
Reimplemented from MAKLogger::DtLgrSimManager.
|
protectedvirtual |
Control the subscription of a single interaction class.
|
virtual |
Sets the interaction subscription list to the given classes.
|
protectedvirtual |
Control the subscription of a single object class.
|
virtual |
Sets the object subscription list to the given classes.
|
virtual |
Set the connection to ignore advisories.
|
virtual |
Set if objects can change regions during playback.
|
virtual |
Set if object region extents can change during playback (versus fixed)
|
virtual |
Set control for how (and if) regions are used during playback.
|
virtual |
Set if an interaction can be sent without region.
|
virtual |
Set the list of names (class or object) to region mappings to use for publishing objects and sending interactions.
|
virtual |
Set if conveyed regions are recorded.
|
virtual |
Set if updates are requested (when subscribing and discovering objects)
|
virtual |
Set/Get whether to send only updated attributes (without filling in default values)
|
virtual |
Set control for how (and if) regions are used to subscribe.
|
virtual |
Set if subscription list is initialized to all classes in the fom?
|
virtual |
Set if unspecified attributes (without routing space or dimensions) are subscribed.
|
virtual |
Sets the subscription lists to a subset of classes.
|
virtual |
Sets the subscription list to all the classes in the current FOM.
|
virtual |
Set the current time management settings.
|
virtual |
Set the logger to enable or disable the traffic analyzer.
|
virtual |
Access to the simulation driver.
|
virtual |
Access to the simulation driver.
|
virtual |
Accessor for the simulation state.
Implements MAKLogger::DtLgrSimManager.
|
virtual |
Accessor for the simulation state.
Implements MAKLogger::DtLgrSimManager.
|
protectedvirtual |
Subscribe to the given interaction class names.
Use the subscription list to create regions for the classes if list defines them.
|
protectedvirtual |
Subscribe to the given object class names.
Use the subscription list to create regions for the classes if list defines them.
|
virtual |
Control for how (and if) regions are used to subscribe.
|
virtual |
Return bool: initialize subscription list to all classes in the fom?
|
virtual |
Subscribe to data (excluding the subscription list)
|
virtual |
Set the list of class names and mappings to regions to use for subscription.
|
virtual |
Return bool: subscribe to unspecified attributes (without routing space or dimensions)?
|
virtual |
Access to the subscription list.
|
virtual |
Test if DDM calls are available.
|
virtual |
Test for time management.
|
virtual |
Tick the simulations.
Reimplemented from MAKLogger::DtLgrBaseSimManager.
|
virtual |
Return the time advanced during the last tick.
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
staticprotected |
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
staticprotected |
|
protectedvirtual |
Indicate if warnings should be posted on failure.
|
staticprotected |
|
virtual |
Get if the logger has traffic analyzer enabled.
|
virtual |
Unregister a time advance grant;.
|
virtual |
Unsubscribe to data (excluding the subscription list).
|
virtual |
Get the current working lookahead time.
For regulating, lookahead starts at 0 until it can be increased to the actual lookahead.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Default object factory.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Control whether DDM is used for record or playback.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Control whether an object's playback region associations can change (versus fixed at time publisher is created)
|
protected |
Control whether playback region extents can change after the region is first created.
|
protected |
Control how playback regions are created (using recorded data, conveyed regions, ...)
|
protected |
Control if updates and interactions are sent if region not available.
|
protected |
State of error on previous tick (determines if another tick is needed before disconnect)
|
protected |
|
protected |
Control whether conveyed regions are recorded.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Control whether request updates are used.
|
protected |
True when there has been a RTI connection error.
|
protected |
Warning label that come with the error.
|
protected |
Control whether to send only updated values.
|
protected |
Connection error handling.
Need to access exercise connection as server exercise connection when resigning So this serves as a flag and a cast of the base exercise connection
|
protected |
|
protected |
|
protected |
Control how subscribe regions are created (using config file, global, ...)
|
protected |
Control whether subscribe to all classes by default.
|
protected |
Control whether unspecified attributes are subscribed using DM when subscription is performed using DDM regions.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Control whether the traffic analyzer is enabled.
|
protected |
Traffic analyzer filters.
|
protected |