8 #ifndef DtFedAmbWrapper_H_
9 #define DtFedAmbWrapper_H_
18 using namespace rti1516e;
43 virtual void connectionLost (
44 std::wstring
const & faultDescription)
46 FederateInternalError);
49 virtual void reportFederationExecutions (
51 theFederationExecutionInformationList)
53 FederateInternalError);
57 std::wstring
const & label)
59 FederateInternalError);
62 std::wstring
const & label,
65 FederateInternalError);
69 std::wstring
const & label,
72 FederateInternalError);
76 std::wstring
const & label,
79 FederateInternalError);
83 std::wstring
const & label)
85 FederateInternalError);
88 std::wstring
const & label,
91 FederateInternalError);
96 FederateInternalError);
101 FederateInternalError);
105 virtual
void federationSaveStatusResponse (
107 theFederateStatusVector)
109 FederateInternalError);
113 std::wstring const & label)
115 FederateInternalError);
118 std::wstring const & label)
120 FederateInternalError);
125 FederateInternalError);
129 std::wstring const & label,
130 std::wstring const & federateName,
131 FederateHandle handle)
133 FederateInternalError);
138 FederateInternalError);
143 FederateInternalError);
146 virtual
void federationRestoreStatusResponse (
148 theFederateRestoreStatusVector)
150 FederateInternalError);
158 ObjectClassHandle theClass)
160 FederateInternalError);
164 ObjectClassHandle theClass)
166 FederateInternalError);
170 InteractionClassHandle theHandle)
172 FederateInternalError);
176 InteractionClassHandle theHandle)
178 FederateInternalError);
185 virtual
void objectInstanceNameReservationSucceeded (
186 std::wstring const & theObjectInstanceName)
188 FederateInternalError);
190 virtual
void objectInstanceNameReservationFailed (
191 std::wstring const & theObjectInstanceName)
193 FederateInternalError);
196 virtual
void multipleObjectInstanceNameReservationSucceeded (
197 std::set<std::wstring> const & theObjectInstanceNames)
199 FederateInternalError);
201 virtual
void multipleObjectInstanceNameReservationFailed (
202 std::set<std::wstring> const & theObjectInstanceNames)
204 FederateInternalError);
208 ObjectInstanceHandle theObject,
209 ObjectClassHandle theObjectClass,
210 std::wstring const & theObjectInstanceName)
212 FederateInternalError);
215 ObjectInstanceHandle theObject,
216 ObjectClassHandle theObjectClass,
217 std::wstring const & theObjectInstanceName,
218 FederateHandle producingFederate)
220 FederateInternalError);
224 ObjectInstanceHandle theObject,
231 FederateInternalError);
234 ObjectInstanceHandle theObject,
243 FederateInternalError);
246 ObjectInstanceHandle theObject,
253 MessageRetractionHandle theHandle,
256 FederateInternalError);
260 InteractionClassHandle theInteraction,
267 FederateInternalError);
270 InteractionClassHandle theInteraction,
279 FederateInternalError);
282 InteractionClassHandle theInteraction,
289 MessageRetractionHandle theHandle,
292 FederateInternalError);
296 ObjectInstanceHandle theObject,
301 FederateInternalError);
304 ObjectInstanceHandle theObject,
311 FederateInternalError);
314 ObjectInstanceHandle theObject,
319 MessageRetractionHandle theHandle,
322 FederateInternalError);
326 ObjectInstanceHandle theObject,
329 FederateInternalError);
333 ObjectInstanceHandle theObject,
336 FederateInternalError);
340 ObjectInstanceHandle theObject,
344 FederateInternalError);
348 ObjectInstanceHandle theObject,
351 FederateInternalError);
354 ObjectInstanceHandle theObject,
356 std::wstring const & updateRateDesignator)
358 FederateInternalError);
362 ObjectInstanceHandle theObject,
365 FederateInternalError);
368 virtual
void confirmAttributeTransportationTypeChange (
369 ObjectInstanceHandle theObject,
373 FederateInternalError);
376 virtual
void reportAttributeTransportationType (
377 ObjectInstanceHandle theObject,
378 AttributeHandle theAttribute,
381 FederateInternalError);
384 virtual
void confirmInteractionTransportationTypeChange (
385 InteractionClassHandle theInteraction,
388 FederateInternalError);
391 virtual
void reportInteractionTransportationType (
392 FederateHandle federateHandle,
393 InteractionClassHandle theInteraction,
396 FederateInternalError);
405 ObjectInstanceHandle theObject,
409 FederateInternalError);
412 virtual
void requestDivestitureConfirmation (
413 ObjectInstanceHandle theObject,
416 FederateInternalError);
420 ObjectInstanceHandle theObject,
424 FederateInternalError);
428 ObjectInstanceHandle theObject,
431 FederateInternalError);
435 ObjectInstanceHandle theObject,
439 FederateInternalError);
443 ObjectInstanceHandle theObject,
446 FederateInternalError);
450 ObjectInstanceHandle theObject,
451 AttributeHandle theAttribute,
452 FederateHandle theOwner)
454 FederateInternalError);
457 ObjectInstanceHandle theObject,
458 AttributeHandle theAttribute)
460 FederateInternalError);
462 virtual
void attributeIsOwnedByRTI (
463 ObjectInstanceHandle theObject,
464 AttributeHandle theAttribute)
466 FederateInternalError);
476 FederateInternalError);
482 FederateInternalError);
488 FederateInternalError);
492 MessageRetractionHandle theHandle)
494 FederateInternalError);
508 inline void DtFedAmbWrapper::connectionLost (
509 std::wstring
const & faultDescription)
511 FederateInternalError)
520 inline void DtFedAmbWrapper::reportFederationExecutions (
522 theFederationExecutionInformationList)
524 FederateInternalError)
528 myFedAmb->reportFederationExecutions(theFederationExecutionInformationList);
534 std::wstring
const & label)
536 FederateInternalError)
540 myFedAmb->synchronizationPointRegistrationSucceeded( label );
545 std::wstring
const & label,
548 FederateInternalError)
552 myFedAmb->synchronizationPointRegistrationFailed(label,reason);
558 std::wstring
const & label,
561 FederateInternalError)
565 myFedAmb->announceSynchronizationPoint(label,theUserSuppliedTag);
571 std::wstring
const & label,
574 FederateInternalError)
578 myFedAmb->federationSynchronized(label,failedToSyncSet);
584 std::wstring
const & label)
586 FederateInternalError)
590 myFedAmb->initiateFederateSave(label);
595 std::wstring
const & label,
598 FederateInternalError)
602 myFedAmb->initiateFederateSave(label,theTime);
609 FederateInternalError)
613 myFedAmb->federationSaved();
620 FederateInternalError)
624 myFedAmb->federationNotSaved(theSaveFailureReason);
630 inline void DtFedAmbWrapper::federationSaveStatusResponse (
632 theFederateStatusVector)
634 FederateInternalError)
638 myFedAmb->federationSaveStatusResponse(theFederateStatusVector);
644 std::wstring
const & label)
646 FederateInternalError)
650 myFedAmb->requestFederationRestoreSucceeded(label);
655 std::wstring
const & label)
657 FederateInternalError)
661 myFedAmb->requestFederationRestoreFailed(label);
668 FederateInternalError)
672 myFedAmb->federationRestoreBegun();
678 std::wstring
const & label,
679 std::wstring
const & federateName,
680 FederateHandle handle)
682 FederateInternalError)
686 myFedAmb->initiateFederateRestore(label,federateName,handle);
693 FederateInternalError)
697 myFedAmb->federationRestored();
704 FederateInternalError)
708 myFedAmb->federationNotRestored(theRestoreFailureReason);
713 inline void DtFedAmbWrapper::federationRestoreStatusResponse (
715 theFederateRestoreStatusVector)
717 FederateInternalError)
721 myFedAmb->federationRestoreStatusResponse( theFederateRestoreStatusVector );
731 ObjectClassHandle theClass)
733 FederateInternalError)
737 myFedAmb->startRegistrationForObjectClass(theClass);
743 ObjectClassHandle theClass)
745 FederateInternalError)
749 myFedAmb->stopRegistrationForObjectClass(theClass);
755 InteractionClassHandle theHandle)
757 FederateInternalError)
761 myFedAmb->turnInteractionsOn(theHandle);
767 InteractionClassHandle theHandle)
769 FederateInternalError)
773 myFedAmb->turnInteractionsOff(theHandle);
782 inline void DtFedAmbWrapper::objectInstanceNameReservationSucceeded (
783 std::wstring
const & theObjectInstanceName)
785 FederateInternalError)
789 myFedAmb->objectInstanceNameReservationSucceeded(theObjectInstanceName);
793 inline void DtFedAmbWrapper::objectInstanceNameReservationFailed (
794 std::wstring
const & theObjectInstanceName)
796 FederateInternalError)
800 myFedAmb->objectInstanceNameReservationFailed(theObjectInstanceName);
805 inline void DtFedAmbWrapper::multipleObjectInstanceNameReservationSucceeded (
806 std::set<std::wstring>
const & theObjectInstanceNames)
808 FederateInternalError)
812 myFedAmb->multipleObjectInstanceNameReservationSucceeded( theObjectInstanceNames );
816 inline void DtFedAmbWrapper::multipleObjectInstanceNameReservationFailed (
817 std::set<std::wstring>
const & theObjectInstanceNames)
819 FederateInternalError)
823 myFedAmb->multipleObjectInstanceNameReservationFailed(theObjectInstanceNames);
829 ObjectInstanceHandle theObject,
830 ObjectClassHandle theObjectClass,
831 std::wstring
const & theObjectInstanceName)
833 FederateInternalError)
837 myFedAmb->discoverObjectInstance(theObject,theObjectClass,theObjectInstanceName);
842 ObjectInstanceHandle theObject,
843 ObjectClassHandle theObjectClass,
844 std::wstring
const & theObjectInstanceName,
845 FederateHandle producingFederate)
847 FederateInternalError)
851 myFedAmb->discoverObjectInstance(theObject,theObjectClass,theObjectInstanceName,producingFederate);
857 ObjectInstanceHandle theObject,
864 FederateInternalError)
868 myFedAmb->reflectAttributeValues(theObject,
878 ObjectInstanceHandle theObject,
887 FederateInternalError)
891 myFedAmb->reflectAttributeValues(theObject,
903 ObjectInstanceHandle theObject,
910 MessageRetractionHandle theHandle,
913 FederateInternalError)
917 myFedAmb->reflectAttributeValues(theObject,
931 InteractionClassHandle theInteraction,
938 FederateInternalError)
942 myFedAmb->receiveInteraction(theInteraction,
952 InteractionClassHandle theInteraction,
961 FederateInternalError)
965 myFedAmb->receiveInteraction(theInteraction,
977 InteractionClassHandle theInteraction,
984 MessageRetractionHandle theHandle,
987 FederateInternalError)
991 myFedAmb->receiveInteraction(theInteraction,
1005 ObjectInstanceHandle theObject,
1010 FederateInternalError)
1014 myFedAmb->removeObjectInstance(theObject,
1022 ObjectInstanceHandle theObject,
1029 FederateInternalError)
1033 myFedAmb->removeObjectInstance(theObject,
1043 ObjectInstanceHandle theObject,
1048 MessageRetractionHandle theHandle,
1051 FederateInternalError)
1055 myFedAmb->removeObjectInstance(theObject,
1067 ObjectInstanceHandle theObject,
1070 FederateInternalError)
1074 myFedAmb->attributesInScope(theObject,
1081 ObjectInstanceHandle theObject,
1084 FederateInternalError)
1088 myFedAmb->attributesOutOfScope(theObject,
1095 ObjectInstanceHandle theObject,
1099 FederateInternalError)
1103 myFedAmb->provideAttributeValueUpdate(theObject,
1105 theUserSuppliedTag);
1111 ObjectInstanceHandle theObject,
1114 FederateInternalError)
1118 myFedAmb->turnUpdatesOnForObjectInstance(theObject,
1124 ObjectInstanceHandle theObject,
1126 std::wstring
const & updateRateDesignator)
1128 FederateInternalError)
1132 myFedAmb->turnUpdatesOnForObjectInstance(theObject,
1134 updateRateDesignator);
1140 ObjectInstanceHandle theObject,
1143 FederateInternalError)
1147 myFedAmb->turnUpdatesOffForObjectInstance(theObject,
1153 inline void DtFedAmbWrapper::confirmAttributeTransportationTypeChange (
1154 ObjectInstanceHandle theObject,
1158 FederateInternalError)
1162 myFedAmb->confirmAttributeTransportationTypeChange(theObject,
1169 inline void DtFedAmbWrapper::reportAttributeTransportationType (
1170 ObjectInstanceHandle theObject,
1171 AttributeHandle theAttribute,
1174 FederateInternalError)
1178 myFedAmb->reportAttributeTransportationType(theObject,
1185 inline void DtFedAmbWrapper::confirmInteractionTransportationTypeChange (
1186 InteractionClassHandle theInteraction,
1189 FederateInternalError)
1193 myFedAmb->confirmInteractionTransportationTypeChange(theInteraction,
1199 inline void DtFedAmbWrapper::reportInteractionTransportationType (
1200 FederateHandle federateHandle,
1201 InteractionClassHandle theInteraction,
1204 FederateInternalError)
1208 myFedAmb->reportInteractionTransportationType(federateHandle,
1221 ObjectInstanceHandle theObject,
1225 FederateInternalError)
1229 myFedAmb->requestAttributeOwnershipAssumption(theObject,
1231 theUserSuppliedTag);
1236 inline void DtFedAmbWrapper::requestDivestitureConfirmation (
1237 ObjectInstanceHandle theObject,
1240 FederateInternalError)
1244 myFedAmb->requestDivestitureConfirmation(theObject,
1245 releasedAttributes);
1251 ObjectInstanceHandle theObject,
1255 FederateInternalError)
1259 myFedAmb->attributeOwnershipAcquisitionNotification(theObject,
1261 theUserSuppliedTag);
1267 ObjectInstanceHandle theObject,
1270 FederateInternalError)
1274 myFedAmb->attributeOwnershipUnavailable(theObject,
1281 ObjectInstanceHandle theObject,
1285 FederateInternalError)
1289 myFedAmb->requestAttributeOwnershipRelease(theObject,
1290 candidateAttributes,
1291 theUserSuppliedTag);
1297 ObjectInstanceHandle theObject,
1300 FederateInternalError)
1304 myFedAmb->confirmAttributeOwnershipAcquisitionCancellation(theObject,
1311 ObjectInstanceHandle theObject,
1312 AttributeHandle theAttribute,
1313 FederateHandle theOwner)
1315 FederateInternalError)
1319 myFedAmb->informAttributeOwnership(theObject,
1326 ObjectInstanceHandle theObject,
1327 AttributeHandle theAttribute)
1329 FederateInternalError)
1333 myFedAmb->attributeIsNotOwned(theObject,
1338 inline void DtFedAmbWrapper::attributeIsOwnedByRTI (
1339 ObjectInstanceHandle theObject,
1340 AttributeHandle theAttribute)
1342 FederateInternalError)
1346 myFedAmb->attributeIsOwnedByRTI(theObject,
1359 FederateInternalError)
1363 myFedAmb->timeRegulationEnabled(theFederateTime);
1371 FederateInternalError)
1375 myFedAmb->timeConstrainedEnabled(theFederateTime);
1383 FederateInternalError)
1387 myFedAmb->timeAdvanceGrant(theTime);
1393 MessageRetractionHandle theHandle)
1395 FederateInternalError)
1399 myFedAmb->requestRetraction( theHandle );
1404 #endif // DtIFSPEC1516E
1405 #endif // DtFedAmbWrapper_H_
RestoreFailureReason
Definition: Enums.h:43
Definition: Typedefs.h:101
SynchronizationPointFailureReason
Definition: Enums.h:91
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 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
Definition: NullFederateAmbassador.h:25
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 connectionLost(std::wstring const &faultDescription)=0
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.
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
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
TransportationType
Definition: Enums.h:97
This file provides an example derivation of the rti1516e::FederateAmbassador with NULL actions for ea...
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