![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg. More...
Inheritance diagram for DtFederateMgr:
Collaboration diagram for DtFederateMgr:Public Types | |
| typedef DtFederateMgr *(* | DtFederateMgrCreator )(DtRIDParameters *ridParams, DtRtiAmbassadorBaseImplementor *ambImplPtr, DtConnectionMgr *connMgr, DtBoost::shared_ptr< DtRtiAssistantLrcClient > assistantClient) |
| Federate manager creator. | |
| typedef void(* | DtFedMgrPostTickCallbackFcn )(void *) |
| typedef std::pair < DtFedMgrPostTickCallbackFcn, void * > | DtFedMgrPostTickCallbackInfo |
| typedef std::map < MAKRti::DtString, DtFedMgrPostTickCallbackInfo > | DtPostTickCallbackMap |
Public Member Functions | |
| virtual | ~DtFederateMgr () |
| Destructor. | |
| virtual void | createFederationExecution (const char *executionName, const char *timeImplName, const char *fed)=0 |
| Process the create federation execution service. | |
| virtual void | destroyFederationExecution (const char *executionName)=0 |
| Process the destroy federation execution service. | |
| virtual RTI::FederateHandle | joinFederationExecution (const char *yourName, const char *executionName, RTI::FederateAmbassador *federateAmbassadorReference, unsigned long flags)=0 |
| Process the join federation execution service. | |
| virtual void | resignFederationExecution (RTI::ResignAction theAction) |
| Process the resign federation execution service. | |
| virtual void | registerFederationSynchronizationPoint (const char *label, const char *theTag)=0 |
| Process the register federation synchronization point service. | |
| virtual void | registerFederationSynchronizationPoint (const char *label, const char *theTag, DtFederateHandleSet const &syncSet)=0 |
| Process the register federation synchronization point service. | |
| virtual void | synchronizationPointAchieved (const char *label, bool successfully=true)=0 |
| Process the synchronization point achieved service. | |
| virtual MAKRti::DtString | fedFileName (MAKRti::DtString execName) |
| Return the .fed file name associated with the federation execution name. | |
| virtual MAKRti::DtString | timeImplName (MAKRti::DtString execName) |
| Return the time implementation name associated with the federation execution name. | |
| virtual void | init () |
| Virtual initialization within create. | |
| virtual bool | tick () |
| Update the state of the federation. | |
| virtual void | pretick () |
| virtual void | posttick () |
| virtual void | postTickCallbacks () |
| virtual void | addPostTickCallback (const MAKRti::DtString &label, const DtFedMgrPostTickCallbackInfo &cb) |
| virtual void | removePostTickCallback (const MAKRti::DtString &label) |
| virtual void | requestFederationSave (const char *label, const RTI::FedTime *time=NULL)=0 |
| Process the requested federation save service. | |
| virtual void | federateSaveBegun ()=0 |
| Process the federate save begun service. | |
| virtual void | federateSaveComplete ()=0 |
| Process the federate save complete service. | |
| virtual void | federateSaveNotComplete ()=0 |
| Process the federate save not complete service. | |
| virtual void | requestFederationRestore (const char *label)=0 |
| Process the request federation restore service. | |
| virtual void | federateRestoreComplete ()=0 |
| Process the federate restore complete service. | |
| virtual void | federateRestoreNotComplete ()=0 |
| Process the federate restore not complete service. | |
| virtual char * | getTransportationName (MAKRti::DtTransportType transport) |
| Get transport name service. | |
| virtual char * | getOrderName (MAKRti::DtOrderType order) |
| Get order name service. | |
| virtual MAKRti::DtTransportType | getTransportationHandle (MAKRti::DtString transport) |
| Get transport handle service. | |
| virtual MAKRti::DtOrderType | getOrderHandle (MAKRti::DtString order) |
| Get order handle service. | |
| virtual DtFederateHandle | federateHandle () const |
| Get the federate handle. | |
| virtual MAKRti::DtString const & | fedType () const |
| Get the federate type. | |
| virtual MAKRti::DtString const & | fedName () const |
| Get the federate name (HLA Evolved) | |
| virtual MAKRti::DtString const & | fedExName () const |
| Get the federation execution name. | |
| virtual unsigned long | fedExHandle () const |
| Get the federation execution handle. | |
| virtual bool | isJoined () const |
| Return boolean: federate is joined? | |
| virtual DtConnectionMgr * | connectMgr () |
| Access to the connection manager. | |
| virtual DtConnectionMgr * | connectMgr () const |
| virtual DtRIDParameters * | params () |
| Access to the RID parameters. | |
| virtual DtRIDParameters * | params () const |
| virtual DtFomClassMgr * | fom () |
| Access to the fom. | |
| virtual DtFomClassMgr * | fom () const |
| virtual DtInteractionMgr * | interMgr () |
| Access to the interaction mgr. | |
| virtual DtInteractionMgr * | interMgr () const |
| virtual DtTestManager * | testMgr () |
| Access to the test Manager. | |
| virtual DtTestManager * | testMgr () const |
| virtual DtObjectMgr * | objMgr () |
| Access to the object mgr. | |
| virtual DtObjectMgr * | objMgr () const |
| virtual DtLogicalTimeFactory * | timeFactory () |
| Access to the time factory. | |
| virtual DtLogicalTimeFactory * | timeFactory () const |
| virtual DtRtiAssistantLrcClient * | assistantClient () |
| Access to the RTI Assistant client. | |
| virtual DtRtiAssistantLrcClient * | assistantClient () const |
| virtual bool | isJoinedFederate (DtFederateHandle federateHandleValue) const |
| Return bool: Is the federate handle known to be in the federation. | |
| virtual bool | forcedToResign () const |
| Return bool: Was federate forced to resign? | |
| virtual bool | saveInitiated () const |
| return bool: save initiated? | |
| virtual bool | saveBegun () const |
| return bool: save begun? | |
| virtual bool | restoreRequested () const |
| return bool: restore requested? | |
| virtual bool | restoreInitiated () const |
| return bool: restore initiated ? | |
| virtual bool | restoreBegun () const |
| return bool: restore begun? | |
| virtual const MAKRti::DtString & | restoreLabel () const |
| return current restore label | |
| virtual const MAKRti::DtString & | lastRestoreLabel () const |
| return last restore label | |
| const MAKRti::DtString & | currentFedFileName () const |
| get/set current FED file name | |
| void | setCurrentFedFileName (const MAKRti::DtString &) |
| const MAKRti::DtString & | mimName () const |
| get/set MIM name | |
| void | setMimName (const MAKRti::DtString &) |
| const MAKRti::DtString & | currentTimeImplName () const |
| get/set current time implementation name | |
| void | setCurrentTimeImplName (const MAKRti::DtString &) |
| virtual const MAKRti::DtString & | saveLabel () const |
| Set/Get save label. | |
| virtual void | setSaveLabel (const MAKRti::DtString &value) |
| virtual const MAKRti::DtString & | lastSaveLabel () const |
| Set/Get last save label. | |
| virtual void | setLastSaveLabel (const MAKRti::DtString &value) |
| virtual void | testSaveProgress ()=0 |
| Perform exception tests on save/restore state. | |
| virtual void | initiateSave () |
| Perform the actual save possibly after waiting to enter time advancing state. | |
| virtual void | initiateTimedSave (RTI::FedTime const &saveTime) |
| Save is initiated possibly after waiting to enter time advancing state. | |
| virtual bool | save (DtRtiSaveFile &file) |
| Perform the actual save. | |
| virtual bool | restore (DtRtiSaveFile &file) |
| Perform the actual restore. | |
| virtual MAKRti::DtString & | getSaveFileName (const char *label, DtFederateHandle fedHandle, MAKRti::DtString &fileName, bool extendName=true) |
| Create a save file name from the label and return in supplied parameter. | |
| virtual MAKRti::DtString & | getRestoreFileName (const char *label, DtFederateHandle fedHandle, MAKRti::DtString &fileName) |
| Create a restore file name from the label and return in supplied parameter. | |
| virtual unsigned long | tickCount () const |
| Return the number of ticks. | |
| virtual bool | isTicking () const |
| Return true if currently processing tick. | |
| virtual void | reportLatencyTestResults (const DtLatencyReportMsg &msg) |
| Report results of a latency test. | |
| virtual void | reportLatencyTestStatus (const DtTestMgrStatusMsg &msg) |
| Report current latency test status. | |
| virtual void | setWebServerConnected (bool connected) |
| Inform assistant and rtiexec that a web server connection has been established. | |
| unsigned long | flags () const |
| DtResignAction | automaticResignDirective () const |
| virtual void | setTopLevelAmbassador (RTI::RTIambassador *ambPtr) |
| Provide access to top level RTI Ambassador (and Federate Ambassador for 1516E) | |
| RTI::RTIambassador * | rtiAmb () |
| Access to the top level RTI Ambassador given to the federate. | |
| RTI::RTIambassador * | rtiAmb () const |
| Access to the top level RTI Ambassador given to the federate. | |
| virtual RTI::FederateAmbassador * | federateAmbassador () const |
| Access to the Federate Ambassador submitted by the federate. | |
Static Public Member Functions | |
| static DtFederateMgr * | create (DtRIDParameters *params, DtRtiAmbassadorBaseImplementor *ambImplPtr, DtConnectionMgr *connMgr, DtBoost::shared_ptr< DtRtiAssistantLrcClient > assistantClient) |
| A Federate Manager instance is created, initialized, and its pointer is returned. | |
| static void | setCreatorFunction (DtFederateMgrCreator fn) |
| Register a creator function. | |
| static void | setInternalCreatorFunction (DtFederateMgrCreator fn) |
| Register alternate internal creators. | |
Protected Member Functions | |
| DtFederateMgr (DtRIDParameters *params, DtRtiAmbassadorBaseImplementor *ambImplPtr, DtConnectionMgr *connMgr, DtBoost::shared_ptr< DtRtiAssistantLrcClient > assistantClient) | |
| Constructor. | |
| virtual void | sendAlive () |
| Send the alive message. | |
| virtual void | sendResignMsg (const char *fedExName, DtFederateHandle fedHandle, DtResignAction action) |
| Send the resign message. | |
| void | sendTickedMsg () |
| Send the signal ticked message. | |
| virtual void | applyRidParameters () |
| Apply RID parameters. | |
| virtual MAKRti::DtFilename | fedFileNameToUse (MAKRti::DtString fileName, MAKRti::DtString executionName) |
| Utility function, finds fed file name to use based on fed file name and exeution name. | |
| virtual void | testReadFedFile (MAKRti::DtString fileName, MAKRti::DtString executionName) |
| Attempts to read a fed file but does not fill in the fom class. | |
| virtual void | readFedFile (MAKRti::DtString fileName, MAKRti::DtString executionName) |
| Reads a FED file into a DtFomClassMgr object. | |
| virtual void | readFedFilePtr (const FILE *fp, const MAKRti::DtString &fileName, const MAKRti::DtString &executionName) |
| Reads a FED file into a DtFomClassMgr object. | |
| virtual void | addFedExNameMapping (const MAKRti::DtString &execName, const MAKRti::DtString &timeImplName, const MAKRti::DtString &fed) |
| Add mapping between federation execution name, time Impl Name and fed file name. | |
| virtual void | addFomModuleNameMapping (const MAKRti::DtString executionName, const std::vector< MAKRti::DtString > &modules) |
| virtual void | addFomModuleNameMapping (const MAKRti::DtString executionName, const MAKRti::DtString &modules) |
| virtual DtResignAction | testResign (RTI::ResignAction theAction) |
| Test the resign action and return the internal representation. | |
| virtual void | postJoinInit (const char *federateType, const char *executionName, const char *federateName, RTI::FederateAmbassador *federateAmbassadorReference) |
| Uses the given information to initialize federate data. | |
| virtual MAKRti::DtResignAction | convertResignAction (RTI::ResignAction) const |
| virtual RTI::ResignAction | convertResignAction (MAKRti::DtResignAction) const |
| DtFedReader * | getReader (DtFomType theFomType, DtFomClassMgr *target) |
| DtFedReader * | getReader (DtFomType theFomType) |
| void | addToParsedFomMap (DtFedReader *myFedReader, const MAKRti::DtString &fileNameToUse, DtFomClassMgr *fedTarget, unsigned long theCrc=0) |
MessageHandling | |
Process federation management messages Registered callback call these methods | |
| virtual void | processResign (const DtResignMsg &msg) |
| Process resign message. | |
| virtual void | processEnableDisableNetworkTesting (const DtEnableDisableNetworkTestingMsg &msg) |
| disable network testing | |
| virtual void | processSaveInitiate (const DtSaveInitiateMsg &msg) |
| Process save initiate message. | |
| virtual void | processSaveResponse (const DtSaveResponseMsg &msg) |
| Process save resonse message. | |
| virtual void | processSaveFinished (const DtSaveFinishedMsg &msg) |
| Process save finished message. | |
| virtual void | processRestoreReply (const DtRestoreReplyMsg &msg) |
| Process restore reply message. | |
| virtual void | processRestoreInitiate (const DtRestoreInitiateMsg &msg) |
| Process restore initiate message. | |
| virtual void | processRestoreEnd (const DtRestoreEndMsg &msg) |
| Process restore end message. | |
| virtual void | processRestore (const DtRestoreMsg &msg) |
| Process restore message. | |
AssistantMessageHandling | |
Process assistant messages Registered callback call these methods | |
| virtual void | processAssistantResign (const DtAssistantExitMsg &msg) |
| Process resign message from Assistant. | |
| virtual void | processAssistantEnableLogging (const DtAssistantLogEnableMsg &msg) |
| Process resign message from Assistant. | |
| virtual void | processSignalTickInterval (const DtAssistantFederateSignalTickIntervalMsg &msg) |
| Process a change in the interval at which a federate is expected to tick. | |
| virtual void | processRidParamRequest (const DtAssistantRidParamsMsg &msg) |
| Process a RID parameter request from the Assistant. | |
CreateManager | |
Create various managers | |
| virtual void | createObjectMgr () |
| Create the Object Manager. | |
| virtual void | createInteractionMgr () |
| Create the Interaction Manager. | |
| virtual void | createDdmMgr () |
| Create the DDM Manager. | |
| virtual void | createTimeMgr () |
| Create the Time manager. | |
| virtual void | createMomMgr () |
| Create the MOM Manager. | |
| virtual void | createTestMgr () |
| Create the test Manager. | |
Static Protected Member Functions | |
MessageCallbacks | |
Register these callbacks methods with connection manager. Pass this manager as the user data. | |
| static void | processResign (const DtResignMsg &msg, void *usr) |
| resign message callback | |
| static void | processEnableDisableNetworkTesting (const DtEnableDisableNetworkTestingMsg &msg, void *usr) |
| process enable / disable network testing callback | |
| static void | processSaveInitiate (const DtSaveInitiateMsg &msg, void *usr) |
| save initiate message callback | |
| static void | processSaveResponse (const DtSaveResponseMsg &msg, void *usr) |
| save response message callback | |
| static void | processSaveFinished (const DtSaveFinishedMsg &msg, void *usr) |
| save finished message callback | |
| static void | processRestoreReply (const DtRestoreReplyMsg &msg, void *usr) |
| restore reply message callback | |
| static void | processRestore (const DtRestoreMsg &msg, void *usr) |
| restore message callback | |
| static void | processRestoreInitiate (const DtRestoreInitiateMsg &msg, void *usr) |
| restore initiate message callback | |
| static void | processRestoreEnd (const DtRestoreEndMsg &msg, void *usr) |
| restore end message callback | |
AssistantMessageCallbacks | |
Register these callbacks methods with the assistant client. Pass this manager as the user data. | |
| static void | processAssistantResign (const DtAssistantExitMsg &msg, void *usr) |
| Assistant resign message callback. | |
| static void | processAssistantEnableLogging (const DtAssistantLogEnableMsg &msg, void *usr) |
| Assistant logging enable message callback. | |
| static void | processSignalTickInterval (const DtAssistantFederateSignalTickIntervalMsg &msg, void *usr) |
| Assistant signal tick interval message callback. | |
| static void | processRidParamRequest (const DtAssistantRidParamsMsg &msg, void *usr) |
| Assistant RID parameter request message callback. | |
Protected Attributes | |
| RTI::RTIambassador * | myRtiAmb |
| The federate's RTI Ambassador. | |
| DtRtiAmbassadorBaseImplementor * | myAmbImpl |
| The federate's RTI Ambassador Implementor. | |
| MAKRti::DtTime | myResponseInterval |
| Interval to wait for response message during a message protocol. | |
| MAKRti::DtString | myFedExName |
| Federation execution name. | |
| unsigned long | myFedExHandle |
| Federation handle. | |
| MAKRti::DtString | myFedType |
| Federate type. | |
| MAKRti::DtString | myFedName |
| Federate name. | |
| DtFederateHandle | myFedHandle |
| Federate handle. | |
| MAKRti::DtString | myCurrentFedFileName |
| Current FED/FDD file name. | |
| MAKRti::DtString | myMimName |
| MIM name. | |
| MAKRti::DtString | myCurrentTimeImplName |
| Current time implementation name. | |
| MAKRti::DtTime | myLastHeartbeat |
| Time of last heartbeat. | |
| DtLogicalTimeFactory * | myLogicalTimeFactory |
| Logical time factory Even if NULL, need to have this factory. | |
| RTI::FedTimeFactory | myHlaTimeFactory |
| DtFedAmbWrapper * | myPrinter |
| Prints data for federate ambassador calls. | |
| DtFedAmbWrapper * | myFedAmbCatch |
| Catches exceptions from federate ambassador calls. | |
| DtRIDParameters * | myParams |
| Initialization data. | |
| DtFedReader * | myFedReader |
| Temporary internal reader used until changes made to VR-Link fed reader. | |
| DtFedReader * | myFedReader13 |
| DtFedReader * | myFedReader1516 |
| DtFedReader * | myFedReader1516e |
| MAKRti::DtList | myMappingList |
| List of federation execution names with FED files names and time implementation names. | |
| std::map< MAKRti::DtString, std::set< MAKRti::DtString > > | myFedFileNames |
| std::map< MAKRti::DtString, DtFomClassMgr * > | myParsedFoms |
| Map containing FOMs parsed into FedTargets. | |
| DtBoost::shared_ptr < DtRtiAssistantLrcClient > | myAssistantClient |
| Manages the connection to the RTI Assistant. | |
| bool | myIgnoreForcedResign |
| Prevents forcing duplicate resign. | |
| bool | myForcedToResign |
| Indicates forced resign occured. | |
| MAKRti::DtClock | myClock |
| Clock for timing. | |
| unsigned long | myTickCount |
| Tick counter. | |
| bool | myIsTicking |
| indicates currently processing tick | |
| bool | myEnableFederateHeartbeat |
| is heartbeating enabled? | |
| bool | myConnectedToWebServer |
| This is set when the federate connects to the web server. | |
| unsigned long | myFlags |
| DtTestManager * | myTestMgr |
| bool | myNetworkTestEnabled |
| float | mySignalTickInterval |
| The Signal Tick Interval. | |
| DtTime | myLastTickTime |
| The last tick time. | |
| DtPostTickCallbackMap | myPostTickCallbacks |
| MAKRti::DtResignAction | myResignAction |
| The resign action. | |
ManagerAccess | |
Access to various manager components | |
| DtConnectionMgr * | myConnectMgr |
| The connection manager. | |
| DtFomClassMgr * | myFom |
| The FOM manager. | |
| DtInteractionMgr * | myInterMgr |
| The interaction manager. | |
| DtObjectMgr * | myObjMgr |
| The object manager. | |
| DtMomMgr * | myMomMgr |
| The MOM manager. | |
SaveRestoreData | |
Data used for processing save and restore. | |
| bool | mySaveInitiated |
| Indicates save initiated. | |
| bool | mySaveBegun |
| Indicates save begun. | |
| bool | myRestoreRequested |
| Indicates restore requested. | |
| bool | myRestoreInitiated |
| Indicates restore initiated. | |
| bool | myRestoreBegun |
| Indicates restore begun. | |
| MAKRti::DtString | mySaveLabel |
| The save label. | |
| MAKRti::DtString | myLastSaveLabel |
| The last save label. | |
| MAKRti::DtString | myRestoreLabel |
| The restore label. | |
| MAKRti::DtString | myLastRestoreLabel |
| The last restore label. | |
Static Protected Attributes | |
| static DtFederateMgrCreator | theCreator = 0 |
| The plugin creator. | |
| static DtFederateMgrCreator | theInternalCreator = 0 |
| The internal creator. | |
Private Member Functions | |
| DtFederateMgr (DtFederateMgr const &) | |
| Copy Constructor not implemented – Copy Not Allowed! | |
| DtFederateMgr & | operator= (DtFederateMgr const &) |
| Assignment not implemented – Assignment Not Allowed! | |
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg.
Users should generally not need to override this class directly. Instead, they should override either DtRtiExecFederateMgr (which is instantiated when using the rtiexec) or DtSimpleFederateMgr (which is used when LRCs communicate peer to peer). To inspect federation data, users can obtain a pointer to an instance of this class through the RTI's DtRtiAmbassadorBaseImplementor instance.
| typedef DtFederateMgr*(* DtFederateMgr::DtFederateMgrCreator)(DtRIDParameters *ridParams, DtRtiAmbassadorBaseImplementor *ambImplPtr, DtConnectionMgr *connMgr, DtBoost::shared_ptr< DtRtiAssistantLrcClient > assistantClient) |
Federate manager creator.
| typedef void(* DtFederateMgr::DtFedMgrPostTickCallbackFcn)(void *) |
| typedef std::pair<DtFedMgrPostTickCallbackFcn, void*> DtFederateMgr::DtFedMgrPostTickCallbackInfo |
| typedef std::map< MAKRti::DtString, DtFedMgrPostTickCallbackInfo > DtFederateMgr::DtPostTickCallbackMap |
|
protected |
Constructor.
References myConnectMgr, and DtConnectionMgr::setFederateMgr().
|
virtual |
Destructor.
References connectMgr(), DtConnectionMgr::disconnectFederation(), myAssistantClient, myFedAmbCatch, myFedReader13, myFedReader1516, myFedReader1516e, myFom, myInterMgr, myLogicalTimeFactory, myMappingList, myMomMgr, myObjMgr, myParsedFoms, myPrinter, myTestMgr, NULL, processEnableDisableNetworkTesting(), processResign(), processRestore(), processRestoreEnd(), processRestoreInitiate(), processRestoreReply(), processSaveFinished(), processSaveInitiate(), DtRestoreMsg::removeCallback(), DtSaveInitiateMsg::removeCallback(), DtRestoreInitiateMsg::removeCallback(), DtEnableDisableNetworkTestingMsg::removeCallback(), DtRestoreEndMsg::removeCallback(), DtSaveFinishedMsg::removeCallback(), DtResignDirectiveMsg::removeCallback(), DtRestoreReplyMsg::removeCallback(), DtResignMsg::removeCallback(), DtConnectionMgr::removeFedAmbWrapper(), DtConnectionMgr::setFederateMgr(), theFedAmbCatchName, and thePrinterName.
|
private |
Copy Constructor not implemented – Copy Not Allowed!
|
protectedvirtual |
Add mapping between federation execution name, time Impl Name and fed file name.
References myMappingList.
Referenced by DtRtiExecFederateMgr::createFederationExecution(), and DtRtiExecFederateMgr::initializeFOM().
|
protectedvirtual |
References myFedFileNames.
Referenced by addFomModuleNameMapping(), and DtRtiExecFederateMgr::createFederationExecution().
|
protectedvirtual |
References addFomModuleNameMapping().
|
virtual |
References myPostTickCallbacks.
Referenced by DtNetStatsMonitor::DtNetStatsMonitor().
|
protected |
References DtLibRTIUtil::crcOfBuff(), DtFomClassMgr::myCrc, and myParsedFoms.
Referenced by readFedFile(), testReadFedFile(), and DtRtiExecFederateMgr::testReadFomModules().
|
protectedvirtual |
Apply RID parameters.
Reimplemented in DtRtiExecFederateMgr.
References DtConnectionMgr::addFedAmbWrapper(), connectMgr(), DtRIDParameters::deleteOrphans, DtRIDParameters::DtAsynchronousCallbacks, myEnableFederateHeartbeat, myFedAmbCatch, myParams, myPrinter, myResignAction, DtRIDParameters::notifyLevel, params(), setVariableLengthDataUsesNull(), theFedAmbCatchName, and thePrinterName.
Referenced by init().
|
virtual |
Access to the RTI Assistant client.
References myAssistantClient.
Referenced by create(), posttick(), DtRtiExecFederateMgr::processJoinResponseMsg(), DtTestManager::processLatencyTest(), DtRtiExecFederateMgr::sendJoinMsg(), DtTestManager::sendStatusMessages(), and sendTickedMsg().
|
virtual |
References myAssistantClient.
| DtResignAction DtFederateMgr::automaticResignDirective | ( | ) | const |
References myResignAction.
Referenced by DtObjectMgr::processResign().
|
virtual |
Access to the connection manager.
References myConnectMgr.
Referenced by DtRtiExecFederateMgr::applyRidParameters(), applyRidParameters(), DtRtiExecFederateMgr::checkJoinResponse(), DtTestManager::connectMgr(), DtObjectMgr::connectMgr(), DtInteractionMgr::connectMgr(), DtRtiExecFederateMgr::createFederationExecution(), DtRtiExecFederateMgr::destroyFederationExecution(), federateAmbassador(), DtRtiExecFederateMgr::federateSaveNotComplete(), DtRtiExecFederateMgr::handleFailedJoin(), DtRtiExecFederateMgr::init(), DtRtiExecFederateMgr::initializeFOM(), DtRtiExecFederateMgr::initializeTimeFactory(), DtRtiExecFederateMgr::initiateSave(), DtRtiExecFederateMgr::initRidTester(), DtSimpleFederateMgr::joinFederationExecution(), posttick(), DtRtiExecFederateMgr::posttick(), DtRtiExecFederateMgr::processCreateResponseMsg(), DtRtiExecFederateMgr::processDesignatedFederateMsg(), DtRtiExecFederateMgr::processFomModuleFileRequestMsg(), DtRtiExecFederateMgr::processJoinResponseMsg(), processResign(), DtRtiExecFederateMgr::processRestore(), DtRtiExecFederateMgr::processRestoreEnd(), DtRtiExecFederateMgr::processRestoreInitiate(), DtRtiExecFederateMgr::processRestoreReply(), DtRtiExecFederateMgr::processSaveFinished(), DtRtiExecFederateMgr::processSaveResponse(), DtRtiExecFederateMgr::processSyncPointMsg(), reportLatencyTestResults(), reportLatencyTestStatus(), DtRtiExecFederateMgr::requestImmediateSave(), DtRtiExecFederateMgr::restore(), DtRtiExecFederateMgr::save(), sendAlive(), DtRtiExecFederateMgr::sendCreateMsg(), DtRtiExecFederateMgr::sendDestroyMsg(), DtRtiExecFederateMgr::sendJoinConfirmMsg(), DtRtiExecFederateMgr::sendJoinMsg(), sendResignMsg(), DtRtiExecFederateMgr::sendRestoreBegunMsg(), DtRtiExecFederateMgr::sendRestoreCompleteMsg(), DtRtiExecFederateMgr::sendRestoreRequestMsg(), DtRtiExecFederateMgr::sendSaveBegunMsg(), DtRtiExecFederateMgr::sendSaveCompleteMsg(), DtRtiExecFederateMgr::sendSaveRequestMsg(), DtRtiExecFederateMgr::sendSyncPointMsg(), tick(), DtRtiExecFederateMgr::waitForCreateResponse(), DtRtiExecFederateMgr::waitForJoinResponse(), ~DtFederateMgr(), and DtRtiExecFederateMgr::~DtRtiExecFederateMgr().
|
virtual |
References myConnectMgr.
|
protectedvirtual |
Referenced by processResign(), and testResign().
|
protectedvirtual |
|
static |
A Federate Manager instance is created, initialized, and its pointer is returned.
A registered creator is used if present; otherwise, an internal class is instantiated. Note: A NULL pointer will be returned unless a plugin or internal creator is set because this class is abstract.
Reimplemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
References assistantClient(), init(), params(), theCreator, and theInternalCreator.
Referenced by DtRtiAmbassadorBaseImplementor::completeConnection(), createDdmMgr(), createInteractionMgr(), createMomMgr(), createObjectMgr(), createTimeMgr(), readFedFile(), readFedFilePtr(), setCreatorFunction(), and setInternalCreatorFunction().
|
protectedvirtual |
Create the DDM Manager.
References create(), params(), and setInternalCreatorFunction().
|
pure virtual |
Process the create federation execution service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
protectedvirtual |
Create the Interaction Manager.
References create(), myInterMgr, params(), and setInternalCreatorFunction().
|
protectedvirtual |
|
protectedvirtual |
Create the Object Manager.
References create(), myObjMgr, params(), and setInternalCreatorFunction().
|
protectedvirtual |
Create the test Manager.
References enableNetworkTesting, myNetworkTestEnabled, myTestMgr, and params().
|
protectedvirtual |
| const MAKRti::DtString & DtFederateMgr::currentFedFileName | ( | ) | const |
get/set current FED file name
References myCurrentFedFileName.
Referenced by DtSimpleFederateMgr::joinFederationExecution().
| const MAKRti::DtString & DtFederateMgr::currentTimeImplName | ( | ) | const |
get/set current time implementation name
References myCurrentTimeImplName.
|
pure virtual |
Process the destroy federation execution service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
Access to the Federate Ambassador submitted by the federate.
References connectMgr(), and DtConnectionMgr::fedAmb().
|
virtual |
Get the federate handle.
References myFedHandle.
Referenced by DtRtiExecFederateMgr::federateSaveComplete(), DtTestManager::processChangeLatencyTestStatus(), DtRtiExecFederateMgr::processNewFomClasses(), processResign(), DtRtiExecFederateMgr::processRestoreInitiate(), processRidParamRequest(), DtTestManager::receiveInteraction(), sendAlive(), DtRtiExecFederateMgr::sendRestoreBegunMsg(), and DtTestManager::sendStatusMessages().
|
pure virtual |
Process the federate restore complete service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the federate restore not complete service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the federate save begun service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the federate save complete service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the federate save not complete service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
Get the federation execution handle.
References myFedExHandle.
Referenced by DtTestManager::sendStatusMessages().
|
virtual |
Get the federation execution name.
References myFedExName.
Referenced by DtSimpleFederateMgr::joinFederationExecution(), and processRidParamRequest().
|
virtual |
Return the .fed file name associated with the federation execution name.
If none has been registered using addFedExNameMapping, we use <execName>.fed.
References DtFedFileMapping::execName(), DtFedFileMapping::fedFileName(), and myMappingList.
Referenced by fedFileNameToUse(), and DtSimpleFederateMgr::joinFederationExecution().
|
protectedvirtual |
Utility function, finds fed file name to use based on fed file name and exeution name.
Back-compat with pre-1.3.6 releases, where FED file name does not come in a join response message.
References fedFileName().
Referenced by readFedFile(), and testReadFedFile().
|
virtual |
Get the federate name (HLA Evolved)
References myFedName.
|
virtual |
Get the federate type.
References myFedType.
Referenced by DtRecipientLatencyTest::addNetSendTimeStamp(), DtSimpleFederateMgr::joinFederationExecution(), and DtInitiatorLatencyTest::takeCompletedTestReport().
| unsigned long DtFederateMgr::flags | ( | ) | const |
References myFlags.
|
virtual |
Access to the fom.
References myFom.
Referenced by DtNetStatsMonitor::addDiscoveredObject(), DtNetStatsMonitor::addRecvdInteraction(), DtNetStatsMonitor::addRegisteredObject(), DtNetStatsMonitor::addSentInteraction(), DtObjectMgr::fom(), DtInteractionMgr::fom(), DtRtiAmbassadorBaseImplementor::fomMgr(), DtRtiExecFederateMgr::processNewFomClasses(), DtNetStatsMonitor::recordInteractionStats(), and DtNetStatsMonitor::recordObjectStats().
|
virtual |
References myFom.
|
virtual |
Return bool: Was federate forced to resign?
References myForcedToResign.
Referenced by DtRtiAmbassadorBaseImplementor::validatedFedMgr().
|
virtual |
Get order handle service.
References theReceiveName, and theTimestampName.
|
virtual |
Get order name service.
References NULL, theReceiveName, and theTimestampName.
|
protected |
Referenced by readFedFile(), readFedFilePtr(), and testReadFedFile().
|
protected |
Reimplemented in DtRtiExecFederateMgr.
References myFedReader, myFedReader13, myFedReader1516, myFedReader1516e, and NULL.
|
virtual |
Create a restore file name from the label and return in supplied parameter.
The default name is extended if a file with that name already exists. Name extension can be turned off using the supplied parameter. Returns a reference to the supplied file name parameter
References getSaveFileName().
Referenced by DtRtiExecFederateMgr::processRestoreInitiate().
|
virtual |
Create a save file name from the label and return in supplied parameter.
The default name is extended if a file with that name already exists. Name extension can be turned off using the supplied parameter. Returns a reference to the supplied file name parameter
References myFedExName, myFedType, params(), and DtRIDParameters::saveRestoreDirectoryPath().
Referenced by DtRtiExecFederateMgr::federateSaveComplete(), and getRestoreFileName().
|
virtual |
Get transport handle service.
References theBestEffortName, and theReliableName.
|
virtual |
Get transport name service.
References NULL, theBestEffortName, and theReliableName.
|
virtual |
Virtual initialization within create.
Reimplemented in DtRtiExecFederateMgr.
References applyRidParameters().
Referenced by create().
|
virtual |
Perform the actual save possibly after waiting to enter time advancing state.
Reimplemented in DtRtiExecFederateMgr.
|
virtual |
Save is initiated possibly after waiting to enter time advancing state.
Provide time of save.
Reimplemented in DtRtiExecFederateMgr.
|
virtual |
Access to the interaction mgr.
References myInterMgr.
Referenced by DtRtiAmbassadorBaseImplementor::interMgr(), DtTestManager::postJoinInit(), posttick(), pretick(), processResign(), DtTestManager::resign(), and DtTestManager::sendInteraction().
|
virtual |
References myInterMgr.
|
virtual |
Return boolean: federate is joined?
References myFedExName.
Referenced by DtRtiExecFederateMgr::processNewFomClassesMsg(), and tick().
|
virtual |
Return bool: Is the federate handle known to be in the federation.
References myMomMgr.
|
virtual |
Return true if currently processing tick.
References myIsTicking.
Referenced by DtAsyncConnectionMgr::send(), DtConnectionMgr::send(), and DtAsyncConnectionMgr::sendAndDelete().
|
pure virtual |
Process the join federation execution service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
return last restore label
References myLastRestoreLabel.
|
virtual |
Set/Get last save label.
References myLastSaveLabel.
| const MAKRti::DtString & DtFederateMgr::mimName | ( | ) | const |
get/set MIM name
References myMimName.
|
virtual |
Access to the object mgr.
References myObjMgr.
Referenced by DtRtiAmbassadorBaseImplementor::objMgr(), posttick(), pretick(), processResign(), and testResign().
|
virtual |
References myObjMgr.
|
private |
Assignment not implemented – Assignment Not Allowed!
|
virtual |
Access to the RID parameters.
References myParams.
Referenced by applyRidParameters(), create(), createDdmMgr(), DtRtiExecFederateMgr::createFederationExecution(), createInteractionMgr(), createMomMgr(), createObjectMgr(), createTestMgr(), createTimeMgr(), DtRtiExecFederateMgr::destroyFederationExecution(), getSaveFileName(), DtRtiExecFederateMgr::init(), DtRtiExecFederateMgr::initializeDistributor(), DtRtiExecFederateMgr::initializeFOM(), DtSimpleFederateMgr::joinFederationExecution(), DtRtiExecFederateMgr::mergeFomModules(), DtTestManager::params(), DtObjectMgr::params(), DtInteractionMgr::params(), DtRtiExecFederateMgr::posttick(), DtRtiExecFederateMgr::processFomModuleFileRequestMsg(), DtRtiExecFederateMgr::processRestore(), DtRtiExecFederateMgr::processRestoreEnd(), DtRtiExecFederateMgr::processRestoreInitiate(), DtRtiExecFederateMgr::processRestoreReply(), DtRtiExecFederateMgr::processSaveFinished(), DtRtiExecFederateMgr::processSaveInitiate(), readFedFile(), readFedFilePtr(), DtRtiExecFederateMgr::requestImmediateSave(), DtRtiExecFederateMgr::save(), DtRtiExecFederateMgr::sendJoinMsg(), testReadFedFile(), DtRtiExecFederateMgr::testReadFomModules(), tick(), DtRtiExecFederateMgr::waitForCreateResponse(), DtRtiExecFederateMgr::waitForJoinResponse(), and DtRtiExecFederateMgr::~DtRtiExecFederateMgr().
|
virtual |
References myParams.
|
protectedvirtual |
Uses the given information to initialize federate data.
DtFomClassMgr needs to be initialized before this function is called.
Reimplemented in DtRtiExecFederateMgr.
References DtSaveInitiateMsg::addCallback(), DtRestoreMsg::addCallback(), DtAssistantExitMsg::addCallback(), DtAssistantFederateSignalTickIntervalMsg::addCallback(), DtAssistantLogEnableMsg::addCallback(), DtRestoreInitiateMsg::addCallback(), DtEnableDisableNetworkTestingMsg::addCallback(), DtRestoreEndMsg::addCallback(), DtSaveFinishedMsg::addCallback(), DtResignDirectiveMsg::addCallback(), DtRestoreReplyMsg::addCallback(), DtAssistantRidParamsMsg::addCallback(), DtResignMsg::addCallback(), DtHlaVersion(), processAssistantEnableLogging(), processAssistantResign(), processEnableDisableNetworkTesting(), processResign(), processRestore(), processRestoreEnd(), processRestoreInitiate(), processRestoreReply(), processRidParamRequest(), processSaveFinished(), processSaveInitiate(), processSignalTickInterval(), tcpPort, and useRtiExec.
Referenced by DtSimpleFederateMgr::joinFederationExecution(), and DtRtiExecFederateMgr::postJoinInit().
|
virtual |
Reimplemented in DtRtiExecFederateMgr.
References assistantClient(), connectMgr(), interMgr(), myIsTicking, objMgr(), DtInteractionMgr::postTick(), DtObjectMgr::postTick(), postTickCallbacks(), DtConnectionMgr::processQueuedMessages(), DtConnectionMgr::testAutoProvideDelay(), DtConnectionMgr::testTransmitDelay(), and DtRtiAssistantClient::tick().
Referenced by DtAsyncConnectionMgr::handleMsg(), DtAsyncConnectionMgr::processMsgQueueCallbacks(), DtAsyncConnectionMgr::processPendingMsgMakeCallbacks(), DtAsyncConnectionMgr::processPendingMsgQueueCallbacks(), and DtAsyncConnectionMgr::workerThread().
|
virtual |
References myPostTickCallbacks.
Referenced by posttick().
|
virtual |
References interMgr(), myIsTicking, myTickCount, objMgr(), DtInteractionMgr::preTick(), and DtObjectMgr::preTick().
|
protectedvirtual |
Process resign message from Assistant.
References DtRtiAmbassadorBaseImplementor::enableLogging(), DtAssistantLogEnableMsg::isEnable(), and myAmbImpl.
Referenced by postJoinInit().
|
staticprotected |
Assistant logging enable message callback.
|
protectedvirtual |
Process resign message from Assistant.
References RTI::DELETE_OBJECTS_AND_RELEASE_ATTRIBUTES, rti1516::DELETE_OBJECTS_THEN_DIVEST, rti1516e::DELETE_OBJECTS_THEN_DIVEST, DtRIDParameters::DtAsynchronousCallbacks, myFedHandle, myForcedToResign, myIgnoreForcedResign, myParams, DtRIDParameters::processingModel(), and resignFederationExecution().
Referenced by postJoinInit().
|
staticprotected |
Assistant resign message callback.
|
protectedvirtual |
disable network testing
References DtTestManager::disableNetworkTesting(), DtTestManager::enableNetworkTesting(), myNetworkTestEnabled, myTestMgr, and DtEnableDisableNetworkTestingMsg::networkTestingEnabled().
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
process enable / disable network testing callback
|
protectedvirtual |
Process resign message.
References connectMgr(), convertResignAction(), DtRIDParameters::DtAsynchronousCallbacks, DtRtiMsg::federateHandle(), federateHandle(), DtConnectionMgr::fedHandle(), interMgr(), myFedHandle, myForcedToResign, myIgnoreForcedResign, myParams, objMgr(), DtRIDParameters::processingModel(), DtTestManager::processResign(), DtInteractionMgr::processResign(), DtObjectMgr::processResign(), DtResignMsg::resignAction(), resignFederationExecution(), and testMgr().
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
resign message callback
|
protectedvirtual |
Process restore message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
restore message callback
|
protectedvirtual |
Process restore end message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
restore end message callback
|
protectedvirtual |
Process restore initiate message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
restore initiate message callback
|
protectedvirtual |
Process restore reply message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
restore reply message callback
|
protectedvirtual |
Process a RID parameter request from the Assistant.
References federateHandle(), fedExName(), DtRIDParameters::getFullPathToRidFile(), myAssistantClient, myParams, and DtRIDParameters::toLispString().
Referenced by postJoinInit().
|
staticprotected |
Assistant RID parameter request message callback.
|
protectedvirtual |
Process save finished message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
save finished message callback
|
protectedvirtual |
Process save initiate message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by postJoinInit(), resignFederationExecution(), and ~DtFederateMgr().
|
staticprotected |
save initiate message callback
|
protectedvirtual |
Process save resonse message.
Reimplemented in DtRtiExecFederateMgr.
Referenced by DtRtiExecFederateMgr::requestImmediateSave().
|
staticprotected |
save response message callback
|
protectedvirtual |
Process a change in the interval at which a federate is expected to tick.
References myClock, myLastTickTime, mySignalTickInterval, and DtAssistantFederateSignalTickIntervalMsg::signalTickInterval().
Referenced by postJoinInit().
|
staticprotected |
Assistant signal tick interval message callback.
|
protectedvirtual |
Reads a FED file into a DtFomClassMgr object.
If fileName = "", this class will try to read in a file with the name <executionName>.fed
References addToParsedFomMap(), DtScopedNotifyLevelChange::changeNotifyLevel(), DtFomClassMgr::clone(), DtLibRTIUtil::crcOfRTIFedFileContents(), create(), DtToWString(), fedFileNameToUse(), getReader(), myFedReader, myFom, myParsedFoms, myResignAction, NULL, DtLibRTIUtil::openFedFile(), params(), and DtAssistantPopupHelper::popupAssistantMessage().
Referenced by DtRtiExecFederateMgr::initializeFOM(), and DtSimpleFederateMgr::joinFederationExecution().
|
protectedvirtual |
Reads a FED file into a DtFomClassMgr object.
This form is preferred when using the distributed Fed File option.
References DtScopedNotifyLevelChange::changeNotifyLevel(), create(), DtToWString(), getReader(), myFedReader, myFom, myResignAction, NULL, params(), and DtAssistantPopupHelper::popupAssistantMessage().
|
pure virtual |
Process the register federation synchronization point service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the register federation synchronization point service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
References myPostTickCallbacks.
Referenced by DtNetStatsMonitor::~DtNetStatsMonitor().
|
virtual |
Report results of a latency test.
References connectMgr(), and DtConnectionMgr::sendStamped().
Referenced by DtTestManager::processLatencyTest().
|
virtual |
Report current latency test status.
References connectMgr(), and DtConnectionMgr::sendStamped().
Referenced by DtTestManager::sendStatusMessages().
|
pure virtual |
Process the request federation restore service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
pure virtual |
Process the requested federation save service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
Process the resign federation execution service.
Reimplemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
References DtHlaVersion(), interval, processEnableDisableNetworkTesting(), processResign(), processRestore(), processRestoreEnd(), processRestoreInitiate(), processRestoreReply(), processSaveFinished(), processSaveInitiate(), DtRestoreMsg::removeCallback(), DtSaveInitiateMsg::removeCallback(), DtEnableDisableNetworkTestingMsg::removeCallback(), DtRestoreInitiateMsg::removeCallback(), DtRestoreEndMsg::removeCallback(), DtSaveFinishedMsg::removeCallback(), DtRestoreReplyMsg::removeCallback(), and DtResignMsg::removeCallback().
Referenced by processAssistantResign(), DtPartnerMgr::processPartnerReject(), processResign(), DtSimpleFederateMgr::resignFederationExecution(), and DtRtiExecFederateMgr::resignFederationExecution().
|
inlinevirtual |
Perform the actual restore.
Reimplemented in DtRtiExecFederateMgr.
|
virtual |
return bool: restore begun?
References myRestoreBegun.
Referenced by DtRtiExecFederateMgr::testSaveProgress().
|
virtual |
return bool: restore initiated ?
References myRestoreInitiated.
|
virtual |
return current restore label
References myRestoreLabel.
|
virtual |
return bool: restore requested?
References myRestoreRequested.
| RTI::RTIambassador * DtFederateMgr::rtiAmb | ( | ) |
Access to the top level RTI Ambassador given to the federate.
References myRtiAmb.
Referenced by DtTestManager::rtiAmb().
| RTI::RTIambassador * DtFederateMgr::rtiAmb | ( | ) | const |
|
inlinevirtual |
Perform the actual save.
Reimplemented in DtRtiExecFederateMgr.
|
virtual |
return bool: save begun?
References mySaveBegun.
|
virtual |
return bool: save initiated?
References mySaveInitiated.
Referenced by DtRtiExecFederateMgr::testSaveProgress().
|
virtual |
Set/Get save label.
References mySaveLabel.
|
protectedvirtual |
Send the alive message.
References connectMgr(), federateHandle(), and DtConnectionMgr::sendStampedAndDelete().
Referenced by tick().
|
protectedvirtual |
Send the resign message.
References connectMgr(), DtConnectionMgr::create(), DtNormalResign, DtResignMsgKind, DtConnectionMgr::sendStampedAndDelete(), and DtResignMsg::set().
|
protected |
Send the signal ticked message.
References assistantClient(), and DtRtiAssistantClient::sendSignalTickedMsg().
Referenced by tick().
|
static |
Register a creator function.
When set, it will be used to create the Federate Manager.
References create(), DtBindCreator(), and theCreator.
| void DtFederateMgr::setCurrentFedFileName | ( | const MAKRti::DtString & | newFileName | ) |
References myCurrentFedFileName.
Referenced by DtRtiExecFederateMgr::initializeFOM(), and DtSimpleFederateMgr::joinFederationExecution().
| void DtFederateMgr::setCurrentTimeImplName | ( | const MAKRti::DtString & | newName | ) |
References myCurrentTimeImplName.
Referenced by DtRtiExecFederateMgr::initializeTimeFactory().
|
static |
Register alternate internal creators.
The RTI proper uses this function to choose from various internal implementations. This function should not be used by plugins as the assignment may be overridden internally. Use the setCreatorFunction.
References create(), and theInternalCreator.
Referenced by DtRtiAmbassadorBaseImplementor::completeConnection(), createDdmMgr(), createInteractionMgr(), and createObjectMgr().
|
virtual |
References myLastSaveLabel.
| void DtFederateMgr::setMimName | ( | const MAKRti::DtString & | newMimName | ) |
References myMimName.
Referenced by DtRtiExecFederateMgr::initializeFOM().
|
virtual |
References mySaveLabel.
|
virtual |
Provide access to top level RTI Ambassador (and Federate Ambassador for 1516E)
|
virtual |
Inform assistant and rtiexec that a web server connection has been established.
References myConnectedToWebServer.
|
pure virtual |
Process the synchronization point achieved service.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
Access to the test Manager.
References myTestMgr.
Referenced by DtConnectionMgr::getMessage(), DtNetStatsAsyncConnMgr::processConnection(), DtConnectionMgr::processConnection(), DtAsyncConnectionMgr::processMsgQueueCallbacks(), processResign(), DtAsyncConnectionMgr::queueMsg(), DtAsyncConnectionMgr::receivePacket(), DtAsyncConnectionMgr::receivePackets(), DtConnectionMgr::send(), and DtAsyncConnectionMgr::sendPackets().
|
virtual |
References myTestMgr.
|
protectedvirtual |
Attempts to read a fed file but does not fill in the fom class.
References addToParsedFomMap(), DtScopedNotifyLevelChange::changeNotifyLevel(), DtLibRTIUtil::crcOfRTIFedFileContents(), DtFomClassMgr::create(), DtGlobalSpaceHandle, DtLocateConfigFile(), extend13and1516interop, fedFileNameToUse(), getReader(), myFedReader, myParsedFoms, DtLibRTIUtil::openFedFile(), params(), DtAssistantPopupHelper::popupAssistantMessage(), and DtFomClassMgr::setExtend13and1516interop().
Referenced by DtRtiExecFederateMgr::createFederationExecution().
|
protectedvirtual |
Test the resign action and return the internal representation.
References convertResignAction(), myFedExName, objMgr(), and DtObjectMgr::testResign().
|
pure virtual |
Perform exception tests on save/restore state.
Implemented in DtRtiExecFederateMgr, and DtSimpleFederateMgr.
|
virtual |
Update the state of the federation.
References connectMgr(), isJoined(), myClock, myEnableFederateHeartbeat, myLastHeartbeat, myLastTickTime, mySignalTickInterval, myTestMgr, myTickCount, params(), sendAlive(), sendTickedMsg(), DtTestManager::tick(), and DtConnectionMgr::tick().
Referenced by DtRtiExecFederateMgr::initRidTester(), DtRtiAmbassadorBaseImplementor::tickOnce(), and DtRtiExecFederateMgr::waitForJoinResponse().
|
virtual |
Return the number of ticks.
References myTickCount.
Referenced by DtConnectionMgr::processMsg(), DtAsyncConnectionMgr::send(), DtConnectionMgr::send(), and DtAsyncConnectionMgr::sendAndDelete().
|
virtual |
Access to the time factory.
References myLogicalTimeFactory.
Referenced by DtRtiExecFederateMgr::initializeTimeFactory().
|
virtual |
References myLogicalTimeFactory.
|
virtual |
Return the time implementation name associated with the federation execution name.
If none has been registered using addFedExNameMapping, an empty string (default implementation) is returned
References DtFedFileMapping::execName(), myMappingList, and DtFedFileMapping::timeImplName().
Referenced by DtRtiExecFederateMgr::initializeTimeFactory().
|
protected |
The federate's RTI Ambassador Implementor.
Referenced by processAssistantEnableLogging().
|
protected |
Manages the connection to the RTI Assistant.
Referenced by assistantClient(), processRidParamRequest(), and ~DtFederateMgr().
|
protected |
Clock for timing.
Referenced by DtRtiExecFederateMgr::destroyFederationExecution(), DtRtiExecFederateMgr::initRidTester(), processSignalTickInterval(), DtRtiExecFederateMgr::requestImmediateSave(), tick(), DtRtiExecFederateMgr::waitForCreateResponse(), and DtRtiExecFederateMgr::waitForJoinResponse().
|
protected |
This is set when the federate connects to the web server.
Referenced by setWebServerConnected().
|
protected |
The connection manager.
Referenced by connectMgr(), DtFederateMgr(), DtRtiExecFederateMgr::initializeDistributor(), DtRtiExecFederateMgr::initRidTester(), and DtRtiExecFederateMgr::restore().
|
protected |
Current FED/FDD file name.
Referenced by currentFedFileName(), and setCurrentFedFileName().
|
protected |
Current time implementation name.
Referenced by currentTimeImplName(), and setCurrentTimeImplName().
|
protected |
is heartbeating enabled?
Referenced by applyRidParameters(), and tick().
|
protected |
Catches exceptions from federate ambassador calls.
Referenced by applyRidParameters(), and ~DtFederateMgr().
|
protected |
Federation handle.
Referenced by fedExHandle(), DtRtiExecFederateMgr::handleFailedJoin(), DtRtiExecFederateMgr::processSyncPointMsg(), and DtRtiExecFederateMgr::restore().
|
protected |
Federation execution name.
Referenced by DtRtiExecFederateMgr::createFederationExecution(), DtRtiExecFederateMgr::destroyFederationExecution(), fedExName(), getSaveFileName(), isJoined(), DtRtiExecFederateMgr::processSyncPointMsg(), and testResign().
|
protected |
Referenced by addFomModuleNameMapping(), and DtRtiExecFederateMgr::findFedFileNameFromMapping().
|
protected |
Federate handle.
Referenced by federateHandle(), DtRtiExecFederateMgr::handleFailedJoin(), DtSimpleFederateMgr::joinFederationExecution(), processAssistantResign(), processResign(), DtRtiExecFederateMgr::processRestoreEnd(), DtRtiExecFederateMgr::processRestoreInitiate(), DtRtiExecFederateMgr::processRestoreReply(), DtRtiExecFederateMgr::processSyncPointMsg(), DtRtiExecFederateMgr::registerFederationSynchronizationPoint(), DtRtiExecFederateMgr::restore(), DtRtiExecFederateMgr::save(), and DtRtiExecFederateMgr::synchronizationPointAchieved().
|
protected |
Federate name.
In HLA Evolved, the federate may choose this. In other HLA versions, the name is always assigned by the RTI.
Referenced by DtRtiExecFederateMgr::checkJoinResponse(), fedName(), and DtRtiExecFederateMgr::processRestoreInitiate().
|
protected |
Temporary internal reader used until changes made to VR-Link fed reader.
Referenced by DtRtiExecFederateMgr::createFederationExecution(), DtRtiExecFederateMgr::getReader(), getReader(), DtRtiExecFederateMgr::initializeFOM(), readFedFile(), readFedFilePtr(), testReadFedFile(), and DtRtiExecFederateMgr::testReadFomModules().
|
protected |
Referenced by getReader(), and ~DtFederateMgr().
|
protected |
Referenced by getReader(), and ~DtFederateMgr().
|
protected |
Referenced by getReader(), and ~DtFederateMgr().
|
protected |
Federate type.
Referenced by fedType(), and getSaveFileName().
|
protected |
Referenced by flags().
|
protected |
The FOM manager.
Referenced by fom(), DtRtiExecFederateMgr::mergeFomModules(), DtRtiExecFederateMgr::prepareToRestoreLRC(), readFedFile(), readFedFilePtr(), DtRtiExecFederateMgr::restoreLRC(), DtRtiExecFederateMgr::saveLRC(), and ~DtFederateMgr().
|
protected |
Indicates forced resign occured.
Referenced by forcedToResign(), processAssistantResign(), and processResign().
|
protected |
|
protected |
Prevents forcing duplicate resign.
Referenced by processAssistantResign(), and processResign().
|
protected |
The interaction manager.
Referenced by createInteractionMgr(), interMgr(), DtRtiExecFederateMgr::prepareToRestoreLRC(), DtRtiExecFederateMgr::restoreLRC(), DtRtiExecFederateMgr::saveLRC(), and ~DtFederateMgr().
|
protected |
indicates currently processing tick
Referenced by isTicking(), posttick(), and pretick().
|
protected |
Time of last heartbeat.
Referenced by tick().
|
protected |
The last restore label.
Referenced by lastRestoreLabel().
|
protected |
The last save label.
Referenced by DtRtiExecFederateMgr::federateSaveComplete(), lastSaveLabel(), and setLastSaveLabel().
|
protected |
The last tick time.
Referenced by processSignalTickInterval(), and tick().
|
protected |
Logical time factory Even if NULL, need to have this factory.
Referenced by DtRtiExecFederateMgr::initializeTimeFactory(), DtSimpleFederateMgr::joinFederationExecution(), timeFactory(), and ~DtFederateMgr().
|
protected |
List of federation execution names with FED files names and time implementation names.
These names are collected when creating federation executions.
Referenced by addFedExNameMapping(), fedFileName(), timeImplName(), and ~DtFederateMgr().
|
protected |
MIM name.
Referenced by mimName(), and setMimName().
|
protected |
|
protected |
Referenced by createTestMgr(), and processEnableDisableNetworkTesting().
|
protected |
The object manager.
Referenced by createObjectMgr(), objMgr(), DtRtiExecFederateMgr::prepareToRestoreLRC(), DtRtiExecFederateMgr::restoreLRC(), DtRtiExecFederateMgr::saveLRC(), and ~DtFederateMgr().
|
protected |
Initialization data.
Referenced by DtRtiExecFederateMgr::applyRidParameters(), applyRidParameters(), DtRtiExecFederateMgr::initRidTester(), params(), processAssistantResign(), processResign(), and processRidParamRequest().
|
protected |
Map containing FOMs parsed into FedTargets.
Referenced by addToParsedFomMap(), DtRtiExecFederateMgr::createFederationExecution(), DtRtiExecFederateMgr::getCrcsOfFoms(), DtRtiExecFederateMgr::mergeFomModules(), readFedFile(), testReadFedFile(), DtRtiExecFederateMgr::testReadFomModules(), and ~DtFederateMgr().
|
protected |
Referenced by addPostTickCallback(), postTickCallbacks(), and removePostTickCallback().
|
protected |
Prints data for federate ambassador calls.
Referenced by applyRidParameters(), and ~DtFederateMgr().
|
protected |
The resign action.
Referenced by applyRidParameters(), automaticResignDirective(), readFedFile(), and readFedFilePtr().
|
protected |
Interval to wait for response message during a message protocol.
|
protected |
Indicates restore begun.
Referenced by DtRtiExecFederateMgr::processRestore(), DtRtiExecFederateMgr::processRestoreEnd(), and restoreBegun().
|
protected |
Indicates restore initiated.
Referenced by DtRtiExecFederateMgr::processRestoreEnd(), DtRtiExecFederateMgr::processRestoreInitiate(), and restoreInitiated().
|
protected |
The restore label.
Referenced by DtRtiExecFederateMgr::federateRestoreComplete(), DtRtiExecFederateMgr::federateRestoreNotComplete(), DtRtiExecFederateMgr::processRestore(), DtRtiExecFederateMgr::processRestoreInitiate(), DtRtiExecFederateMgr::requestFederationRestore(), restoreLabel(), and DtRtiExecFederateMgr::testSaveProgress().
|
protected |
Indicates restore requested.
Referenced by DtRtiExecFederateMgr::processRestoreEnd(), DtRtiExecFederateMgr::requestFederationRestore(), and restoreRequested().
|
protected |
|
protected |
Indicates save begun.
Referenced by DtRtiExecFederateMgr::federateSaveBegun(), DtRtiExecFederateMgr::federateSaveComplete(), DtRtiExecFederateMgr::processSaveFinished(), and saveBegun().
|
protected |
Indicates save initiated.
Referenced by DtRtiExecFederateMgr::federateSaveNotComplete(), DtRtiExecFederateMgr::initiateSave(), DtRtiExecFederateMgr::processSaveFinished(), and saveInitiated().
|
protected |
The save label.
Referenced by DtRtiExecFederateMgr::federateSaveComplete(), DtRtiExecFederateMgr::federateSaveNotComplete(), DtRtiExecFederateMgr::initiateSave(), DtRtiExecFederateMgr::processSaveInitiate(), DtRtiExecFederateMgr::requestFederationSave(), saveLabel(), setSaveLabel(), and DtRtiExecFederateMgr::testSaveProgress().
|
protected |
The Signal Tick Interval.
Referenced by processSignalTickInterval(), and tick().
|
protected |
Referenced by createTestMgr(), processEnableDisableNetworkTesting(), testMgr(), tick(), and ~DtFederateMgr().
|
protected |
Tick counter.
Referenced by pretick(), tick(), and tickCount().
|
staticprotected |
The plugin creator.
Referenced by create(), and setCreatorFunction().
|
staticprotected |
The internal creator.
Referenced by create(), and setInternalCreatorFunction().