![]() |
MAK RTIspy API Documentation for HLA 1.3
|
simple test federate for evolved java bindings code ported from rtiSimple1516 More...
Collaboration diagram for rtiSimple1516:Classes | |
| class | KeyboardTickThread |
| class | SimpleFederateAmbassador |
| A basic Federate Ambassador implementation. More... | |
| class | TalkAmbData |
| Simple data structure to provide communication between the main() and the FederateAmbassador. More... | |
Public Member Functions | |
| rtiSimple1516 () throws RTIinternalError | |
| Creates a new instance of rtiSimple1516. | |
| void | createFedEx () throws RTIexception, java.net.MalformedURLException |
| void | joinFedEx () throws RTIexception, java.net.MalformedURLException |
| void | resignAndDestroyFedEx () throws RTIexception |
| void | queryFederationSaveStatus () throws RTIexception |
| boolean | requestFederationSave (String label) throws RTIexception |
| boolean | waitForFederationSaved () throws RTIexception |
| boolean | saveFederation (String label, boolean performRequest) throws RTIexception |
| void | queryRestoreStatus () throws RTIexception |
| boolean | requestFederationRestore (String label) throws RTIexception |
| boolean | waitForRestoreBegun () throws RTIexception |
| boolean | waitForInitiateRestore () throws RTIexception |
| boolean | waitForFederationRestored () throws RTIexception |
| boolean | restoreFederation (String label, boolean performRequest) throws RTIexception |
| boolean | publishSubscribeAndRegisterObject () throws RTIexception |
| boolean | publishAndSubscribeInteraction () throws RTIexception |
| void | evokeCallbacks (double min, double max) throws RTIexception |
| AttributeHandleValueMapFactory | getAttributeHandleValueMapFactory () throws FederateNotExecutionMember, RTIinternalError |
| ParameterHandleValueMapFactory | getParameterHandleValueMapFactory () throws FederateNotExecutionMember, RTIinternalError |
| void | callQuit () |
| void | callSave () |
| void | callRestore () |
Static Public Member Functions | |
| static void | main (String[] args) |
Public Attributes | |
| RTIambassador | myRtiAmb |
| TalkAmbData | myFedAmbData |
| ObjectInstanceHandle | myObjectHandle |
| InteractionClassHandle | myInterClassHandle |
| HashMap< String, AttributeHandle > | myAttrNameHandleMap |
| HashMap< String, ParameterHandle > | myParamNameHandleMap |
| FederateAmbassador | myFedAmb |
| FederateHandle | myFederateHandle |
| String | myFederationName |
| String | myFddFileName |
| String | myFederateType |
| String | myClassName |
| String | myInterClassName |
Static Public Attributes | |
| static boolean | myCallQuit |
| static boolean | myCallSave |
| static boolean | myCallRestore |
| static Thread | keyboardThread |
| static KeyboardTickThread | keyboard |
simple test federate for evolved java bindings code ported from rtiSimple1516
| rtiSimple1516.rtiSimple1516 | ( | ) | throws RTIinternalError [inline] |
Creates a new instance of rtiSimple1516.
References myCallQuit, myCallRestore, myCallSave, myClassName, myFddFileName, myFedAmb, myFedAmbData, myFederateType, myFederationName, myInterClassName, and myRtiAmb.
Referenced by main().
| void rtiSimple1516.callQuit | ( | ) | [inline] |
References myCallQuit.
Referenced by rtiSimple1516.KeyboardTickThread.run().
| void rtiSimple1516.callRestore | ( | ) | [inline] |
References myCallRestore.
Referenced by rtiSimple1516.KeyboardTickThread.run().
| void rtiSimple1516.callSave | ( | ) | [inline] |
References myCallSave.
Referenced by rtiSimple1516.KeyboardTickThread.run().
| void rtiSimple1516.createFedEx | ( | ) | throws RTIexception, java.net.MalformedURLException [inline] |
References myFddFileName, myFederationName, and myRtiAmb.
Referenced by main().
| void rtiSimple1516.evokeCallbacks | ( | double | min, |
| double | max | ||
| ) | throws RTIexception [inline] |
References myRtiAmb.
Referenced by joinFedEx(), main(), publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), queryFederationSaveStatus(), queryRestoreStatus(), requestFederationRestore(), requestFederationSave(), waitForFederationRestored(), waitForFederationSaved(), waitForInitiateRestore(), and waitForRestoreBegun().
| AttributeHandleValueMapFactory rtiSimple1516.getAttributeHandleValueMapFactory | ( | ) | throws FederateNotExecutionMember, RTIinternalError [inline] |
| ParameterHandleValueMapFactory rtiSimple1516.getParameterHandleValueMapFactory | ( | ) | throws FederateNotExecutionMember, RTIinternalError [inline] |
| void rtiSimple1516.joinFedEx | ( | ) | throws RTIexception, java.net.MalformedURLException [inline] |
References evokeCallbacks(), myFedAmb, myFederateHandle, myFederateType, myFederationName, and myRtiAmb.
Referenced by main().
| static void rtiSimple1516.main | ( | String[] | args | ) | [inline, static] |
| args | the command line arguments |
References createFedEx(), evokeCallbacks(), getAttributeHandleValueMapFactory(), getParameterHandleValueMapFactory(), joinFedEx(), keyboardThread, myAttrNameHandleMap, myCallQuit, myCallRestore, myCallSave, myFedAmbData, myInterClassHandle, myObjectHandle, myParamNameHandleMap, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateSave, rtiSimple1516.TalkAmbData.myRestoreLabel, myRtiAmb, rtiSimple1516.TalkAmbData.mySaveLabel, publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), resignAndDestroyFedEx(), restoreFederation(), rtiSimple1516(), and saveFederation().
| boolean rtiSimple1516.publishAndSubscribeInteraction | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), myInterClassHandle, myInterClassName, myParamNameHandleMap, and myRtiAmb.
Referenced by main().
| boolean rtiSimple1516.publishSubscribeAndRegisterObject | ( | ) | throws RTIexception [inline] |
| void rtiSimple1516.queryFederationSaveStatus | ( | ) | throws RTIexception [inline] |
| void rtiSimple1516.queryRestoreStatus | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreStatusResponse, and myRtiAmb.
Referenced by requestFederationRestore(), waitForFederationRestored(), waitForInitiateRestore(), and waitForRestoreBegun().
| boolean rtiSimple1516.requestFederationRestore | ( | String | label | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516.TalkAmbData.myReceivedFederationRestored, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreStatusResponse, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516.TalkAmbData.myReceivedRequestFederationRestoreFailed, rtiSimple1516.TalkAmbData.myReceivedRequestFederationRestoreSucceeded, myRtiAmb, and queryRestoreStatus().
Referenced by restoreFederation().
| boolean rtiSimple1516.requestFederationSave | ( | String | label | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516.TalkAmbData.myReceivedFederationNotSaved, rtiSimple1516.TalkAmbData.myReceivedFederationSaved, rtiSimple1516.TalkAmbData.myReceivedFederationSaveStatusResponse, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateSave, myRtiAmb, and queryFederationSaveStatus().
Referenced by saveFederation().
| void rtiSimple1516.resignAndDestroyFedEx | ( | ) | throws RTIexception [inline] |
References myFederationName, and myRtiAmb.
Referenced by main().
| boolean rtiSimple1516.restoreFederation | ( | String | label, |
| boolean | performRequest | ||
| ) | throws RTIexception [inline] |
References myFedAmbData, rtiSimple1516.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516.TalkAmbData.myReceivedFederationRestored, rtiSimple1516.TalkAmbData.myReceivedFederationRestoreStatusResponse, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516.TalkAmbData.myReceivedRequestFederationRestoreFailed, rtiSimple1516.TalkAmbData.myReceivedRequestFederationRestoreSucceeded, myRtiAmb, requestFederationRestore(), waitForFederationRestored(), waitForInitiateRestore(), and waitForRestoreBegun().
Referenced by main().
| boolean rtiSimple1516.saveFederation | ( | String | label, |
| boolean | performRequest | ||
| ) | throws RTIexception [inline] |
References myFedAmbData, rtiSimple1516.TalkAmbData.myReceivedFederationNotSaved, rtiSimple1516.TalkAmbData.myReceivedFederationSaved, rtiSimple1516.TalkAmbData.myReceivedFederationSaveStatusResponse, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateSave, myRtiAmb, requestFederationSave(), and waitForFederationSaved().
Referenced by main().
| boolean rtiSimple1516.waitForFederationRestored | ( | ) | throws RTIexception [inline] |
| boolean rtiSimple1516.waitForFederationSaved | ( | ) | throws RTIexception [inline] |
| boolean rtiSimple1516.waitForInitiateRestore | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, myFederateHandle, rtiSimple1516.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516.TalkAmbData.myRestoreFederateHandle, myRtiAmb, and queryRestoreStatus().
Referenced by restoreFederation().
| boolean rtiSimple1516.waitForRestoreBegun | ( | ) | throws RTIexception [inline] |
KeyboardTickThread rtiSimple1516.keyboard [static] |
Thread rtiSimple1516.keyboardThread [static] |
Referenced by main().
| HashMap<String, AttributeHandle> rtiSimple1516.myAttrNameHandleMap |
Referenced by main(), and publishSubscribeAndRegisterObject().
boolean rtiSimple1516.myCallQuit [static] |
Referenced by callQuit(), main(), and rtiSimple1516().
boolean rtiSimple1516.myCallRestore [static] |
Referenced by callRestore(), main(), and rtiSimple1516().
boolean rtiSimple1516.myCallSave [static] |
Referenced by callSave(), main(), and rtiSimple1516().
| String rtiSimple1516.myClassName |
Referenced by publishSubscribeAndRegisterObject(), and rtiSimple1516().
| String rtiSimple1516.myFddFileName |
Referenced by createFedEx(), and rtiSimple1516().
| FederateAmbassador rtiSimple1516.myFedAmb |
Referenced by joinFedEx(), and rtiSimple1516().
Referenced by main(), publishSubscribeAndRegisterObject(), queryFederationSaveStatus(), queryRestoreStatus(), requestFederationRestore(), requestFederationSave(), restoreFederation(), rtiSimple1516(), saveFederation(), waitForFederationRestored(), waitForFederationSaved(), waitForInitiateRestore(), and waitForRestoreBegun().
Referenced by joinFedEx(), and waitForInitiateRestore().
| String rtiSimple1516.myFederateType |
Referenced by joinFedEx(), and rtiSimple1516().
Referenced by createFedEx(), joinFedEx(), resignAndDestroyFedEx(), and rtiSimple1516().
Referenced by main(), and publishAndSubscribeInteraction().
Referenced by publishAndSubscribeInteraction(), and rtiSimple1516().
| ObjectInstanceHandle rtiSimple1516.myObjectHandle |
Referenced by main(), and publishSubscribeAndRegisterObject().
| HashMap<String, ParameterHandle> rtiSimple1516.myParamNameHandleMap |
Referenced by main(), and publishAndSubscribeInteraction().
Referenced by createFedEx(), evokeCallbacks(), getAttributeHandleValueMapFactory(), getParameterHandleValueMapFactory(), joinFedEx(), main(), publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), queryFederationSaveStatus(), queryRestoreStatus(), requestFederationRestore(), requestFederationSave(), resignAndDestroyFedEx(), restoreFederation(), rtiSimple1516(), saveFederation(), and waitForInitiateRestore().