12 #ifndef DtFedAmbWrapper_H_
13 #define DtFedAmbWrapper_H_
41 virtual rti1516::FederateAmbassador* fedAmb();
42 virtual
void setFedAmb(rti1516::FederateAmbassador* f);
45 rti1516::FederateAmbassador* myFedAmb;
57 throw (rti1516::FederateInternalError);
63 throw (rti1516::FederateInternalError);
69 rti1516::VariableLengthData const & theUserSuppliedTag)
70 throw (rti1516::FederateInternalError);
76 throw (rti1516::FederateInternalError);
82 throw (rti1516::UnableToPerformSave,
83 rti1516::FederateInternalError);
88 rti1516::LogicalTime const & theTime)
89 throw (rti1516::UnableToPerformSave,
90 rti1516::InvalidLogicalTime,
91 rti1516::FederateInternalError);
97 throw (rti1516::FederateInternalError);
102 throw (rti1516::FederateInternalError);
108 federationSaveStatusResponse(
110 throw (rti1516::FederateInternalError);
116 throw (rti1516::FederateInternalError);
121 throw (rti1516::FederateInternalError);
127 throw (rti1516::FederateInternalError);
133 rti1516::FederateHandle handle)
134 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
135 rti1516::CouldNotInitiateRestore,
136 rti1516::FederateInternalError);
142 throw (rti1516::FederateInternalError);
147 throw (rti1516::FederateInternalError);
152 federationRestoreStatusResponse(
154 throw (rti1516::FederateInternalError);
164 throw (rti1516::ObjectClassNotPublished,
165 rti1516::FederateInternalError);
171 throw (rti1516::ObjectClassNotPublished,
172 rti1516::FederateInternalError);
178 throw (rti1516::InteractionClassNotPublished,
179 rti1516::FederateInternalError);
185 throw (rti1516::InteractionClassNotPublished,
186 rti1516::FederateInternalError);
195 objectInstanceNameReservationSucceeded(std::wstring const &
196 theObjectInstanceName)
197 throw (rti1516::UnknownName,
198 rti1516::FederateInternalError);
202 objectInstanceNameReservationFailed(std::wstring const &
203 theObjectInstanceName)
204 throw (rti1516::UnknownName,
205 rti1516::FederateInternalError);
212 rti1516::ObjectClassHandle theObjectClass,
213 std::wstring const & theObjectInstanceName)
214 throw (rti1516::CouldNotDiscover,
215 rti1516::ObjectClassNotKnown,
216 rti1516::FederateInternalError);
222 (rti1516::ObjectInstanceHandle theObject,
224 rti1516::VariableLengthData const & theUserSuppliedTag,
227 throw (rti1516::ObjectInstanceNotKnown,
228 rti1516::AttributeNotRecognized,
229 rti1516::AttributeNotSubscribed,
230 rti1516::FederateInternalError);
235 (rti1516::ObjectInstanceHandle theObject,
237 rti1516::VariableLengthData const & theUserSuppliedTag,
241 throw (rti1516::ObjectInstanceNotKnown,
242 rti1516::AttributeNotRecognized,
243 rti1516::AttributeNotSubscribed,
244 rti1516::FederateInternalError);
249 (rti1516::ObjectInstanceHandle theObject,
251 rti1516::VariableLengthData const & theUserSuppliedTag,
254 rti1516::LogicalTime const & theTime,
256 throw (rti1516::ObjectInstanceNotKnown,
257 rti1516::AttributeNotRecognized,
258 rti1516::AttributeNotSubscribed,
259 rti1516::FederateInternalError);
264 (rti1516::ObjectInstanceHandle theObject,
266 rti1516::VariableLengthData const & theUserSuppliedTag,
269 rti1516::LogicalTime const & theTime,
272 throw (rti1516::ObjectInstanceNotKnown,
273 rti1516::AttributeNotRecognized,
274 rti1516::AttributeNotSubscribed,
275 rti1516::FederateInternalError);
280 (rti1516::ObjectInstanceHandle theObject,
282 rti1516::VariableLengthData const & theUserSuppliedTag,
285 rti1516::LogicalTime const & theTime,
287 rti1516::MessageRetractionHandle theHandle)
288 throw (rti1516::ObjectInstanceNotKnown,
289 rti1516::AttributeNotRecognized,
290 rti1516::AttributeNotSubscribed,
291 rti1516::InvalidLogicalTime,
292 rti1516::FederateInternalError);
297 (rti1516::ObjectInstanceHandle theObject,
299 rti1516::VariableLengthData const & theUserSuppliedTag,
302 rti1516::LogicalTime const & theTime,
304 rti1516::MessageRetractionHandle theHandle,
306 throw (rti1516::ObjectInstanceNotKnown,
307 rti1516::AttributeNotRecognized,
308 rti1516::AttributeNotSubscribed,
309 rti1516::InvalidLogicalTime,
310 rti1516::FederateInternalError);
316 (rti1516::InteractionClassHandle theInteraction,
318 rti1516::VariableLengthData const & theUserSuppliedTag,
321 throw (rti1516::InteractionClassNotRecognized,
322 rti1516::InteractionParameterNotRecognized,
323 rti1516::InteractionClassNotSubscribed,
324 rti1516::FederateInternalError);
329 (rti1516::InteractionClassHandle theInteraction,
331 rti1516::VariableLengthData const & theUserSuppliedTag,
335 throw (rti1516::InteractionClassNotRecognized,
336 rti1516::InteractionParameterNotRecognized,
337 rti1516::InteractionClassNotSubscribed,
338 rti1516::FederateInternalError);
343 (rti1516::InteractionClassHandle theInteraction,
345 rti1516::VariableLengthData const & theUserSuppliedTag,
348 rti1516::LogicalTime const & theTime,
350 throw (rti1516::InteractionClassNotRecognized,
351 rti1516::InteractionParameterNotRecognized,
352 rti1516::InteractionClassNotSubscribed,
353 rti1516::FederateInternalError);
358 (rti1516::InteractionClassHandle theInteraction,
360 rti1516::VariableLengthData const & theUserSuppliedTag,
363 rti1516::LogicalTime const & theTime,
366 throw (rti1516::InteractionClassNotRecognized,
367 rti1516::InteractionParameterNotRecognized,
368 rti1516::InteractionClassNotSubscribed,
369 rti1516::FederateInternalError);
374 (rti1516::InteractionClassHandle theInteraction,
376 rti1516::VariableLengthData const & theUserSuppliedTag,
379 rti1516::LogicalTime const & theTime,
381 rti1516::MessageRetractionHandle theHandle)
382 throw (rti1516::InteractionClassNotRecognized,
383 rti1516::InteractionParameterNotRecognized,
384 rti1516::InteractionClassNotSubscribed,
385 rti1516::InvalidLogicalTime,
386 rti1516::FederateInternalError);
391 (rti1516::InteractionClassHandle theInteraction,
393 rti1516::VariableLengthData const & theUserSuppliedTag,
396 rti1516::LogicalTime const & theTime,
398 rti1516::MessageRetractionHandle theHandle,
400 throw (rti1516::InteractionClassNotRecognized,
401 rti1516::InteractionParameterNotRecognized,
402 rti1516::InteractionClassNotSubscribed,
403 rti1516::InvalidLogicalTime,
404 rti1516::FederateInternalError);
410 rti1516::VariableLengthData const & theUserSuppliedTag,
412 throw (rti1516::ObjectInstanceNotKnown,
413 rti1516::FederateInternalError);
418 rti1516::VariableLengthData const & theUserSuppliedTag,
420 rti1516::LogicalTime const & theTime,
422 throw (rti1516::ObjectInstanceNotKnown,
423 rti1516::FederateInternalError);
428 rti1516::VariableLengthData const & theUserSuppliedTag,
430 rti1516::LogicalTime const & theTime,
432 rti1516::MessageRetractionHandle theHandle)
433 throw (rti1516::ObjectInstanceNotKnown,
434 rti1516::InvalidLogicalTime,
435 rti1516::FederateInternalError);
441 (rti1516::ObjectInstanceHandle theObject,
443 throw (rti1516::ObjectInstanceNotKnown,
444 rti1516::AttributeNotRecognized,
445 rti1516::AttributeNotSubscribed,
446 rti1516::FederateInternalError);
452 (rti1516::ObjectInstanceHandle theObject,
454 throw (rti1516::ObjectInstanceNotKnown,
455 rti1516::AttributeNotRecognized,
456 rti1516::AttributeNotSubscribed,
457 rti1516::FederateInternalError);
463 (rti1516::ObjectInstanceHandle theObject,
465 rti1516::VariableLengthData const & theUserSuppliedTag)
466 throw (rti1516::ObjectInstanceNotKnown,
467 rti1516::AttributeNotRecognized,
468 rti1516::AttributeNotOwned,
469 rti1516::FederateInternalError);
475 (rti1516::ObjectInstanceHandle theObject,
477 throw (rti1516::ObjectInstanceNotKnown,
478 rti1516::AttributeNotRecognized,
479 rti1516::AttributeNotOwned,
480 rti1516::FederateInternalError);
486 (rti1516::ObjectInstanceHandle theObject,
488 throw (rti1516::ObjectInstanceNotKnown,
489 rti1516::AttributeNotRecognized,
490 rti1516::AttributeNotOwned,
491 rti1516::FederateInternalError);
501 (rti1516::ObjectInstanceHandle theObject,
503 rti1516::VariableLengthData const & theUserSuppliedTag)
504 throw (rti1516::ObjectInstanceNotKnown,
505 rti1516::AttributeNotRecognized,
506 rti1516::AttributeAlreadyOwned,
507 rti1516::AttributeNotPublished,
508 rti1516::FederateInternalError);
513 requestDivestitureConfirmation
514 (rti1516::ObjectInstanceHandle theObject,
516 throw (rti1516::ObjectInstanceNotKnown,
517 rti1516::AttributeNotRecognized,
518 rti1516::AttributeNotOwned,
519 rti1516::AttributeDivestitureWasNotRequested,
520 rti1516::FederateInternalError);
526 (rti1516::ObjectInstanceHandle theObject,
528 rti1516::VariableLengthData const & theUserSuppliedTag)
529 throw (rti1516::ObjectInstanceNotKnown,
530 rti1516::AttributeNotRecognized,
531 rti1516::AttributeAcquisitionWasNotRequested,
532 rti1516::AttributeAlreadyOwned,
533 rti1516::AttributeNotPublished,
534 rti1516::FederateInternalError);
540 (rti1516::ObjectInstanceHandle theObject,
542 throw (rti1516::ObjectInstanceNotKnown,
543 rti1516::AttributeNotRecognized,
544 rti1516::AttributeAlreadyOwned,
545 rti1516::AttributeAcquisitionWasNotRequested,
546 rti1516::FederateInternalError);
552 (rti1516::ObjectInstanceHandle theObject,
554 rti1516::VariableLengthData const & theUserSuppliedTag)
555 throw (rti1516::ObjectInstanceNotKnown,
556 rti1516::AttributeNotRecognized,
557 rti1516::AttributeNotOwned,
558 rti1516::FederateInternalError);
564 (rti1516::ObjectInstanceHandle theObject,
566 throw (rti1516::ObjectInstanceNotKnown,
567 rti1516::AttributeNotRecognized,
568 rti1516::AttributeAlreadyOwned,
569 rti1516::AttributeAcquisitionWasNotCanceled,
570 rti1516::FederateInternalError);
576 rti1516::AttributeHandle theAttribute,
577 rti1516::FederateHandle theOwner)
578 throw (rti1516::ObjectInstanceNotKnown,
579 rti1516::AttributeNotRecognized,
580 rti1516::FederateInternalError);
585 rti1516::AttributeHandle theAttribute)
586 throw (rti1516::ObjectInstanceNotKnown,
587 rti1516::AttributeNotRecognized,
588 rti1516::FederateInternalError);
592 attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
593 rti1516::AttributeHandle theAttribute)
594 throw (rti1516::ObjectInstanceNotKnown,
595 rti1516::AttributeNotRecognized,
596 rti1516::FederateInternalError);
606 throw (rti1516::InvalidLogicalTime,
607 rti1516::NoRequestToEnableTimeRegulationWasPending,
608 rti1516::FederateInternalError);
614 throw (rti1516::InvalidLogicalTime,
615 rti1516::NoRequestToEnableTimeConstrainedWasPending,
616 rti1516::FederateInternalError);
622 throw (rti1516::InvalidLogicalTime,
623 rti1516::JoinedFederateIsNotInTimeAdvancingState,
624 rti1516::FederateInternalError);
630 throw (rti1516::FederateInternalError);
635 : rti1516::NullFederateAmbassador()
640 inline DtFedAmbWrapper::~DtFedAmbWrapper()
660 std::wstring
const & label)
662 rti1516::FederateInternalError)
666 myFedAmb->synchronizationPointRegistrationSucceeded(label);
671 std::wstring
const & label,
674 rti1516::FederateInternalError)
683 std::wstring
const & label,
686 rti1516::FederateInternalError)
695 std::wstring
const & label)
697 rti1516::FederateInternalError)
706 std::wstring
const & label)
708 rti1516::UnableToPerformSave,
709 rti1516::FederateInternalError)
718 std::wstring
const & label,
721 rti1516::UnableToPerformSave,
722 rti1516::InvalidLogicalTime,
723 rti1516::FederateInternalError)
733 rti1516::FederateInternalError)
744 rti1516::FederateInternalError)
752 inline void DtFedAmbWrapper::federationSaveStatusResponse(
755 rti1516::FederateInternalError)
764 std::wstring
const & label)
766 rti1516::FederateInternalError)
775 std::wstring
const & label)
777 rti1516::FederateInternalError)
787 rti1516::FederateInternalError)
796 std::wstring
const & label,
797 rti1516::FederateHandle handle)
798 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
799 rti1516::CouldNotInitiateRestore,
800 rti1516::FederateInternalError)
811 rti1516::FederateInternalError)
821 rti1516::FederateInternalError)
829 inline void DtFedAmbWrapper::federationRestoreStatusResponse(
832 rti1516::FederateInternalError)
836 myFedAmb->federationRestoreStatusResponse(theFederateStatusVector);
845 rti1516::ObjectClassHandle theClass)
847 rti1516::ObjectClassNotPublished,
848 rti1516::FederateInternalError)
857 rti1516::ObjectClassHandle theClass)
859 rti1516::ObjectClassNotPublished,
860 rti1516::FederateInternalError)
869 rti1516::InteractionClassHandle theHandle)
871 rti1516::InteractionClassNotPublished,
872 rti1516::FederateInternalError)
882 rti1516::InteractionClassHandle theHandle)
884 rti1516::InteractionClassNotPublished,
885 rti1516::FederateInternalError)
897 inline void DtFedAmbWrapper::objectInstanceNameReservationSucceeded(
898 std::wstring
const & theObjectInstanceName)
900 rti1516::UnknownName,
901 rti1516::FederateInternalError)
905 myFedAmb->objectInstanceNameReservationSucceeded(theObjectInstanceName);
909 inline void DtFedAmbWrapper::objectInstanceNameReservationFailed(
910 std::wstring
const & theObjectInstanceName)
912 rti1516::UnknownName,
913 rti1516::FederateInternalError)
917 myFedAmb->objectInstanceNameReservationFailed(theObjectInstanceName);
922 rti1516::ObjectInstanceHandle theObject,
923 rti1516::ObjectClassHandle theObjectClass,
924 std::wstring
const & theObjectInstanceName)
926 rti1516::CouldNotDiscover,
927 rti1516::ObjectClassNotKnown,
928 rti1516::FederateInternalError)
933 theObjectInstanceName);
938 rti1516::ObjectInstanceHandle theObject,
944 rti1516::ObjectInstanceNotKnown,
945 rti1516::AttributeNotRecognized,
946 rti1516::AttributeNotSubscribed,
947 rti1516::FederateInternalError)
951 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
952 theUserSuppliedTag, sentOrder, theType);
957 rti1516::ObjectInstanceHandle theObject,
964 rti1516::ObjectInstanceNotKnown,
965 rti1516::AttributeNotRecognized,
966 rti1516::AttributeNotSubscribed,
967 rti1516::FederateInternalError)
971 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
972 theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
977 rti1516::ObjectInstanceHandle theObject,
985 rti1516::ObjectInstanceNotKnown,
986 rti1516::AttributeNotRecognized,
987 rti1516::AttributeNotSubscribed,
988 rti1516::FederateInternalError)
992 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
993 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
998 rti1516::ObjectInstanceHandle theObject,
1007 rti1516::ObjectInstanceNotKnown,
1008 rti1516::AttributeNotRecognized,
1009 rti1516::AttributeNotSubscribed,
1010 rti1516::FederateInternalError)
1014 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1015 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1016 theSentRegionHandleSet);
1021 rti1516::ObjectInstanceHandle theObject,
1028 rti1516::MessageRetractionHandle theHandle)
1030 rti1516::ObjectInstanceNotKnown,
1031 rti1516::AttributeNotRecognized,
1032 rti1516::AttributeNotSubscribed,
1033 rti1516::InvalidLogicalTime,
1034 rti1516::FederateInternalError)
1038 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1039 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1045 rti1516::ObjectInstanceHandle theObject,
1052 rti1516::MessageRetractionHandle theHandle,
1055 rti1516::ObjectInstanceNotKnown,
1056 rti1516::AttributeNotRecognized,
1057 rti1516::AttributeNotSubscribed,
1058 rti1516::InvalidLogicalTime,
1059 rti1516::FederateInternalError)
1063 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1064 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1065 theHandle, theSentRegionHandleSet);
1070 rti1516::InteractionClassHandle theInteraction,
1076 rti1516::InteractionClassNotRecognized,
1077 rti1516::InteractionParameterNotRecognized,
1078 rti1516::InteractionClassNotSubscribed,
1079 rti1516::FederateInternalError)
1083 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1084 theUserSuppliedTag, sentOrder, theType);
1089 rti1516::InteractionClassHandle theInteraction,
1096 rti1516::InteractionClassNotRecognized,
1097 rti1516::InteractionParameterNotRecognized,
1098 rti1516::InteractionClassNotSubscribed,
1099 rti1516::FederateInternalError)
1103 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1104 theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
1109 rti1516::InteractionClassHandle theInteraction,
1117 rti1516::InteractionClassNotRecognized,
1118 rti1516::InteractionParameterNotRecognized,
1119 rti1516::InteractionClassNotSubscribed,
1120 rti1516::FederateInternalError)
1124 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1125 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
1130 rti1516::InteractionClassHandle theInteraction,
1139 rti1516::InteractionClassNotRecognized,
1140 rti1516::InteractionParameterNotRecognized,
1141 rti1516::InteractionClassNotSubscribed,
1142 rti1516::FederateInternalError)
1146 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1147 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1148 theSentRegionHandleSet);
1153 rti1516::InteractionClassHandle theInteraction,
1160 rti1516::MessageRetractionHandle theHandle)
1162 rti1516::InteractionClassNotRecognized,
1163 rti1516::InteractionParameterNotRecognized,
1164 rti1516::InteractionClassNotSubscribed,
1165 rti1516::InvalidLogicalTime,
1166 rti1516::FederateInternalError)
1170 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1171 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1177 rti1516::InteractionClassHandle theInteraction,
1184 rti1516::MessageRetractionHandle theHandle,
1187 rti1516::InteractionClassNotRecognized,
1188 rti1516::InteractionParameterNotRecognized,
1189 rti1516::InteractionClassNotSubscribed,
1190 rti1516::InvalidLogicalTime,
1191 rti1516::FederateInternalError)
1195 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1196 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1197 theHandle, theSentRegionHandleSet);
1202 rti1516::ObjectInstanceHandle theObject,
1206 rti1516::ObjectInstanceNotKnown,
1207 rti1516::FederateInternalError)
1211 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder);
1216 rti1516::ObjectInstanceHandle theObject,
1222 rti1516::ObjectInstanceNotKnown,
1223 rti1516::FederateInternalError)
1227 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
1228 theTime, receivedOrder);
1233 rti1516::ObjectInstanceHandle theObject,
1238 rti1516::MessageRetractionHandle theHandle)
1240 rti1516::ObjectInstanceNotKnown,
1241 rti1516::InvalidLogicalTime,
1242 rti1516::FederateInternalError)
1246 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
1247 theTime, receivedOrder, theHandle);
1252 rti1516::ObjectInstanceHandle theObject,
1255 rti1516::ObjectInstanceNotKnown,
1256 rti1516::AttributeNotRecognized,
1257 rti1516::AttributeNotSubscribed,
1258 rti1516::FederateInternalError)
1262 myFedAmb->attributesInScope(theObject, theAttributes);
1267 rti1516::ObjectInstanceHandle theObject,
1270 rti1516::ObjectInstanceNotKnown,
1271 rti1516::AttributeNotRecognized,
1272 rti1516::AttributeNotSubscribed,
1273 rti1516::FederateInternalError)
1277 myFedAmb->attributesOutOfScope(theObject, theAttributes);
1282 rti1516::ObjectInstanceHandle theObject,
1286 rti1516::ObjectInstanceNotKnown,
1287 rti1516::AttributeNotRecognized,
1288 rti1516::AttributeNotOwned,
1289 rti1516::FederateInternalError)
1293 myFedAmb->provideAttributeValueUpdate(theObject, theAttributes,
1294 theUserSuppliedTag);
1299 rti1516::ObjectInstanceHandle theObject,
1302 rti1516::ObjectInstanceNotKnown,
1303 rti1516::AttributeNotRecognized,
1304 rti1516::AttributeNotOwned,
1305 rti1516::FederateInternalError)
1309 myFedAmb->turnUpdatesOnForObjectInstance(theObject, theAttributes);
1318 rti1516::ObjectInstanceHandle theObject,
1321 rti1516::ObjectInstanceNotKnown,
1322 rti1516::AttributeNotRecognized,
1323 rti1516::AttributeNotOwned,
1324 rti1516::FederateInternalError)
1328 myFedAmb->turnUpdatesOffForObjectInstance(theObject, theAttributes);
1333 rti1516::ObjectInstanceHandle theObject,
1337 rti1516::ObjectInstanceNotKnown,
1338 rti1516::AttributeNotRecognized,
1339 rti1516::AttributeAlreadyOwned,
1340 rti1516::AttributeNotPublished,
1341 rti1516::FederateInternalError)
1345 myFedAmb->requestAttributeOwnershipAssumption(theObject,
1346 offeredAttributes, theUserSuppliedTag);
1350 inline void DtFedAmbWrapper::requestDivestitureConfirmation (
1351 rti1516::ObjectInstanceHandle theObject,
1354 rti1516::ObjectInstanceNotKnown,
1355 rti1516::AttributeNotRecognized,
1356 rti1516::AttributeNotOwned,
1357 rti1516::AttributeDivestitureWasNotRequested,
1358 rti1516::FederateInternalError)
1362 myFedAmb->requestDivestitureConfirmation(theObject, releasedAttributes);
1367 rti1516::ObjectInstanceHandle theObject,
1371 rti1516::ObjectInstanceNotKnown,
1372 rti1516::AttributeNotRecognized,
1373 rti1516::AttributeAcquisitionWasNotRequested,
1374 rti1516::AttributeAlreadyOwned,
1375 rti1516::AttributeNotPublished,
1376 rti1516::FederateInternalError)
1380 myFedAmb->attributeOwnershipAcquisitionNotification(theObject,
1381 securedAttributes, theUserSuppliedTag);
1386 rti1516::ObjectInstanceHandle theObject,
1389 rti1516::ObjectInstanceNotKnown,
1390 rti1516::AttributeNotRecognized,
1391 rti1516::AttributeAlreadyOwned,
1392 rti1516::AttributeAcquisitionWasNotRequested,
1393 rti1516::FederateInternalError)
1397 myFedAmb->attributeOwnershipUnavailable(theObject, theAttributes);
1402 rti1516::ObjectInstanceHandle theObject,
1406 rti1516::ObjectInstanceNotKnown,
1407 rti1516::AttributeNotRecognized,
1408 rti1516::AttributeNotOwned,
1409 rti1516::FederateInternalError)
1413 myFedAmb->requestAttributeOwnershipRelease(theObject, candidateAttributes,
1414 theUserSuppliedTag);
1419 rti1516::ObjectInstanceHandle theObject,
1422 rti1516::ObjectInstanceNotKnown,
1423 rti1516::AttributeNotRecognized,
1424 rti1516::AttributeAlreadyOwned,
1425 rti1516::AttributeAcquisitionWasNotCanceled,
1426 rti1516::FederateInternalError)
1430 myFedAmb->confirmAttributeOwnershipAcquisitionCancellation(theObject,
1436 rti1516::ObjectInstanceHandle theObject,
1437 rti1516::AttributeHandle theAttribute,
1438 rti1516::FederateHandle theOwner)
1440 rti1516::ObjectInstanceNotKnown,
1441 rti1516::AttributeNotRecognized,
1442 rti1516::FederateInternalError)
1446 myFedAmb->informAttributeOwnership(theObject, theAttribute, theOwner);
1451 rti1516::ObjectInstanceHandle theObject,
1452 rti1516::AttributeHandle theAttribute)
1454 rti1516::ObjectInstanceNotKnown,
1455 rti1516::AttributeNotRecognized,
1456 rti1516::FederateInternalError)
1460 myFedAmb->attributeIsNotOwned(theObject, theAttribute);
1464 inline void DtFedAmbWrapper::attributeIsOwnedByRTI (
1465 rti1516::ObjectInstanceHandle theObject,
1466 rti1516::AttributeHandle theAttribute)
1468 rti1516::ObjectInstanceNotKnown,
1469 rti1516::AttributeNotRecognized,
1470 rti1516::FederateInternalError)
1474 myFedAmb->attributeIsOwnedByRTI(theObject, theAttribute);
1485 rti1516::InvalidLogicalTime,
1486 rti1516::NoRequestToEnableTimeRegulationWasPending,
1487 rti1516::FederateInternalError)
1491 myFedAmb->timeRegulationEnabled(theFederateTime);
1498 rti1516::InvalidLogicalTime,
1499 rti1516::NoRequestToEnableTimeConstrainedWasPending,
1500 rti1516::FederateInternalError)
1504 myFedAmb->timeConstrainedEnabled(theFederateTime);
1511 rti1516::InvalidLogicalTime,
1512 rti1516::JoinedFederateIsNotInTimeAdvancingState,
1513 rti1516::FederateInternalError)
1517 myFedAmb->timeAdvanceGrant(theTime);
1522 rti1516::MessageRetractionHandle theHandle)
1524 rti1516::FederateInternalError)
1528 myFedAmb->requestRetraction(theHandle);
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:57
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
OrderType
Definition: datatypes.pb.h:472
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
virtual void informAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute, FederateHandle theOwner)=0
7.16
virtual void discoverObjectInstance(ObjectInstanceHandle theObject, ObjectClassHandle theObjectClass, std::wstring const &theObjectInstanceName)
Definition: NullFederateAmbassador.h:184
virtual void initiateFederateRestore(const char *label, FederateHandle handle)=0
4.19
virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.14
virtual void startRegistrationForObjectClass(ObjectClassHandle theClass)=0
! Declaration Management Services //!
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
OrderType
Definition: Enums.h:13
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:31
virtual void synchronizationPointRegistrationFailed(std::wstring const &label, SynchronizationFailureReason reason)
Definition: NullFederateAmbassador.h:32
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
virtual void federationNotRestored()=0
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
RestoreFailureReason
Definition: datatypes.pb.h:388
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
virtual void federationSaveStatusResponse(FederateHandleSaveStatusPairVector const &theFederateStatusVector)
Definition: NullFederateAmbassador.h:79
virtual void synchronizationPointRegistrationSucceeded(const char *label)=0
RTI Parameter Passing Memory Conventions.
std::vector< FederateHandleRestoreStatusPair > FederateHandleRestoreStatusPairVector
Definition: Typedefs.h:65
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
virtual void federationSynchronized(const char *label)=0
4.10
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
SaveFailureReason
Definition: datatypes.pb.h:359
SynchronizationFailureReason
Definition: Enums.h:75
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
RestoreFailureReason
Definition: Enums.h:29
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::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:36
Definition: NullFederateAmbassador.h:14
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
Definition: FederateAmbassador.h:24
virtual void federationRestored()=0
4.21
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
virtual void initiateFederateSave(std::wstring const &label, LogicalTime const &theTime)
Definition: NullFederateAmbassador.h:58
virtual void turnUpdatesOffForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.18
virtual void initiateFederateRestore(std::wstring const &label, FederateHandle handle)
Definition: NullFederateAmbassador.h:104
virtual void announceSynchronizationPoint(std::wstring const &label, VariableLengthData const &theUserSuppliedTag)
Definition: NullFederateAmbassador.h:39
virtual void requestAttributeOwnershipAssumption(ObjectHandle theObject, const AttributeHandleSet &offeredAttributes, const char *theTag)=0
! Ownership Management Services //!
virtual void turnUpdatesOnForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.17
Definition: VariableLengthData.h:22
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:155
Definition: LogicalTime.h:27
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
This file provides an example derivation of the rti1516_2025::FederateAmbassador with NULL actions fo...
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
TransportationType
Definition: Enums.h:84
SaveFailureReason
Definition: Enums.h:47