17 #ifndef RTI_FederateAmbassador_h
18 #define RTI_FederateAmbassador_h
37 FederateInternalError);
44 virtual void connectionLost (
45 std::wstring
const & faultDescription)
47 FederateInternalError) = 0;
50 virtual void reportFederationExecutions (
52 theFederationExecutionInformationList)
54 FederateInternalError) = 0;
58 std::wstring
const & label)
60 FederateInternalError) = 0;
63 std::wstring
const & label,
66 FederateInternalError) = 0;
70 std::wstring
const & label,
73 FederateInternalError) = 0;
77 std::wstring
const & label,
80 FederateInternalError) = 0;
84 std::wstring
const & label)
86 FederateInternalError) = 0;
89 std::wstring
const & label,
92 FederateInternalError) = 0;
97 FederateInternalError) = 0;
102 FederateInternalError) = 0;
106 virtual void federationSaveStatusResponse (
108 theFederateStatusVector)
110 FederateInternalError) = 0;
114 std::wstring
const & label)
116 FederateInternalError) = 0;
119 std::wstring
const & label)
121 FederateInternalError) = 0;
126 FederateInternalError) = 0;
130 std::wstring
const & label,
131 std::wstring
const & federateName,
132 FederateHandle handle)
134 FederateInternalError) = 0;
139 FederateInternalError) = 0;
144 FederateInternalError) = 0;
147 virtual void federationRestoreStatusResponse (
149 theFederateRestoreStatusVector)
151 FederateInternalError) = 0;
159 ObjectClassHandle theClass)
161 FederateInternalError) = 0;
165 ObjectClassHandle theClass)
167 FederateInternalError) = 0;
171 InteractionClassHandle theHandle)
173 FederateInternalError) = 0;
177 InteractionClassHandle theHandle)
179 FederateInternalError) = 0;
186 virtual void objectInstanceNameReservationSucceeded (
187 std::wstring
const & theObjectInstanceName)
189 FederateInternalError) = 0;
191 virtual void objectInstanceNameReservationFailed (
192 std::wstring
const & theObjectInstanceName)
194 FederateInternalError) = 0;
197 virtual void multipleObjectInstanceNameReservationSucceeded (
198 std::set<std::wstring>
const & theObjectInstanceNames)
200 FederateInternalError) = 0;
202 virtual void multipleObjectInstanceNameReservationFailed (
203 std::set<std::wstring>
const & theObjectInstanceNames)
205 FederateInternalError) = 0;
210 ObjectInstanceHandle theObject,
211 ObjectClassHandle theObjectClass,
212 std::wstring
const & theObjectInstanceName)
214 FederateInternalError) = 0;
217 ObjectInstanceHandle theObject,
218 ObjectClassHandle theObjectClass,
219 std::wstring
const & theObjectInstanceName,
220 FederateHandle producingFederate)
222 FederateInternalError) = 0;
226 ObjectInstanceHandle theObject,
233 FederateInternalError) = 0;
236 ObjectInstanceHandle theObject,
245 FederateInternalError) = 0;
248 ObjectInstanceHandle theObject,
255 MessageRetractionHandle theHandle,
258 FederateInternalError) = 0;
262 InteractionClassHandle theInteraction,
269 FederateInternalError) = 0;
272 InteractionClassHandle theInteraction,
281 FederateInternalError) = 0;
284 InteractionClassHandle theInteraction,
291 MessageRetractionHandle theHandle,
294 FederateInternalError) = 0;
298 ObjectInstanceHandle theObject,
303 FederateInternalError) = 0;
306 ObjectInstanceHandle theObject,
313 FederateInternalError) = 0;
316 ObjectInstanceHandle theObject,
321 MessageRetractionHandle theHandle,
324 FederateInternalError) = 0;
328 ObjectInstanceHandle theObject,
331 FederateInternalError) = 0;
335 ObjectInstanceHandle theObject,
338 FederateInternalError) = 0;
342 ObjectInstanceHandle theObject,
346 FederateInternalError) = 0;
350 ObjectInstanceHandle theObject,
353 FederateInternalError) = 0;
356 ObjectInstanceHandle theObject,
358 std::wstring
const & updateRateDesignator)
360 FederateInternalError) = 0;
364 ObjectInstanceHandle theObject,
367 FederateInternalError) = 0;
370 virtual void confirmAttributeTransportationTypeChange (
371 ObjectInstanceHandle theObject,
375 FederateInternalError) = 0;
378 virtual void reportAttributeTransportationType (
379 ObjectInstanceHandle theObject,
380 AttributeHandle theAttribute,
383 FederateInternalError) = 0;
386 virtual void confirmInteractionTransportationTypeChange (
387 InteractionClassHandle theInteraction,
390 FederateInternalError) = 0;
393 virtual void reportInteractionTransportationType (
394 FederateHandle federateHandle,
395 InteractionClassHandle theInteraction,
398 FederateInternalError) = 0;
407 ObjectInstanceHandle theObject,
411 FederateInternalError) = 0;
414 virtual void requestDivestitureConfirmation (
415 ObjectInstanceHandle theObject,
418 FederateInternalError) = 0;
422 ObjectInstanceHandle theObject,
426 FederateInternalError) = 0;
430 ObjectInstanceHandle theObject,
433 FederateInternalError) = 0;
437 ObjectInstanceHandle theObject,
441 FederateInternalError) = 0;
445 ObjectInstanceHandle theObject,
448 FederateInternalError) = 0;
452 ObjectInstanceHandle theObject,
453 AttributeHandle theAttribute,
454 FederateHandle theOwner)
456 FederateInternalError) = 0;
459 ObjectInstanceHandle theObject,
460 AttributeHandle theAttribute)
462 FederateInternalError) = 0;
464 virtual void attributeIsOwnedByRTI (
465 ObjectInstanceHandle theObject,
466 AttributeHandle theAttribute)
468 FederateInternalError) = 0;
478 FederateInternalError) = 0;
484 FederateInternalError) = 0;
490 FederateInternalError) = 0;
494 MessageRetractionHandle theHandle)
496 FederateInternalError) = 0;
500 #endif // RTI_FederateAmbassador_h
RestoreFailureReason
Definition: Enums.h:43
Definition: Typedefs.h:101
SynchronizationPointFailureReason
Definition: Enums.h:91
#define RTI_EXPORT
Definition: SpecificConfig.h:63
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
Definition: Typedefs.h:138
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
virtual void informAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute, FederateHandle theOwner)=0
7.16
virtual void initiateFederateRestore(const char *label, FederateHandle handle)=0
4.19
virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.14
Definition: LogicalTime.h:35
virtual void startRegistrationForObjectClass(ObjectClassHandle theClass)=0
! Declaration Management Services //!
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
virtual ~FederateAmbassador()
Definition: fedAmbServ.h:394
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
virtual void federationNotRestored()=0
SaveFailureReason
Definition: Enums.h:62
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
Definition: Typedefs.h:119
std::vector< FederationExecutionInformation > FederationExecutionInformationVector
Definition: Typedefs.h:99
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
Definition: VariableLengthData.h:34
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
virtual void synchronizationPointRegistrationSucceeded(const char *label)=0
RTI Parameter Passing Memory Conventions.
virtual void initiateFederateSave(const char *label)=0
4.12
virtual void timeAdvanceGrant(const FedTime &theTime)=0
8.13
virtual void announceSynchronizationPoint(const char *label, const char *tag)=0
4.8
virtual void requestFederationRestoreFailed(const char *label, const char *reason)=0
supplied C4
virtual void federationNotSaved()=0
This file contains the standard RTI types that are defined in namespace rti1516.
virtual void federationSynchronized(const char *label)=0
4.10
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
virtual void attributeOwnershipAcquisitionNotification(ObjectHandle theObject, const AttributeHandleSet &securedAttributes)=0
7.6
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:65
OrderType
Definition: Enums.h:27
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
virtual void federationRestored()=0
4.21
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
virtual void turnUpdatesOffForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.18
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
virtual void requestAttributeOwnershipAssumption(ObjectHandle theObject, const AttributeHandleSet &offeredAttributes, const char *theTag)=0
! Ownership Management Services //!
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:37
This file contains enumerations used by the interface.
This file contains definitions that are used to isolate platform-specific elements of the API...
virtual void turnUpdatesOnForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.17
An abstract base class which must be implemented, and used by a federate.
Definition: FederateAmbassador.h:32
virtual void stopRegistrationForObjectClass(ObjectClassHandle theClass)=0
5.11
virtual void attributeIsNotOwned(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
TransportationType
Definition: Enums.h:97
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
std::vector< FederateRestoreStatus > FederateRestoreStatusVector
Definition: Typedefs.h:83
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49