![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 //File federateAmbServices.hh 00002 //Included in RTI.hh 00003 00021 00025 00027 virtual void synchronizationPointRegistrationSucceeded ( 00028 const char *label) 00029 throw ( 00030 FederateInternalError) = 0; 00031 00032 virtual void synchronizationPointRegistrationFailed ( 00033 const char *label) 00034 throw ( 00035 FederateInternalError) = 0; 00036 00038 virtual void announceSynchronizationPoint ( 00039 const char *label, 00040 const char *tag) 00041 throw ( 00042 FederateInternalError) = 0; 00043 00045 virtual void federationSynchronized ( 00046 const char *label) 00047 throw ( 00048 FederateInternalError) = 0; 00049 00051 virtual void initiateFederateSave ( 00052 const char *label) 00053 throw ( 00054 UnableToPerformSave, 00055 FederateInternalError) = 0; 00056 00058 virtual void federationSaved () 00059 throw ( 00060 FederateInternalError) = 0; 00061 00062 virtual void federationNotSaved () 00063 throw ( 00064 FederateInternalError) = 0; 00065 00067 virtual void requestFederationRestoreSucceeded ( 00068 const char *label) 00069 throw ( 00070 FederateInternalError) = 0; 00071 00072 virtual void requestFederationRestoreFailed ( 00073 const char *label, 00074 const char *reason) 00075 throw ( 00076 FederateInternalError) = 0; 00077 00079 virtual void federationRestoreBegun () 00080 throw ( 00081 FederateInternalError) = 0; 00082 00084 virtual void initiateFederateRestore ( 00085 const char *label, 00086 FederateHandle handle) 00087 throw ( 00088 SpecifiedSaveLabelDoesNotExist, 00089 CouldNotRestore, 00090 FederateInternalError) = 0; 00091 00093 virtual void federationRestored () 00094 throw ( 00095 FederateInternalError) = 0; 00096 00097 virtual void federationNotRestored () 00098 throw ( 00099 FederateInternalError) = 0; 00100 00104 00106 virtual void startRegistrationForObjectClass ( 00107 ObjectClassHandle theClass) 00108 throw ( 00109 ObjectClassNotPublished, 00110 FederateInternalError) = 0; 00111 00113 virtual void stopRegistrationForObjectClass ( 00114 ObjectClassHandle theClass) 00115 throw ( 00116 ObjectClassNotPublished, 00117 FederateInternalError) = 0; 00118 00120 virtual void turnInteractionsOn ( 00121 InteractionClassHandle theHandle) 00122 throw ( 00123 InteractionClassNotPublished, 00124 FederateInternalError) = 0; 00125 00127 virtual void turnInteractionsOff ( 00128 InteractionClassHandle theHandle) 00129 throw ( 00130 InteractionClassNotPublished, 00131 FederateInternalError) = 0; 00132 00136 00138 virtual void discoverObjectInstance ( 00139 ObjectHandle theObject, 00140 ObjectClassHandle theObjectClass, 00141 const char * theObjectName) 00142 throw ( 00143 CouldNotDiscover, 00144 ObjectClassNotKnown, 00145 FederateInternalError) = 0; 00146 00148 virtual void reflectAttributeValues ( 00149 ObjectHandle theObject, 00150 const AttributeHandleValuePairSet& theAttributes, 00151 const FedTime& theTime, 00152 const char *theTag, 00153 EventRetractionHandle theHandle) 00154 throw ( 00155 ObjectNotKnown, 00156 AttributeNotKnown, 00157 FederateOwnsAttributes, 00158 InvalidFederationTime, 00159 FederateInternalError) = 0; 00160 00161 virtual void reflectAttributeValues ( 00162 ObjectHandle theObject, 00163 const AttributeHandleValuePairSet& theAttributes, 00164 const char *theTag) 00165 throw ( 00166 ObjectNotKnown, 00167 AttributeNotKnown, 00168 FederateOwnsAttributes, 00169 FederateInternalError) = 0; 00170 00172 virtual void receiveInteraction ( 00173 InteractionClassHandle theInteraction, 00174 const ParameterHandleValuePairSet& theParameters, 00175 const FedTime& theTime, 00176 const char *theTag, 00177 EventRetractionHandle theHandle) 00178 throw ( 00179 InteractionClassNotKnown, 00180 InteractionParameterNotKnown, 00181 InvalidFederationTime, 00182 FederateInternalError) = 0; 00183 00184 virtual void receiveInteraction ( 00185 InteractionClassHandle theInteraction, 00186 const ParameterHandleValuePairSet& theParameters, 00187 const char *theTag) 00188 throw ( 00189 InteractionClassNotKnown, 00190 InteractionParameterNotKnown, 00191 FederateInternalError) = 0; 00192 00194 virtual void removeObjectInstance ( 00195 ObjectHandle theObject, 00196 const FedTime& theTime, 00197 const char *theTag, 00198 EventRetractionHandle theHandle) 00199 throw ( 00200 ObjectNotKnown, 00201 InvalidFederationTime, 00202 FederateInternalError) = 0; 00203 00204 virtual void removeObjectInstance ( 00205 ObjectHandle theObject, 00206 const char *theTag) 00207 throw ( 00208 ObjectNotKnown, 00209 FederateInternalError) = 0; 00210 00212 virtual void attributesInScope ( 00213 ObjectHandle theObject, 00214 const AttributeHandleSet& theAttributes) 00215 throw ( 00216 ObjectNotKnown, 00217 AttributeNotKnown, 00218 FederateInternalError) = 0; 00219 00221 virtual void attributesOutOfScope ( 00222 ObjectHandle theObject, 00223 const AttributeHandleSet& theAttributes) 00224 throw ( 00225 ObjectNotKnown, 00226 AttributeNotKnown, 00227 FederateInternalError) = 0; 00228 00230 virtual void provideAttributeValueUpdate ( 00231 ObjectHandle theObject, 00232 const AttributeHandleSet& theAttributes) 00233 throw ( 00234 ObjectNotKnown, 00235 AttributeNotKnown, 00236 AttributeNotOwned, 00237 FederateInternalError) = 0; 00238 00240 virtual void turnUpdatesOnForObjectInstance ( 00241 ObjectHandle theObject, 00242 const AttributeHandleSet& theAttributes) 00243 throw ( 00244 ObjectNotKnown, 00245 AttributeNotOwned, 00246 FederateInternalError) = 0; 00247 00249 virtual void turnUpdatesOffForObjectInstance ( 00250 ObjectHandle theObject, 00251 const AttributeHandleSet& theAttributes) 00252 throw ( 00253 ObjectNotKnown, 00254 AttributeNotOwned, 00255 FederateInternalError) = 0; 00256 00260 00262 virtual void requestAttributeOwnershipAssumption ( 00263 ObjectHandle theObject, 00264 const AttributeHandleSet& offeredAttributes, 00265 const char *theTag) 00266 throw ( 00267 ObjectNotKnown, 00268 AttributeNotKnown, 00269 AttributeAlreadyOwned, 00270 AttributeNotPublished, 00271 FederateInternalError) = 0; 00272 00274 virtual void attributeOwnershipDivestitureNotification ( 00275 ObjectHandle theObject, 00276 const AttributeHandleSet& releasedAttributes) 00277 throw ( 00278 ObjectNotKnown, 00279 AttributeNotKnown, 00280 AttributeNotOwned, 00281 AttributeDivestitureWasNotRequested, 00282 FederateInternalError) = 0; 00283 00285 virtual void attributeOwnershipAcquisitionNotification ( 00286 ObjectHandle theObject, 00287 const AttributeHandleSet& securedAttributes) 00288 throw ( 00289 ObjectNotKnown, 00290 AttributeNotKnown, 00291 AttributeAcquisitionWasNotRequested, 00292 AttributeAlreadyOwned, 00293 AttributeNotPublished, 00294 FederateInternalError) = 0; 00295 00297 virtual void attributeOwnershipUnavailable ( 00298 ObjectHandle theObject, 00299 const AttributeHandleSet& theAttributes) 00300 throw ( 00301 ObjectNotKnown, 00302 AttributeNotKnown, 00303 AttributeNotDefined, 00304 AttributeAlreadyOwned, 00305 AttributeAcquisitionWasNotRequested, 00306 FederateInternalError) = 0; 00307 00309 virtual void requestAttributeOwnershipRelease ( 00310 ObjectHandle theObject, 00311 const AttributeHandleSet& candidateAttributes, 00312 const char *theTag) 00313 throw ( 00314 ObjectNotKnown, 00315 AttributeNotKnown, 00316 AttributeNotOwned, 00317 FederateInternalError) = 0; 00318 00320 virtual void confirmAttributeOwnershipAcquisitionCancellation ( 00321 ObjectHandle theObject, 00322 const AttributeHandleSet& theAttributes) 00323 throw ( 00324 ObjectNotKnown, 00325 AttributeNotKnown, 00326 AttributeNotDefined, 00327 AttributeAlreadyOwned, 00328 AttributeAcquisitionWasNotCanceled, 00329 FederateInternalError) = 0; 00330 00332 virtual void informAttributeOwnership ( 00333 ObjectHandle theObject, 00334 AttributeHandle theAttribute, 00335 FederateHandle theOwner) 00336 throw ( 00337 ObjectNotKnown, 00338 AttributeNotKnown, 00339 FederateInternalError) = 0; 00340 00341 virtual void attributeIsNotOwned ( 00342 ObjectHandle theObject, 00343 AttributeHandle theAttribute) 00344 throw ( 00345 ObjectNotKnown, 00346 AttributeNotKnown, 00347 FederateInternalError) = 0; 00348 00349 virtual void attributeOwnedByRTI ( 00350 ObjectHandle theObject, 00351 AttributeHandle theAttribute) 00352 throw ( 00353 ObjectNotKnown, 00354 AttributeNotKnown, 00355 FederateInternalError) = 0; 00356 00360 00362 virtual void timeRegulationEnabled ( 00363 const FedTime& theFederateTime) 00364 throw ( 00365 InvalidFederationTime, 00366 EnableTimeRegulationWasNotPending, 00367 FederateInternalError) = 0; 00368 00370 virtual void timeConstrainedEnabled ( 00371 const FedTime& theFederateTime) 00372 throw ( 00373 InvalidFederationTime, 00374 EnableTimeConstrainedWasNotPending, 00375 FederateInternalError) = 0; 00376 00378 virtual void timeAdvanceGrant ( 00379 const FedTime& theTime) 00380 throw ( 00381 InvalidFederationTime, 00382 TimeAdvanceWasNotInProgress, 00383 FederationTimeAlreadyPassed, 00384 FederateInternalError) = 0; 00385 00387 virtual void requestRetraction ( 00388 EventRetractionHandle theHandle) 00389 throw ( 00390 EventNotKnown, 00391 FederateInternalError) = 0; 00392 00393 00394 virtual ~FederateAmbassador() 00395 throw (FederateInternalError) { ; }