![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 2004 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: fedAmbCatch.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifdef DtIFSPEC13 00013 #ifndef DtFedAmbCatch_h 00014 #define DtFedAmbCatch_h 00015 00016 #include "rtiMsConfig.h" 00017 #include "fedAmbWrap.h" 00018 00019 class DtFederateMgr; 00020 00023 class DT_DLL_LRC DtFedAmbCatch : public DtFedAmbWrapper 00024 { 00025 public: 00026 00027 DtFedAmbCatch(DtFederateMgr* fedMgr); 00028 virtual ~DtFedAmbCatch() throw (RTI::FederateInternalError); 00029 00033 00034 virtual void synchronizationPointRegistrationSucceeded ( 00035 const char *label) throw (RTI::FederateInternalError); 00036 00037 virtual void synchronizationPointRegistrationFailed ( 00038 const char *label) throw (RTI::FederateInternalError); 00039 00040 virtual void announceSynchronizationPoint ( 00041 const char *label, 00042 const char *tag) throw (RTI::FederateInternalError); 00043 00044 virtual void federationSynchronized ( 00045 const char *label) throw (RTI::FederateInternalError); 00046 00047 virtual void initiateFederateSave ( 00048 const char *label) throw (RTI::FederateInternalError); 00049 00050 virtual void federationSaved () throw (RTI::FederateInternalError); 00051 00052 virtual void federationNotSaved () throw (RTI::FederateInternalError); 00053 00054 virtual void requestFederationRestoreSucceeded ( 00055 const char *label) throw (RTI::FederateInternalError); 00056 00057 virtual void requestFederationRestoreFailed ( 00058 const char *label, 00059 const char *reason) throw (RTI::FederateInternalError); 00060 00061 virtual void federationRestoreBegun () throw (RTI::FederateInternalError); 00062 00063 virtual void initiateFederateRestore ( 00064 const char *label, 00065 RTI::FederateHandle handle) throw (RTI::FederateInternalError); 00066 00067 virtual void federationRestored () throw (RTI::FederateInternalError); 00068 00069 virtual void federationNotRestored () throw (RTI::FederateInternalError); 00070 00074 00075 virtual void startRegistrationForObjectClass ( 00076 RTI::ObjectClassHandle theClass) throw (RTI::FederateInternalError); 00077 00078 virtual void stopRegistrationForObjectClass ( 00079 RTI::ObjectClassHandle theClass) throw (RTI::FederateInternalError); 00080 00081 virtual void turnInteractionsOn ( 00082 RTI::InteractionClassHandle theHandle) throw (RTI::FederateInternalError); 00083 00084 virtual void turnInteractionsOff ( 00085 RTI::InteractionClassHandle theHandle) throw (RTI::FederateInternalError); 00086 00090 00091 virtual void discoverObjectInstance ( 00092 RTI::ObjectHandle theObject, 00093 RTI::ObjectClassHandle theObjectClass, 00094 const char* theObjectName) throw (RTI::FederateInternalError); 00095 00096 virtual void reflectAttributeValues ( 00097 RTI::ObjectHandle theObject, 00098 const RTI::AttributeHandleValuePairSet& theAttributes, 00099 const RTI::FedTime& theTime, 00100 const char *theTag, 00101 RTI::EventRetractionHandle theHandle) throw (RTI::FederateInternalError); 00102 00103 virtual void reflectAttributeValues ( 00104 RTI::ObjectHandle theObject, 00105 const RTI::AttributeHandleValuePairSet& theAttributes, 00106 const char *theTag) throw (RTI::FederateInternalError); 00107 00109 virtual void receiveInteraction ( 00110 RTI::InteractionClassHandle theInteraction, 00111 const RTI::ParameterHandleValuePairSet& theParameters, 00112 const RTI::FedTime& theTime, 00113 const char *theTag, 00114 RTI::EventRetractionHandle theHandle) throw (RTI::FederateInternalError); 00115 00116 virtual void receiveInteraction ( 00117 RTI::InteractionClassHandle theInteraction, 00118 const RTI::ParameterHandleValuePairSet& theParameters, 00119 const char *theTag) throw (RTI::FederateInternalError); 00120 00121 virtual void removeObjectInstance ( 00122 RTI::ObjectHandle theObject, 00123 const RTI::FedTime& theTime, 00124 const char *theTag, 00125 RTI::EventRetractionHandle theHandle) throw (RTI::FederateInternalError); 00126 00127 virtual void removeObjectInstance ( 00128 RTI::ObjectHandle theObject, 00129 const char *theTag) throw (RTI::FederateInternalError); 00130 00131 virtual void attributesInScope ( 00132 RTI::ObjectHandle theObject, 00133 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00134 00135 virtual void attributesOutOfScope ( 00136 RTI::ObjectHandle theObject, 00137 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00138 00139 virtual void provideAttributeValueUpdate ( 00140 RTI::ObjectHandle theObject, 00141 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00142 00143 virtual void turnUpdatesOnForObjectInstance ( 00144 RTI::ObjectHandle theObject, 00145 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00146 00147 virtual void turnUpdatesOffForObjectInstance ( 00148 RTI::ObjectHandle theObject, 00149 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00150 00154 00155 virtual void requestAttributeOwnershipAssumption ( 00156 RTI::ObjectHandle theObject, 00157 const RTI::AttributeHandleSet& offeredAttributes, 00158 const char *theTag) throw (RTI::FederateInternalError); 00159 00160 virtual void attributeOwnershipDivestitureNotification ( 00161 RTI::ObjectHandle theObject, 00162 const RTI::AttributeHandleSet& releasedAttributes) throw (RTI::FederateInternalError); 00163 00164 virtual void attributeOwnershipAcquisitionNotification ( 00165 RTI::ObjectHandle theObject, 00166 const RTI::AttributeHandleSet& securedAttributes) throw (RTI::FederateInternalError); 00167 00168 virtual void attributeOwnershipUnavailable ( 00169 RTI::ObjectHandle theObject, 00170 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00171 00172 virtual void requestAttributeOwnershipRelease ( 00173 RTI::ObjectHandle theObject, 00174 const RTI::AttributeHandleSet& candidateAttributes, 00175 const char *theTag) throw (RTI::FederateInternalError); 00176 00177 virtual void confirmAttributeOwnershipAcquisitionCancellation ( 00178 RTI::ObjectHandle theObject, 00179 const RTI::AttributeHandleSet& theAttributes) throw (RTI::FederateInternalError); 00180 00181 virtual void informAttributeOwnership ( 00182 RTI::ObjectHandle theObject, 00183 RTI::AttributeHandle theAttribute, 00184 RTI::FederateHandle theOwner) throw (RTI::FederateInternalError); 00185 00186 virtual void attributeIsNotOwned ( 00187 RTI::ObjectHandle theObject, 00188 RTI::AttributeHandle theAttribute) throw (RTI::FederateInternalError); 00189 00190 virtual void attributeOwnedByRTI ( 00191 RTI::ObjectHandle theObject, 00192 RTI::AttributeHandle theAttribute) throw (RTI::FederateInternalError); 00193 00197 00198 virtual void timeRegulationEnabled ( 00199 const RTI::FedTime& theFederateTime) throw (RTI::FederateInternalError); 00200 00201 virtual void timeConstrainedEnabled ( 00202 const RTI::FedTime& theFederateTime) throw (RTI::FederateInternalError); 00203 00204 virtual void timeAdvanceGrant ( 00205 const RTI::FedTime& theTime) throw (RTI::FederateInternalError); 00206 00207 virtual void requestRetraction ( 00208 RTI::EventRetractionHandle theHandle) throw (RTI::FederateInternalError); 00209 }; 00210 00211 #endif //! DtFedAmbCatch_h 00212 #endif //! DtIFSPEC1516