12 #ifndef DtFedAmbWrapper_H_
13 #define DtFedAmbWrapper_H_
20 #include "NullFederateAmbassador13.h"
23 #include "NullFederateAmbassador.hh"
29 (RTI::FederateAmbassador* fedAmb);
49 virtual RTI::FederateAmbassador* fedAmb();
50 virtual
void setFedAmb(RTI::FederateAmbassador* f);
53 RTI::FederateAmbassador* myFedAmb;
63 RTI::FederateInternalError);
68 RTI::FederateInternalError);
74 RTI::FederateInternalError);
79 RTI::FederateInternalError);
84 RTI::UnableToPerformSave,
85 RTI::FederateInternalError);
89 RTI::FederateInternalError);
93 RTI::FederateInternalError);
98 RTI::FederateInternalError);
104 RTI::FederateInternalError);
108 RTI::FederateInternalError);
112 RTI::FederateHandle handle)
114 RTI::SpecifiedSaveLabelDoesNotExist,
115 RTI::CouldNotRestore,
116 RTI::FederateInternalError);
120 RTI::FederateInternalError);
124 RTI::FederateInternalError);
132 RTI::ObjectClassHandle theClass)
134 RTI::ObjectClassNotPublished,
135 RTI::FederateInternalError);
138 RTI::ObjectClassHandle theClass)
140 RTI::ObjectClassNotPublished,
141 RTI::FederateInternalError);
144 RTI::InteractionClassHandle theHandle)
146 RTI::InteractionClassNotPublished,
147 RTI::FederateInternalError);
150 RTI::InteractionClassHandle theHandle)
152 RTI::InteractionClassNotPublished,
153 RTI::FederateInternalError);
161 RTI::ObjectHandle theObject,
162 RTI::ObjectClassHandle theObjectClass,
163 const
char* theObjectName)
165 RTI::CouldNotDiscover,
166 RTI::ObjectClassNotKnown,
167 RTI::FederateInternalError);
170 RTI::ObjectHandle theObject,
171 const RTI::AttributeHandleValuePairSet& theAttributes,
172 const RTI::FedTime& theTime,
174 RTI::EventRetractionHandle theHandle)
177 RTI::AttributeNotKnown,
178 RTI::FederateOwnsAttributes,
179 RTI::InvalidFederationTime,
180 RTI::FederateInternalError);
183 RTI::ObjectHandle theObject,
184 const RTI::AttributeHandleValuePairSet& theAttributes,
188 RTI::AttributeNotKnown,
189 RTI::FederateOwnsAttributes,
190 RTI::FederateInternalError);
193 RTI::InteractionClassHandle theInteraction,
194 const RTI::ParameterHandleValuePairSet& theParameters,
195 const RTI::FedTime& theTime,
197 RTI::EventRetractionHandle theHandle)
199 RTI::InteractionClassNotKnown,
200 RTI::InteractionParameterNotKnown,
201 RTI::InvalidFederationTime,
202 RTI::FederateInternalError);
205 RTI::InteractionClassHandle theInteraction,
206 const RTI::ParameterHandleValuePairSet& theParameters,
209 RTI::InteractionClassNotKnown,
210 RTI::InteractionParameterNotKnown,
211 RTI::FederateInternalError);
214 RTI::ObjectHandle theObject,
215 const RTI::FedTime& theTime,
217 RTI::EventRetractionHandle theHandle)
220 RTI::InvalidFederationTime,
221 RTI::FederateInternalError);
224 RTI::ObjectHandle theObject,
228 RTI::FederateInternalError);
231 RTI::ObjectHandle theObject,
235 RTI::AttributeNotKnown,
236 RTI::FederateInternalError);
239 RTI::ObjectHandle theObject,
243 RTI::AttributeNotKnown,
244 RTI::FederateInternalError);
247 RTI::ObjectHandle theObject,
251 RTI::AttributeNotKnown,
252 RTI::AttributeNotOwned,
253 RTI::FederateInternalError);
256 RTI::ObjectHandle theObject,
260 RTI::AttributeNotOwned,
261 RTI::FederateInternalError);
264 RTI::ObjectHandle theObject,
268 RTI::AttributeNotOwned,
269 RTI::FederateInternalError);
277 RTI::ObjectHandle theObject,
282 RTI::AttributeNotKnown,
283 RTI::AttributeAlreadyOwned,
284 RTI::AttributeNotPublished,
285 RTI::FederateInternalError);
288 RTI::ObjectHandle theObject,
292 RTI::AttributeNotKnown,
293 RTI::AttributeNotOwned,
294 RTI::AttributeDivestitureWasNotRequested,
295 RTI::FederateInternalError);
298 RTI::ObjectHandle theObject,
302 RTI::AttributeNotKnown,
303 RTI::AttributeAcquisitionWasNotRequested,
304 RTI::AttributeAlreadyOwned,
305 RTI::AttributeNotPublished,
306 RTI::FederateInternalError);
309 RTI::ObjectHandle theObject,
313 RTI::AttributeNotKnown,
314 RTI::AttributeAlreadyOwned,
315 RTI::AttributeAcquisitionWasNotRequested,
316 RTI::FederateInternalError);
319 RTI::ObjectHandle theObject,
324 RTI::AttributeNotKnown,
325 RTI::AttributeNotOwned,
326 RTI::FederateInternalError);
329 RTI::ObjectHandle theObject,
333 RTI::AttributeNotKnown,
334 RTI::AttributeAlreadyOwned,
335 RTI::AttributeAcquisitionWasNotCanceled,
336 RTI::FederateInternalError);
339 RTI::ObjectHandle theObject,
340 RTI::AttributeHandle theAttribute,
341 RTI::FederateHandle theOwner)
344 RTI::AttributeNotKnown,
345 RTI::FederateInternalError);
348 RTI::ObjectHandle theObject,
349 RTI::AttributeHandle theAttribute)
352 RTI::AttributeNotKnown,
353 RTI::FederateInternalError);
356 RTI::ObjectHandle theObject,
357 RTI::AttributeHandle theAttribute)
360 RTI::AttributeNotKnown,
361 RTI::FederateInternalError);
369 const RTI::FedTime& theFederateTime)
371 RTI::InvalidFederationTime,
372 RTI::EnableTimeRegulationWasNotPending,
373 RTI::FederateInternalError);
376 const RTI::FedTime& theFederateTime)
378 RTI::InvalidFederationTime,
379 RTI::EnableTimeConstrainedWasNotPending,
380 RTI::FederateInternalError);
383 const RTI::FedTime& theTime)
385 RTI::InvalidFederationTime,
386 RTI::TimeAdvanceWasNotInProgress,
387 RTI::FederateInternalError);
390 RTI::EventRetractionHandle theHandle)
393 RTI::FederateInternalError);
399 : NullFederateAmbassador()
404 inline DtFedAmbWrapper::~DtFedAmbWrapper()
405 throw (RTI::FederateInternalError)
409 inline RTI::FederateAmbassador* DtFedAmbWrapper::fedAmb()
414 inline void DtFedAmbWrapper::setFedAmb(RTI::FederateAmbassador* f)
422 RTI::FederateInternalError)
426 myFedAmb->synchronizationPointRegistrationSucceeded(label);
433 RTI::FederateInternalError)
445 RTI::FederateInternalError)
456 RTI::FederateInternalError)
467 RTI::UnableToPerformSave,
468 RTI::FederateInternalError)
478 RTI::FederateInternalError)
488 RTI::FederateInternalError)
499 RTI::FederateInternalError)
508 const char *label,
const char *reason)
510 RTI::FederateInternalError)
520 RTI::FederateInternalError)
529 const char *label, RTI::FederateHandle handle)
531 RTI::SpecifiedSaveLabelDoesNotExist,
532 RTI::CouldNotRestore,
533 RTI::FederateInternalError)
544 RTI::FederateInternalError)
554 RTI::FederateInternalError)
563 RTI::ObjectClassHandle theClass)
565 RTI::ObjectClassNotPublished,
566 RTI::FederateInternalError)
575 RTI::ObjectClassHandle theClass)
577 RTI::ObjectClassNotPublished,
578 RTI::FederateInternalError)
587 RTI::InteractionClassHandle theHandle)
589 RTI::InteractionClassNotPublished,
590 RTI::FederateInternalError)
600 RTI::InteractionClassHandle theHandle)
602 RTI::InteractionClassNotPublished,
603 RTI::FederateInternalError)
613 RTI::ObjectHandle theObject,
614 RTI::ObjectClassHandle theObjectClass,
615 const char * theObjectName)
617 RTI::CouldNotDiscover,
618 RTI::ObjectClassNotKnown,
619 RTI::FederateInternalError)
624 theObject, theObjectClass, theObjectName);
630 RTI::ObjectHandle theObject,
631 const RTI::AttributeHandleValuePairSet& theAttributes,
632 const RTI::FedTime& theTime,
634 RTI::EventRetractionHandle theHandle)
637 RTI::AttributeNotKnown,
638 RTI::FederateOwnsAttributes,
639 RTI::InvalidFederationTime,
640 RTI::FederateInternalError)
645 theObject, theAttributes, theTime, theTag, theHandle);
650 RTI::ObjectHandle theObject,
651 const RTI::AttributeHandleValuePairSet& theAttributes,
655 RTI::AttributeNotKnown,
656 RTI::FederateOwnsAttributes,
657 RTI::FederateInternalError)
667 RTI::InteractionClassHandle theInteraction,
668 const RTI::ParameterHandleValuePairSet& theParameters,
669 const RTI::FedTime& theTime,
671 RTI::EventRetractionHandle theHandle)
673 RTI::InteractionClassNotKnown,
674 RTI::InteractionParameterNotKnown,
675 RTI::InvalidFederationTime,
676 RTI::FederateInternalError)
681 theInteraction, theParameters, theTime, theTag, theHandle);
686 RTI::InteractionClassHandle theInteraction,
687 const RTI::ParameterHandleValuePairSet& theParameters,
690 RTI::InteractionClassNotKnown,
691 RTI::InteractionParameterNotKnown,
692 RTI::FederateInternalError)
702 RTI::ObjectHandle theObject,
703 const RTI::FedTime& theTime,
705 RTI::EventRetractionHandle theHandle)
708 RTI::InvalidFederationTime,
709 RTI::FederateInternalError)
714 theObject, theTime, theTag, theHandle);
719 RTI::ObjectHandle theObject,
const char *theTag)
722 RTI::FederateInternalError)
732 RTI::ObjectHandle theObject,
736 RTI::AttributeNotKnown,
737 RTI::FederateInternalError)
742 theObject, theAttributes);
748 RTI::ObjectHandle theObject,
752 RTI::AttributeNotKnown,
753 RTI::FederateInternalError)
758 theObject, theAttributes);
764 RTI::ObjectHandle theObject,
768 RTI::AttributeNotKnown,
769 RTI::AttributeNotOwned,
770 RTI::FederateInternalError)
775 theObject, theAttributes);
781 RTI::ObjectHandle theObject,
785 RTI::AttributeNotOwned,
786 RTI::FederateInternalError)
791 theObject, theAttributes);
797 RTI::ObjectHandle theObject,
801 RTI::AttributeNotOwned,
802 RTI::FederateInternalError)
807 theObject, theAttributes);
812 RTI::ObjectHandle theObject,
817 RTI::AttributeNotKnown,
818 RTI::AttributeAlreadyOwned,
819 RTI::AttributeNotPublished,
820 RTI::FederateInternalError)
825 theObject, offeredAttributes, theTag);
830 RTI::ObjectHandle theObject,
834 RTI::AttributeNotKnown,
835 RTI::AttributeNotOwned,
836 RTI::AttributeDivestitureWasNotRequested,
837 RTI::FederateInternalError)
842 theObject, releasedAttributes);
848 RTI::ObjectHandle theObject,
852 RTI::AttributeNotKnown,
853 RTI::AttributeAcquisitionWasNotRequested,
854 RTI::AttributeAlreadyOwned,
855 RTI::AttributeNotPublished,
856 RTI::FederateInternalError)
861 theObject, securedAttributes);
867 RTI::ObjectHandle theObject,
871 RTI::AttributeNotKnown,
872 RTI::AttributeAlreadyOwned,
873 RTI::AttributeAcquisitionWasNotRequested,
874 RTI::FederateInternalError)
879 theObject, theAttributes);
885 RTI::ObjectHandle theObject,
890 RTI::AttributeNotKnown,
891 RTI::AttributeNotOwned,
892 RTI::FederateInternalError)
897 theObject, candidateAttributes, theTag);
903 RTI::ObjectHandle theObject,
907 RTI::AttributeNotKnown,
908 RTI::AttributeAlreadyOwned,
909 RTI::AttributeAcquisitionWasNotCanceled,
910 RTI::FederateInternalError)
915 theObject, theAttributes);
921 RTI::ObjectHandle theObject,
922 RTI::AttributeHandle theAttribute,
923 RTI::FederateHandle theOwner)
926 RTI::AttributeNotKnown,
927 RTI::FederateInternalError)
936 RTI::ObjectHandle theObject,
937 RTI::AttributeHandle theAttribute)
940 RTI::AttributeNotKnown,
941 RTI::FederateInternalError)
950 RTI::ObjectHandle theObject,
951 RTI::AttributeHandle theAttribute)
954 RTI::AttributeNotKnown,
955 RTI::FederateInternalError)
964 const RTI::FedTime& theFederateTime)
966 RTI::InvalidFederationTime,
967 RTI::EnableTimeRegulationWasNotPending,
968 RTI::FederateInternalError)
977 const RTI::FedTime& theFederateTime)
979 RTI::InvalidFederationTime,
980 RTI::EnableTimeConstrainedWasNotPending,
981 RTI::FederateInternalError)
990 const RTI::FedTime& theTime)
992 RTI::InvalidFederationTime,
993 RTI::TimeAdvanceWasNotInProgress,
994 RTI::FederateInternalError)
1003 RTI::EventRetractionHandle theHandle)
1006 RTI::FederateInternalError)
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
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 attributeOwnershipDivestitureNotification(ObjectHandle theObject, const AttributeHandleSet &releasedAttributes)=0
7.5
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
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
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
virtual void attributeOwnedByRTI(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
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 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
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
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
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
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
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
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
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