![]() |
MAK RTIspy API Documentation for HLA 1.3
|
simple test federate for evolved java bindings code ported from rtiSimple1516e More...
Collaboration diagram for rtiSimple1516e:Classes | |
| class | AttrNameHandleMap |
| class | KeyboardTickThread |
| class | ParamNameHandleMap |
| enum | RestoreStatus |
| enum | SaveStatus |
| 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 | |
| rtiSimple1516e () throws RTIinternalError | |
| Creates a new instance of rtiSimple1516e. | |
| void | connect () throws RTIexception |
| 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, NotConnected, RTIinternalError |
| ParameterHandleValueMapFactory | getParameterHandleValueMapFactory () throws FederateNotExecutionMember, NotConnected, 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 rtiSimple1516e
| rtiSimple1516e.rtiSimple1516e | ( | ) | throws RTIinternalError [inline] |
Creates a new instance of rtiSimple1516e.
References myCallQuit, myCallRestore, myCallSave, myClassName, myFddFileName, myFedAmb, myFedAmbData, myFederateType, myFederationName, myInterClassName, and myRtiAmb.
Referenced by main().
| void rtiSimple1516e.callQuit | ( | ) | [inline] |
References myCallQuit.
Referenced by rtiSimple1516e.KeyboardTickThread.run().
| void rtiSimple1516e.callRestore | ( | ) | [inline] |
References myCallRestore.
Referenced by rtiSimple1516e.KeyboardTickThread.run().
| void rtiSimple1516e.callSave | ( | ) | [inline] |
References myCallSave.
Referenced by rtiSimple1516e.KeyboardTickThread.run().
| void rtiSimple1516e.connect | ( | ) | throws RTIexception [inline] |
| void rtiSimple1516e.createFedEx | ( | ) | throws RTIexception, java.net.MalformedURLException [inline] |
References myFddFileName, myFederationName, and myRtiAmb.
Referenced by main().
| void rtiSimple1516e.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 rtiSimple1516e.getAttributeHandleValueMapFactory | ( | ) | throws FederateNotExecutionMember, NotConnected, RTIinternalError [inline] |
| ParameterHandleValueMapFactory rtiSimple1516e.getParameterHandleValueMapFactory | ( | ) | throws FederateNotExecutionMember, NotConnected, RTIinternalError [inline] |
| void rtiSimple1516e.joinFedEx | ( | ) | throws RTIexception, java.net.MalformedURLException [inline] |
References evokeCallbacks(), myFederateHandle, myFederateType, myFederationName, and myRtiAmb.
Referenced by main().
| static void rtiSimple1516e.main | ( | String[] | args | ) | [inline, static] |
| args | the command line arguments |
References connect(), createFedEx(), evokeCallbacks(), getAttributeHandleValueMapFactory(), getParameterHandleValueMapFactory(), joinFedEx(), keyboardThread, myAttrNameHandleMap, myCallQuit, myCallRestore, myCallSave, myFedAmbData, myInterClassHandle, myObjectHandle, myParamNameHandleMap, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateSave, rtiSimple1516e.TalkAmbData.myRestoreLabel, myRtiAmb, rtiSimple1516e.TalkAmbData.mySaveLabel, publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), resignAndDestroyFedEx(), restoreFederation(), rtiSimple1516e(), and saveFederation().
| boolean rtiSimple1516e.publishAndSubscribeInteraction | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516e.TalkAmbData.myInteractionClassHandleToClassNameMap, myInterClassHandle, myInterClassName, myParamNameHandleMap, and myRtiAmb.
Referenced by main().
| boolean rtiSimple1516e.publishSubscribeAndRegisterObject | ( | ) | throws RTIexception [inline] |
References AttributeHandleSet.add(), AttributeHandleSetFactory.create(), evokeCallbacks(), myAttrNameHandleMap, myClassName, myFedAmbData, rtiSimple1516e.TalkAmbData.myNameReservationReturned, rtiSimple1516e.TalkAmbData.myNameReservationSucceeded, myObjectHandle, rtiSimple1516e.TalkAmbData.myObjectHandleToClassNameMap, rtiSimple1516e.TalkAmbData.myObjectHandleToInstanceNameMap, and myRtiAmb.
Referenced by main().
| void rtiSimple1516e.queryFederationSaveStatus | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), rti1516.FEDERATE_INSTRUCTED_TO_SAVE, rti1516.FEDERATE_SAVING, rti1516.FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE, myFedAmbData, rtiSimple1516e.TalkAmbData.myFederateHandleSaveStatus, rtiSimple1516e.TalkAmbData.myReceivedFederationSaveStatusResponse, myRtiAmb, and rti1516.NO_SAVE_IN_PROGRESS.
Referenced by requestFederationSave(), and waitForFederationSaved().
| void rtiSimple1516e.queryRestoreStatus | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), rti1516.FEDERATE_PREPARED_TO_RESTORE, rti1516.FEDERATE_RESTORE_REQUEST_PENDING, rti1516.FEDERATE_RESTORING, rti1516.FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE, rti1516.FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN, myFedAmbData, rtiSimple1516e.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreStatusResponse, myRtiAmb, and rti1516.NO_RESTORE_IN_PROGRESS.
Referenced by requestFederationRestore(), waitForFederationRestored(), waitForInitiateRestore(), and waitForRestoreBegun().
| boolean rtiSimple1516e.requestFederationRestore | ( | String | label | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516e.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516e.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516e.TalkAmbData.myReceivedFederationRestored, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreStatusResponse, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516e.TalkAmbData.myReceivedRequestFederationRestoreFailed, rtiSimple1516e.TalkAmbData.myReceivedRequestFederationRestoreSucceeded, myRtiAmb, and queryRestoreStatus().
Referenced by restoreFederation().
| boolean rtiSimple1516e.requestFederationSave | ( | String | label | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, rtiSimple1516e.TalkAmbData.myReceivedFederationNotSaved, rtiSimple1516e.TalkAmbData.myReceivedFederationSaved, rtiSimple1516e.TalkAmbData.myReceivedFederationSaveStatusResponse, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateSave, myRtiAmb, and queryFederationSaveStatus().
Referenced by saveFederation().
| void rtiSimple1516e.resignAndDestroyFedEx | ( | ) | throws RTIexception [inline] |
References myFederationName, and myRtiAmb.
Referenced by main().
| boolean rtiSimple1516e.restoreFederation | ( | String | label, |
| boolean | performRequest | ||
| ) | throws RTIexception [inline] |
References myFedAmbData, rtiSimple1516e.TalkAmbData.myFederateHandleRestoreStatus, rtiSimple1516e.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreBegun, rtiSimple1516e.TalkAmbData.myReceivedFederationRestored, rtiSimple1516e.TalkAmbData.myReceivedFederationRestoreStatusResponse, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516e.TalkAmbData.myReceivedRequestFederationRestoreFailed, rtiSimple1516e.TalkAmbData.myReceivedRequestFederationRestoreSucceeded, myRtiAmb, requestFederationRestore(), waitForFederationRestored(), waitForInitiateRestore(), and waitForRestoreBegun().
Referenced by main().
| boolean rtiSimple1516e.saveFederation | ( | String | label, |
| boolean | performRequest | ||
| ) | throws RTIexception [inline] |
References myFedAmbData, rtiSimple1516e.TalkAmbData.myReceivedFederationNotSaved, rtiSimple1516e.TalkAmbData.myReceivedFederationSaved, rtiSimple1516e.TalkAmbData.myReceivedFederationSaveStatusResponse, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateSave, myRtiAmb, requestFederationSave(), and waitForFederationSaved().
Referenced by main().
| boolean rtiSimple1516e.waitForFederationRestored | ( | ) | throws RTIexception [inline] |
| boolean rtiSimple1516e.waitForFederationSaved | ( | ) | throws RTIexception [inline] |
| boolean rtiSimple1516e.waitForInitiateRestore | ( | ) | throws RTIexception [inline] |
References evokeCallbacks(), myFedAmbData, myFederateHandle, rtiSimple1516e.TalkAmbData.myReceivedFederationNotRestored, rtiSimple1516e.TalkAmbData.myReceivedInitiateFederateRestore, rtiSimple1516e.TalkAmbData.myRestoreFederateHandle, myRtiAmb, and queryRestoreStatus().
Referenced by restoreFederation().
| boolean rtiSimple1516e.waitForRestoreBegun | ( | ) | throws RTIexception [inline] |
Thread rtiSimple1516e.keyboardThread [static] |
Referenced by main().
| HashMap<String, AttributeHandle> rtiSimple1516e.myAttrNameHandleMap |
Referenced by main(), and publishSubscribeAndRegisterObject().
boolean rtiSimple1516e.myCallQuit [static] |
Referenced by callQuit(), main(), and rtiSimple1516e().
boolean rtiSimple1516e.myCallRestore [static] |
Referenced by callRestore(), main(), and rtiSimple1516e().
boolean rtiSimple1516e.myCallSave [static] |
Referenced by callSave(), main(), and rtiSimple1516e().
| String rtiSimple1516e.myClassName |
Referenced by publishSubscribeAndRegisterObject(), and rtiSimple1516e().
| String rtiSimple1516e.myFddFileName |
Referenced by createFedEx(), and rtiSimple1516e().
| FederateAmbassador rtiSimple1516e.myFedAmb |
Referenced by connect(), and rtiSimple1516e().
Referenced by main(), publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), queryFederationSaveStatus(), queryRestoreStatus(), requestFederationRestore(), requestFederationSave(), restoreFederation(), rtiSimple1516e(), saveFederation(), waitForFederationRestored(), waitForFederationSaved(), waitForInitiateRestore(), and waitForRestoreBegun().
Referenced by joinFedEx(), and waitForInitiateRestore().
Referenced by joinFedEx(), and rtiSimple1516e().
Referenced by createFedEx(), joinFedEx(), resignAndDestroyFedEx(), and rtiSimple1516e().
Referenced by main(), and publishAndSubscribeInteraction().
Referenced by publishAndSubscribeInteraction(), and rtiSimple1516e().
| ObjectInstanceHandle rtiSimple1516e.myObjectHandle |
Referenced by main(), and publishSubscribeAndRegisterObject().
| HashMap<String, ParameterHandle> rtiSimple1516e.myParamNameHandleMap |
Referenced by main(), and publishAndSubscribeInteraction().
Referenced by connect(), createFedEx(), evokeCallbacks(), getAttributeHandleValueMapFactory(), getParameterHandleValueMapFactory(), joinFedEx(), main(), publishAndSubscribeInteraction(), publishSubscribeAndRegisterObject(), queryFederationSaveStatus(), queryRestoreStatus(), requestFederationRestore(), requestFederationSave(), resignAndDestroyFedEx(), restoreFederation(), rtiSimple1516e(), saveFederation(), and waitForInitiateRestore().