12 #ifndef DtFedAmbWrapper_H_
13 #define DtFedAmbWrapper_H_
19 #include <RTI/NullFederateAmbassador.h>
25 (rti1516::FederateAmbassador* fedAmb);
42 virtual rti1516::FederateAmbassador* fedAmb();
43 virtual void setFedAmb(rti1516::FederateAmbassador* f);
46 rti1516::FederateAmbassador* myFedAmb;
58 throw (rti1516::FederateInternalError);
63 rti1516::SynchronizationFailureReason reason)
64 throw (rti1516::FederateInternalError);
70 rti1516::VariableLengthData
const & theUserSuppliedTag)
71 throw (rti1516::FederateInternalError);
77 throw (rti1516::FederateInternalError);
83 throw (rti1516::UnableToPerformSave,
84 rti1516::FederateInternalError);
89 rti1516::LogicalTime
const & theTime)
90 throw (rti1516::UnableToPerformSave,
91 rti1516::InvalidLogicalTime,
92 rti1516::FederateInternalError);
98 throw (rti1516::FederateInternalError);
103 throw (rti1516::FederateInternalError);
109 federationSaveStatusResponse(
110 rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
111 throw (rti1516::FederateInternalError);
117 throw (rti1516::FederateInternalError);
122 throw (rti1516::FederateInternalError);
128 throw (rti1516::FederateInternalError);
135 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
136 rti1516::CouldNotInitiateRestore,
137 rti1516::FederateInternalError);
143 throw (rti1516::FederateInternalError);
148 throw (rti1516::FederateInternalError);
153 federationRestoreStatusResponse(
154 rti1516::FederateHandleRestoreStatusPairVector const & theFederateStatusVector)
155 throw (rti1516::FederateInternalError);
165 throw (rti1516::ObjectClassNotPublished,
166 rti1516::FederateInternalError);
172 throw (rti1516::ObjectClassNotPublished,
173 rti1516::FederateInternalError);
179 throw (rti1516::InteractionClassNotPublished,
180 rti1516::FederateInternalError);
186 throw (rti1516::InteractionClassNotPublished,
187 rti1516::FederateInternalError);
196 objectInstanceNameReservationSucceeded(std::wstring const &
197 theObjectInstanceName)
198 throw (rti1516::UnknownName,
199 rti1516::FederateInternalError);
203 objectInstanceNameReservationFailed(std::wstring const &
204 theObjectInstanceName)
205 throw (rti1516::UnknownName,
206 rti1516::FederateInternalError);
214 std::wstring const & theObjectInstanceName)
215 throw (rti1516::CouldNotDiscover,
216 rti1516::ObjectClassNotKnown,
217 rti1516::FederateInternalError);
223 (rti1516::ObjectInstanceHandle theObject,
224 rti1516::AttributeHandleValueMap const & theAttributeValues,
225 rti1516::VariableLengthData const & theUserSuppliedTag,
227 rti1516::TransportationType theType)
228 throw (rti1516::ObjectInstanceNotKnown,
229 rti1516::AttributeNotRecognized,
230 rti1516::AttributeNotSubscribed,
231 rti1516::FederateInternalError);
236 (rti1516::ObjectInstanceHandle theObject,
237 rti1516::AttributeHandleValueMap const & theAttributeValues,
238 rti1516::VariableLengthData const & theUserSuppliedTag,
240 rti1516::TransportationType theType,
241 rti1516::RegionHandleSet const & theSentRegionHandleSet)
242 throw (rti1516::ObjectInstanceNotKnown,
243 rti1516::AttributeNotRecognized,
244 rti1516::AttributeNotSubscribed,
245 rti1516::FederateInternalError);
250 (rti1516::ObjectInstanceHandle theObject,
251 rti1516::AttributeHandleValueMap const & theAttributeValues,
252 rti1516::VariableLengthData const & theUserSuppliedTag,
254 rti1516::TransportationType theType,
255 rti1516::LogicalTime const & theTime,
257 throw (rti1516::ObjectInstanceNotKnown,
258 rti1516::AttributeNotRecognized,
259 rti1516::AttributeNotSubscribed,
260 rti1516::FederateInternalError);
265 (rti1516::ObjectInstanceHandle theObject,
266 rti1516::AttributeHandleValueMap const & theAttributeValues,
267 rti1516::VariableLengthData const & theUserSuppliedTag,
269 rti1516::TransportationType theType,
270 rti1516::LogicalTime const & theTime,
272 rti1516::RegionHandleSet const & theSentRegionHandleSet)
273 throw (rti1516::ObjectInstanceNotKnown,
274 rti1516::AttributeNotRecognized,
275 rti1516::AttributeNotSubscribed,
276 rti1516::FederateInternalError);
281 (rti1516::ObjectInstanceHandle theObject,
282 rti1516::AttributeHandleValueMap const & theAttributeValues,
283 rti1516::VariableLengthData const & theUserSuppliedTag,
285 rti1516::TransportationType theType,
286 rti1516::LogicalTime const & theTime,
288 rti1516::MessageRetractionHandle theHandle)
289 throw (rti1516::ObjectInstanceNotKnown,
290 rti1516::AttributeNotRecognized,
291 rti1516::AttributeNotSubscribed,
292 rti1516::InvalidLogicalTime,
293 rti1516::FederateInternalError);
298 (rti1516::ObjectInstanceHandle theObject,
299 rti1516::AttributeHandleValueMap const & theAttributeValues,
300 rti1516::VariableLengthData const & theUserSuppliedTag,
302 rti1516::TransportationType theType,
303 rti1516::LogicalTime const & theTime,
305 rti1516::MessageRetractionHandle theHandle,
306 rti1516::RegionHandleSet const & theSentRegionHandleSet)
307 throw (rti1516::ObjectInstanceNotKnown,
308 rti1516::AttributeNotRecognized,
309 rti1516::AttributeNotSubscribed,
310 rti1516::InvalidLogicalTime,
311 rti1516::FederateInternalError);
318 rti1516::ParameterHandleValueMap const & theParameterValues,
319 rti1516::VariableLengthData const & theUserSuppliedTag,
321 rti1516::TransportationType theType)
322 throw (rti1516::InteractionClassNotRecognized,
323 rti1516::InteractionParameterNotRecognized,
324 rti1516::InteractionClassNotSubscribed,
325 rti1516::FederateInternalError);
331 rti1516::ParameterHandleValueMap const & theParameterValues,
332 rti1516::VariableLengthData const & theUserSuppliedTag,
334 rti1516::TransportationType theType,
335 rti1516::RegionHandleSet const & theSentRegionHandleSet)
336 throw (rti1516::InteractionClassNotRecognized,
337 rti1516::InteractionParameterNotRecognized,
338 rti1516::InteractionClassNotSubscribed,
339 rti1516::FederateInternalError);
345 rti1516::ParameterHandleValueMap const & theParameterValues,
346 rti1516::VariableLengthData const & theUserSuppliedTag,
348 rti1516::TransportationType theType,
349 rti1516::LogicalTime const & theTime,
351 throw (rti1516::InteractionClassNotRecognized,
352 rti1516::InteractionParameterNotRecognized,
353 rti1516::InteractionClassNotSubscribed,
354 rti1516::FederateInternalError);
360 rti1516::ParameterHandleValueMap const & theParameterValues,
361 rti1516::VariableLengthData const & theUserSuppliedTag,
363 rti1516::TransportationType theType,
364 rti1516::LogicalTime const & theTime,
366 rti1516::RegionHandleSet const & theSentRegionHandleSet)
367 throw (rti1516::InteractionClassNotRecognized,
368 rti1516::InteractionParameterNotRecognized,
369 rti1516::InteractionClassNotSubscribed,
370 rti1516::FederateInternalError);
376 rti1516::ParameterHandleValueMap const & theParameterValues,
377 rti1516::VariableLengthData const & theUserSuppliedTag,
379 rti1516::TransportationType theType,
380 rti1516::LogicalTime const & theTime,
382 rti1516::MessageRetractionHandle theHandle)
383 throw (rti1516::InteractionClassNotRecognized,
384 rti1516::InteractionParameterNotRecognized,
385 rti1516::InteractionClassNotSubscribed,
386 rti1516::InvalidLogicalTime,
387 rti1516::FederateInternalError);
393 rti1516::ParameterHandleValueMap const & theParameterValues,
394 rti1516::VariableLengthData const & theUserSuppliedTag,
396 rti1516::TransportationType theType,
397 rti1516::LogicalTime const & theTime,
399 rti1516::MessageRetractionHandle theHandle,
400 rti1516::RegionHandleSet const & theSentRegionHandleSet)
401 throw (rti1516::InteractionClassNotRecognized,
402 rti1516::InteractionParameterNotRecognized,
403 rti1516::InteractionClassNotSubscribed,
404 rti1516::InvalidLogicalTime,
405 rti1516::FederateInternalError);
411 rti1516::VariableLengthData const & theUserSuppliedTag,
413 throw (rti1516::ObjectInstanceNotKnown,
414 rti1516::FederateInternalError);
419 rti1516::VariableLengthData const & theUserSuppliedTag,
421 rti1516::LogicalTime const & theTime,
423 throw (rti1516::ObjectInstanceNotKnown,
424 rti1516::FederateInternalError);
429 rti1516::VariableLengthData const & theUserSuppliedTag,
431 rti1516::LogicalTime const & theTime,
433 rti1516::MessageRetractionHandle theHandle)
434 throw (rti1516::ObjectInstanceNotKnown,
435 rti1516::InvalidLogicalTime,
436 rti1516::FederateInternalError);
442 (rti1516::ObjectInstanceHandle theObject,
443 rti1516::AttributeHandleSet const & theAttributes)
444 throw (rti1516::ObjectInstanceNotKnown,
445 rti1516::AttributeNotRecognized,
446 rti1516::AttributeNotSubscribed,
447 rti1516::FederateInternalError);
453 (rti1516::ObjectInstanceHandle theObject,
454 rti1516::AttributeHandleSet const & theAttributes)
455 throw (rti1516::ObjectInstanceNotKnown,
456 rti1516::AttributeNotRecognized,
457 rti1516::AttributeNotSubscribed,
458 rti1516::FederateInternalError);
464 (rti1516::ObjectInstanceHandle theObject,
465 rti1516::AttributeHandleSet const & theAttributes,
466 rti1516::VariableLengthData const & theUserSuppliedTag)
467 throw (rti1516::ObjectInstanceNotKnown,
468 rti1516::AttributeNotRecognized,
469 rti1516::AttributeNotOwned,
470 rti1516::FederateInternalError);
476 (rti1516::ObjectInstanceHandle theObject,
477 rti1516::AttributeHandleSet const & theAttributes)
478 throw (rti1516::ObjectInstanceNotKnown,
479 rti1516::AttributeNotRecognized,
480 rti1516::AttributeNotOwned,
481 rti1516::FederateInternalError);
487 (rti1516::ObjectInstanceHandle theObject,
488 rti1516::AttributeHandleSet const & theAttributes)
489 throw (rti1516::ObjectInstanceNotKnown,
490 rti1516::AttributeNotRecognized,
491 rti1516::AttributeNotOwned,
492 rti1516::FederateInternalError);
502 (rti1516::ObjectInstanceHandle theObject,
503 rti1516::AttributeHandleSet const & offeredAttributes,
504 rti1516::VariableLengthData const & theUserSuppliedTag)
505 throw (rti1516::ObjectInstanceNotKnown,
506 rti1516::AttributeNotRecognized,
507 rti1516::AttributeAlreadyOwned,
508 rti1516::AttributeNotPublished,
509 rti1516::FederateInternalError);
514 requestDivestitureConfirmation
515 (rti1516::ObjectInstanceHandle theObject,
516 rti1516::AttributeHandleSet const & releasedAttributes)
517 throw (rti1516::ObjectInstanceNotKnown,
518 rti1516::AttributeNotRecognized,
519 rti1516::AttributeNotOwned,
520 rti1516::AttributeDivestitureWasNotRequested,
521 rti1516::FederateInternalError);
527 (rti1516::ObjectInstanceHandle theObject,
528 rti1516::AttributeHandleSet const & securedAttributes,
529 rti1516::VariableLengthData const & theUserSuppliedTag)
530 throw (rti1516::ObjectInstanceNotKnown,
531 rti1516::AttributeNotRecognized,
532 rti1516::AttributeAcquisitionWasNotRequested,
533 rti1516::AttributeAlreadyOwned,
534 rti1516::AttributeNotPublished,
535 rti1516::FederateInternalError);
541 (rti1516::ObjectInstanceHandle theObject,
542 rti1516::AttributeHandleSet const & theAttributes)
543 throw (rti1516::ObjectInstanceNotKnown,
544 rti1516::AttributeNotRecognized,
545 rti1516::AttributeAlreadyOwned,
546 rti1516::AttributeAcquisitionWasNotRequested,
547 rti1516::FederateInternalError);
553 (rti1516::ObjectInstanceHandle theObject,
554 rti1516::AttributeHandleSet const & candidateAttributes,
555 rti1516::VariableLengthData const & theUserSuppliedTag)
556 throw (rti1516::ObjectInstanceNotKnown,
557 rti1516::AttributeNotRecognized,
558 rti1516::AttributeNotOwned,
559 rti1516::FederateInternalError);
565 (rti1516::ObjectInstanceHandle theObject,
566 rti1516::AttributeHandleSet const & theAttributes)
567 throw (rti1516::ObjectInstanceNotKnown,
568 rti1516::AttributeNotRecognized,
569 rti1516::AttributeAlreadyOwned,
570 rti1516::AttributeAcquisitionWasNotCanceled,
571 rti1516::FederateInternalError);
579 throw (rti1516::ObjectInstanceNotKnown,
580 rti1516::AttributeNotRecognized,
581 rti1516::FederateInternalError);
587 throw (rti1516::ObjectInstanceNotKnown,
588 rti1516::AttributeNotRecognized,
589 rti1516::FederateInternalError);
593 attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
595 throw (rti1516::ObjectInstanceNotKnown,
596 rti1516::AttributeNotRecognized,
597 rti1516::FederateInternalError);
607 throw (rti1516::InvalidLogicalTime,
608 rti1516::NoRequestToEnableTimeRegulationWasPending,
609 rti1516::FederateInternalError);
615 throw (rti1516::InvalidLogicalTime,
616 rti1516::NoRequestToEnableTimeConstrainedWasPending,
617 rti1516::FederateInternalError);
623 throw (rti1516::InvalidLogicalTime,
624 rti1516::JoinedFederateIsNotInTimeAdvancingState,
625 rti1516::FederateInternalError);
631 throw (rti1516::FederateInternalError);
644 inline void DtFedAmbWrapper::setFedAmb(rti1516::FederateAmbassador* f)
650 std::wstring
const & label)
652 rti1516::FederateInternalError)
656 myFedAmb->synchronizationPointRegistrationSucceeded(label);
661 std::wstring
const & label,
662 rti1516::SynchronizationFailureReason reason)
664 rti1516::FederateInternalError)
673 std::wstring
const & label,
674 rti1516::VariableLengthData
const & theUserSuppliedTag)
676 rti1516::FederateInternalError)
685 std::wstring
const & label)
687 rti1516::FederateInternalError)
696 std::wstring
const & label)
698 rti1516::UnableToPerformSave,
699 rti1516::FederateInternalError)
708 std::wstring
const & label,
709 rti1516::LogicalTime
const & theTime)
711 rti1516::UnableToPerformSave,
712 rti1516::InvalidLogicalTime,
713 rti1516::FederateInternalError)
723 rti1516::FederateInternalError)
732 rti1516::SaveFailureReason theSaveFailureReason)
734 rti1516::FederateInternalError)
742 inline void DtFedAmbWrapper::federationSaveStatusResponse(
743 rti1516::FederateHandleSaveStatusPairVector
const & theFederateStatusVector)
745 rti1516::FederateInternalError)
749 myFedAmb-> federationSaveStatusResponse(theFederateStatusVector);
754 std::wstring
const & label)
756 rti1516::FederateInternalError)
765 std::wstring
const & label)
767 rti1516::FederateInternalError)
777 rti1516::FederateInternalError)
786 std::wstring
const & label,
788 throw (rti1516::SpecifiedSaveLabelDoesNotExist,
789 rti1516::CouldNotInitiateRestore,
790 rti1516::FederateInternalError)
801 rti1516::FederateInternalError)
811 rti1516::FederateInternalError)
819 inline void DtFedAmbWrapper::federationRestoreStatusResponse(
820 rti1516::FederateHandleRestoreStatusPairVector
const & theFederateStatusVector)
822 rti1516::FederateInternalError)
826 myFedAmb->federationRestoreStatusResponse(theFederateStatusVector);
837 rti1516::ObjectClassNotPublished,
838 rti1516::FederateInternalError)
849 rti1516::ObjectClassNotPublished,
850 rti1516::FederateInternalError)
861 rti1516::InteractionClassNotPublished,
862 rti1516::FederateInternalError)
874 rti1516::InteractionClassNotPublished,
875 rti1516::FederateInternalError)
887 inline void DtFedAmbWrapper::objectInstanceNameReservationSucceeded(
888 std::wstring
const & theObjectInstanceName)
890 rti1516::UnknownName,
891 rti1516::FederateInternalError)
895 myFedAmb->objectInstanceNameReservationSucceeded(theObjectInstanceName);
899 inline void DtFedAmbWrapper::objectInstanceNameReservationFailed(
900 std::wstring
const & theObjectInstanceName)
902 rti1516::UnknownName,
903 rti1516::FederateInternalError)
907 myFedAmb->objectInstanceNameReservationFailed(theObjectInstanceName);
912 rti1516::ObjectInstanceHandle theObject,
914 std::wstring
const & theObjectInstanceName)
916 rti1516::CouldNotDiscover,
917 rti1516::ObjectClassNotKnown,
918 rti1516::FederateInternalError)
923 theObjectInstanceName);
928 rti1516::ObjectInstanceHandle theObject,
929 rti1516::AttributeHandleValueMap
const & theAttributeValues,
930 rti1516::VariableLengthData
const & theUserSuppliedTag,
932 rti1516::TransportationType theType)
934 rti1516::ObjectInstanceNotKnown,
935 rti1516::AttributeNotRecognized,
936 rti1516::AttributeNotSubscribed,
937 rti1516::FederateInternalError)
941 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
942 theUserSuppliedTag, sentOrder, theType);
947 rti1516::ObjectInstanceHandle theObject,
948 rti1516::AttributeHandleValueMap
const & theAttributeValues,
949 rti1516::VariableLengthData
const & theUserSuppliedTag,
951 rti1516::TransportationType theType,
952 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
954 rti1516::ObjectInstanceNotKnown,
955 rti1516::AttributeNotRecognized,
956 rti1516::AttributeNotSubscribed,
957 rti1516::FederateInternalError)
961 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
962 theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
967 rti1516::ObjectInstanceHandle theObject,
968 rti1516::AttributeHandleValueMap
const & theAttributeValues,
969 rti1516::VariableLengthData
const & theUserSuppliedTag,
971 rti1516::TransportationType theType,
972 rti1516::LogicalTime
const & theTime,
975 rti1516::ObjectInstanceNotKnown,
976 rti1516::AttributeNotRecognized,
977 rti1516::AttributeNotSubscribed,
978 rti1516::FederateInternalError)
982 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
983 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
988 rti1516::ObjectInstanceHandle theObject,
989 rti1516::AttributeHandleValueMap
const & theAttributeValues,
990 rti1516::VariableLengthData
const & theUserSuppliedTag,
992 rti1516::TransportationType theType,
993 rti1516::LogicalTime
const & theTime,
995 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
997 rti1516::ObjectInstanceNotKnown,
998 rti1516::AttributeNotRecognized,
999 rti1516::AttributeNotSubscribed,
1000 rti1516::FederateInternalError)
1004 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1005 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1006 theSentRegionHandleSet);
1011 rti1516::ObjectInstanceHandle theObject,
1012 rti1516::AttributeHandleValueMap
const & theAttributeValues,
1013 rti1516::VariableLengthData
const & theUserSuppliedTag,
1015 rti1516::TransportationType theType,
1016 rti1516::LogicalTime
const & theTime,
1018 rti1516::MessageRetractionHandle theHandle)
1020 rti1516::ObjectInstanceNotKnown,
1021 rti1516::AttributeNotRecognized,
1022 rti1516::AttributeNotSubscribed,
1023 rti1516::InvalidLogicalTime,
1024 rti1516::FederateInternalError)
1028 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1029 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1035 rti1516::ObjectInstanceHandle theObject,
1036 rti1516::AttributeHandleValueMap
const & theAttributeValues,
1037 rti1516::VariableLengthData
const & theUserSuppliedTag,
1039 rti1516::TransportationType theType,
1040 rti1516::LogicalTime
const & theTime,
1042 rti1516::MessageRetractionHandle theHandle,
1043 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
1045 rti1516::ObjectInstanceNotKnown,
1046 rti1516::AttributeNotRecognized,
1047 rti1516::AttributeNotSubscribed,
1048 rti1516::InvalidLogicalTime,
1049 rti1516::FederateInternalError)
1053 myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
1054 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1055 theHandle, theSentRegionHandleSet);
1061 rti1516::ParameterHandleValueMap
const & theParameterValues,
1062 rti1516::VariableLengthData
const & theUserSuppliedTag,
1064 rti1516::TransportationType theType)
1066 rti1516::InteractionClassNotRecognized,
1067 rti1516::InteractionParameterNotRecognized,
1068 rti1516::InteractionClassNotSubscribed,
1069 rti1516::FederateInternalError)
1073 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1074 theUserSuppliedTag, sentOrder, theType);
1080 rti1516::ParameterHandleValueMap
const & theParameterValues,
1081 rti1516::VariableLengthData
const & theUserSuppliedTag,
1083 rti1516::TransportationType theType,
1084 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
1086 rti1516::InteractionClassNotRecognized,
1087 rti1516::InteractionParameterNotRecognized,
1088 rti1516::InteractionClassNotSubscribed,
1089 rti1516::FederateInternalError)
1093 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1094 theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
1100 rti1516::ParameterHandleValueMap
const & theParameterValues,
1101 rti1516::VariableLengthData
const & theUserSuppliedTag,
1103 rti1516::TransportationType theType,
1104 rti1516::LogicalTime
const & theTime,
1107 rti1516::InteractionClassNotRecognized,
1108 rti1516::InteractionParameterNotRecognized,
1109 rti1516::InteractionClassNotSubscribed,
1110 rti1516::FederateInternalError)
1114 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1115 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
1121 rti1516::ParameterHandleValueMap
const & theParameterValues,
1122 rti1516::VariableLengthData
const & theUserSuppliedTag,
1124 rti1516::TransportationType theType,
1125 rti1516::LogicalTime
const & theTime,
1127 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
1129 rti1516::InteractionClassNotRecognized,
1130 rti1516::InteractionParameterNotRecognized,
1131 rti1516::InteractionClassNotSubscribed,
1132 rti1516::FederateInternalError)
1136 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1137 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1138 theSentRegionHandleSet);
1144 rti1516::ParameterHandleValueMap
const & theParameterValues,
1145 rti1516::VariableLengthData
const & theUserSuppliedTag,
1147 rti1516::TransportationType theType,
1148 rti1516::LogicalTime
const & theTime,
1150 rti1516::MessageRetractionHandle theHandle)
1152 rti1516::InteractionClassNotRecognized,
1153 rti1516::InteractionParameterNotRecognized,
1154 rti1516::InteractionClassNotSubscribed,
1155 rti1516::InvalidLogicalTime,
1156 rti1516::FederateInternalError)
1160 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1161 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1168 rti1516::ParameterHandleValueMap
const & theParameterValues,
1169 rti1516::VariableLengthData
const & theUserSuppliedTag,
1171 rti1516::TransportationType theType,
1172 rti1516::LogicalTime
const & theTime,
1174 rti1516::MessageRetractionHandle theHandle,
1175 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
1177 rti1516::InteractionClassNotRecognized,
1178 rti1516::InteractionParameterNotRecognized,
1179 rti1516::InteractionClassNotSubscribed,
1180 rti1516::InvalidLogicalTime,
1181 rti1516::FederateInternalError)
1185 myFedAmb->receiveInteraction(theInteraction, theParameterValues,
1186 theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
1187 theHandle, theSentRegionHandleSet);
1192 rti1516::ObjectInstanceHandle theObject,
1193 rti1516::VariableLengthData
const & theUserSuppliedTag,
1196 rti1516::ObjectInstanceNotKnown,
1197 rti1516::FederateInternalError)
1201 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder);
1206 rti1516::ObjectInstanceHandle theObject,
1207 rti1516::VariableLengthData
const & theUserSuppliedTag,
1209 rti1516::LogicalTime
const & theTime,
1212 rti1516::ObjectInstanceNotKnown,
1213 rti1516::FederateInternalError)
1217 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
1218 theTime, receivedOrder);
1223 rti1516::ObjectInstanceHandle theObject,
1224 rti1516::VariableLengthData
const & theUserSuppliedTag,
1226 rti1516::LogicalTime
const & theTime,
1228 rti1516::MessageRetractionHandle theHandle)
1230 rti1516::ObjectInstanceNotKnown,
1231 rti1516::InvalidLogicalTime,
1232 rti1516::FederateInternalError)
1236 myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
1237 theTime, receivedOrder, theHandle);
1242 rti1516::ObjectInstanceHandle theObject,
1243 rti1516::AttributeHandleSet
const & theAttributes)
1245 rti1516::ObjectInstanceNotKnown,
1246 rti1516::AttributeNotRecognized,
1247 rti1516::AttributeNotSubscribed,
1248 rti1516::FederateInternalError)
1252 myFedAmb->attributesInScope(theObject, theAttributes);
1257 rti1516::ObjectInstanceHandle theObject,
1258 rti1516::AttributeHandleSet
const & theAttributes)
1260 rti1516::ObjectInstanceNotKnown,
1261 rti1516::AttributeNotRecognized,
1262 rti1516::AttributeNotSubscribed,
1263 rti1516::FederateInternalError)
1267 myFedAmb->attributesOutOfScope(theObject, theAttributes);
1272 rti1516::ObjectInstanceHandle theObject,
1273 rti1516::AttributeHandleSet
const & theAttributes,
1274 rti1516::VariableLengthData
const & theUserSuppliedTag)
1276 rti1516::ObjectInstanceNotKnown,
1277 rti1516::AttributeNotRecognized,
1278 rti1516::AttributeNotOwned,
1279 rti1516::FederateInternalError)
1283 myFedAmb->provideAttributeValueUpdate(theObject, theAttributes,
1284 theUserSuppliedTag);
1289 rti1516::ObjectInstanceHandle theObject,
1290 rti1516::AttributeHandleSet
const & theAttributes)
1292 rti1516::ObjectInstanceNotKnown,
1293 rti1516::AttributeNotRecognized,
1294 rti1516::AttributeNotOwned,
1295 rti1516::FederateInternalError)
1299 myFedAmb->turnUpdatesOnForObjectInstance(theObject, theAttributes);
1308 rti1516::ObjectInstanceHandle theObject,
1309 rti1516::AttributeHandleSet
const & theAttributes)
1311 rti1516::ObjectInstanceNotKnown,
1312 rti1516::AttributeNotRecognized,
1313 rti1516::AttributeNotOwned,
1314 rti1516::FederateInternalError)
1318 myFedAmb->turnUpdatesOffForObjectInstance(theObject, theAttributes);
1323 rti1516::ObjectInstanceHandle theObject,
1324 rti1516::AttributeHandleSet
const & offeredAttributes,
1325 rti1516::VariableLengthData
const & theUserSuppliedTag)
1327 rti1516::ObjectInstanceNotKnown,
1328 rti1516::AttributeNotRecognized,
1329 rti1516::AttributeAlreadyOwned,
1330 rti1516::AttributeNotPublished,
1331 rti1516::FederateInternalError)
1335 myFedAmb->requestAttributeOwnershipAssumption(theObject,
1336 offeredAttributes, theUserSuppliedTag);
1340 inline void DtFedAmbWrapper::requestDivestitureConfirmation (
1341 rti1516::ObjectInstanceHandle theObject,
1342 rti1516::AttributeHandleSet
const & releasedAttributes)
1344 rti1516::ObjectInstanceNotKnown,
1345 rti1516::AttributeNotRecognized,
1346 rti1516::AttributeNotOwned,
1347 rti1516::AttributeDivestitureWasNotRequested,
1348 rti1516::FederateInternalError)
1352 myFedAmb->requestDivestitureConfirmation(theObject, releasedAttributes);
1357 rti1516::ObjectInstanceHandle theObject,
1358 rti1516::AttributeHandleSet
const & securedAttributes,
1359 rti1516::VariableLengthData
const & theUserSuppliedTag)
1361 rti1516::ObjectInstanceNotKnown,
1362 rti1516::AttributeNotRecognized,
1363 rti1516::AttributeAcquisitionWasNotRequested,
1364 rti1516::AttributeAlreadyOwned,
1365 rti1516::AttributeNotPublished,
1366 rti1516::FederateInternalError)
1370 myFedAmb->attributeOwnershipAcquisitionNotification(theObject,
1371 securedAttributes, theUserSuppliedTag);
1376 rti1516::ObjectInstanceHandle theObject,
1377 rti1516::AttributeHandleSet
const & theAttributes)
1379 rti1516::ObjectInstanceNotKnown,
1380 rti1516::AttributeNotRecognized,
1381 rti1516::AttributeAlreadyOwned,
1382 rti1516::AttributeAcquisitionWasNotRequested,
1383 rti1516::FederateInternalError)
1387 myFedAmb->attributeOwnershipUnavailable(theObject, theAttributes);
1392 rti1516::ObjectInstanceHandle theObject,
1393 rti1516::AttributeHandleSet
const & candidateAttributes,
1394 rti1516::VariableLengthData
const & theUserSuppliedTag)
1396 rti1516::ObjectInstanceNotKnown,
1397 rti1516::AttributeNotRecognized,
1398 rti1516::AttributeNotOwned,
1399 rti1516::FederateInternalError)
1403 myFedAmb->requestAttributeOwnershipRelease(theObject, candidateAttributes,
1404 theUserSuppliedTag);
1409 rti1516::ObjectInstanceHandle theObject,
1410 rti1516::AttributeHandleSet
const & theAttributes)
1412 rti1516::ObjectInstanceNotKnown,
1413 rti1516::AttributeNotRecognized,
1414 rti1516::AttributeAlreadyOwned,
1415 rti1516::AttributeAcquisitionWasNotCanceled,
1416 rti1516::FederateInternalError)
1420 myFedAmb->confirmAttributeOwnershipAcquisitionCancellation(theObject,
1426 rti1516::ObjectInstanceHandle theObject,
1430 rti1516::ObjectInstanceNotKnown,
1431 rti1516::AttributeNotRecognized,
1432 rti1516::FederateInternalError)
1436 myFedAmb->informAttributeOwnership(theObject, theAttribute, theOwner);
1441 rti1516::ObjectInstanceHandle theObject,
1444 rti1516::ObjectInstanceNotKnown,
1445 rti1516::AttributeNotRecognized,
1446 rti1516::FederateInternalError)
1450 myFedAmb->attributeIsNotOwned(theObject, theAttribute);
1454 inline void DtFedAmbWrapper::attributeIsOwnedByRTI (
1455 rti1516::ObjectInstanceHandle theObject,
1458 rti1516::ObjectInstanceNotKnown,
1459 rti1516::AttributeNotRecognized,
1460 rti1516::FederateInternalError)
1464 myFedAmb->attributeIsOwnedByRTI(theObject, theAttribute);
1473 rti1516::LogicalTime
const & theFederateTime)
1475 rti1516::InvalidLogicalTime,
1476 rti1516::NoRequestToEnableTimeRegulationWasPending,
1477 rti1516::FederateInternalError)
1481 myFedAmb->timeRegulationEnabled(theFederateTime);
1486 rti1516::LogicalTime
const & theFederateTime)
1488 rti1516::InvalidLogicalTime,
1489 rti1516::NoRequestToEnableTimeConstrainedWasPending,
1490 rti1516::FederateInternalError)
1494 myFedAmb->timeConstrainedEnabled(theFederateTime);
1499 rti1516::LogicalTime
const & theTime)
1501 rti1516::InvalidLogicalTime,
1502 rti1516::JoinedFederateIsNotInTimeAdvancingState,
1503 rti1516::FederateInternalError)
1507 myFedAmb->timeAdvanceGrant(theTime);
1512 rti1516::MessageRetractionHandle theHandle)
1514 rti1516::FederateInternalError)
1518 myFedAmb->requestRetraction(theHandle);