12 #ifndef DtFedAmbWrapper_H_
13 #define DtFedAmbWrapper_H_
20 #include "NullFederateAmbassador13.h"
23 #include "NullFederateAmbassador.hh"
29 (RTI::FederateAmbassador* fedAmb);
46 NullFederateAmbassador(), myFedAmb(fedAmb) {}
50 virtual RTI::FederateAmbassador* fedAmb();
51 virtual void setFedAmb(RTI::FederateAmbassador* f);
54 RTI::FederateAmbassador* myFedAmb;
64 RTI::FederateInternalError);
69 RTI::FederateInternalError);
75 RTI::FederateInternalError);
80 RTI::FederateInternalError);
85 RTI::UnableToPerformSave,
86 RTI::FederateInternalError);
90 RTI::FederateInternalError);
94 RTI::FederateInternalError);
99 RTI::FederateInternalError);
105 RTI::FederateInternalError);
109 RTI::FederateInternalError);
113 RTI::FederateHandle handle)
115 RTI::SpecifiedSaveLabelDoesNotExist,
116 RTI::CouldNotRestore,
117 RTI::FederateInternalError);
121 RTI::FederateInternalError);
125 RTI::FederateInternalError);
133 RTI::ObjectClassHandle theClass)
135 RTI::ObjectClassNotPublished,
136 RTI::FederateInternalError);
139 RTI::ObjectClassHandle theClass)
141 RTI::ObjectClassNotPublished,
142 RTI::FederateInternalError);
145 RTI::InteractionClassHandle theHandle)
147 RTI::InteractionClassNotPublished,
148 RTI::FederateInternalError);
151 RTI::InteractionClassHandle theHandle)
153 RTI::InteractionClassNotPublished,
154 RTI::FederateInternalError);
162 RTI::ObjectHandle theObject,
163 RTI::ObjectClassHandle theObjectClass,
164 const
char* theObjectName)
166 RTI::CouldNotDiscover,
167 RTI::ObjectClassNotKnown,
168 RTI::FederateInternalError);
171 RTI::ObjectHandle theObject,
172 const RTI::AttributeHandleValuePairSet& theAttributes,
173 const RTI::FedTime& theTime,
175 RTI::EventRetractionHandle theHandle)
178 RTI::AttributeNotKnown,
179 RTI::FederateOwnsAttributes,
180 RTI::InvalidFederationTime,
181 RTI::FederateInternalError);
184 RTI::ObjectHandle theObject,
185 const RTI::AttributeHandleValuePairSet& theAttributes,
189 RTI::AttributeNotKnown,
190 RTI::FederateOwnsAttributes,
191 RTI::FederateInternalError);
194 RTI::InteractionClassHandle theInteraction,
195 const RTI::ParameterHandleValuePairSet& theParameters,
196 const RTI::FedTime& theTime,
198 RTI::EventRetractionHandle theHandle)
200 RTI::InteractionClassNotKnown,
201 RTI::InteractionParameterNotKnown,
202 RTI::InvalidFederationTime,
203 RTI::FederateInternalError);
206 RTI::InteractionClassHandle theInteraction,
207 const RTI::ParameterHandleValuePairSet& theParameters,
210 RTI::InteractionClassNotKnown,
211 RTI::InteractionParameterNotKnown,
212 RTI::FederateInternalError);
215 RTI::ObjectHandle theObject,
216 const RTI::FedTime& theTime,
218 RTI::EventRetractionHandle theHandle)
221 RTI::InvalidFederationTime,
222 RTI::FederateInternalError);
225 RTI::ObjectHandle theObject,
229 RTI::FederateInternalError);
232 RTI::ObjectHandle theObject,
236 RTI::AttributeNotKnown,
237 RTI::FederateInternalError);
240 RTI::ObjectHandle theObject,
244 RTI::AttributeNotKnown,
245 RTI::FederateInternalError);
248 RTI::ObjectHandle theObject,
252 RTI::AttributeNotKnown,
253 RTI::AttributeNotOwned,
254 RTI::FederateInternalError);
257 RTI::ObjectHandle theObject,
261 RTI::AttributeNotOwned,
262 RTI::FederateInternalError);
265 RTI::ObjectHandle theObject,
269 RTI::AttributeNotOwned,
270 RTI::FederateInternalError);
278 RTI::ObjectHandle theObject,
283 RTI::AttributeNotKnown,
284 RTI::AttributeAlreadyOwned,
285 RTI::AttributeNotPublished,
286 RTI::FederateInternalError);
289 RTI::ObjectHandle theObject,
293 RTI::AttributeNotKnown,
294 RTI::AttributeNotOwned,
295 RTI::AttributeDivestitureWasNotRequested,
296 RTI::FederateInternalError);
299 RTI::ObjectHandle theObject,
303 RTI::AttributeNotKnown,
304 RTI::AttributeAcquisitionWasNotRequested,
305 RTI::AttributeAlreadyOwned,
306 RTI::AttributeNotPublished,
307 RTI::FederateInternalError);
310 RTI::ObjectHandle theObject,
314 RTI::AttributeNotKnown,
315 RTI::AttributeAlreadyOwned,
316 RTI::AttributeAcquisitionWasNotRequested,
317 RTI::FederateInternalError);
320 RTI::ObjectHandle theObject,
325 RTI::AttributeNotKnown,
326 RTI::AttributeNotOwned,
327 RTI::FederateInternalError);
330 RTI::ObjectHandle theObject,
334 RTI::AttributeNotKnown,
335 RTI::AttributeAlreadyOwned,
336 RTI::AttributeAcquisitionWasNotCanceled,
337 RTI::FederateInternalError);
340 RTI::ObjectHandle theObject,
341 RTI::AttributeHandle theAttribute,
342 RTI::FederateHandle theOwner)
345 RTI::AttributeNotKnown,
346 RTI::FederateInternalError);
349 RTI::ObjectHandle theObject,
350 RTI::AttributeHandle theAttribute)
353 RTI::AttributeNotKnown,
354 RTI::FederateInternalError);
357 RTI::ObjectHandle theObject,
358 RTI::AttributeHandle theAttribute)
361 RTI::AttributeNotKnown,
362 RTI::FederateInternalError);
370 const RTI::FedTime& theFederateTime)
372 RTI::InvalidFederationTime,
373 RTI::EnableTimeRegulationWasNotPending,
374 RTI::FederateInternalError);
377 const RTI::FedTime& theFederateTime)
379 RTI::InvalidFederationTime,
380 RTI::EnableTimeConstrainedWasNotPending,
381 RTI::FederateInternalError);
384 const RTI::FedTime& theTime)
386 RTI::InvalidFederationTime,
387 RTI::TimeAdvanceWasNotInProgress,
388 RTI::FederateInternalError);
391 RTI::EventRetractionHandle theHandle)
394 RTI::FederateInternalError);
404 inline void DtFedAmbWrapper::setFedAmb(RTI::FederateAmbassador* f)
412 RTI::FederateInternalError)
416 myFedAmb->synchronizationPointRegistrationSucceeded(label);
423 RTI::FederateInternalError)
435 RTI::FederateInternalError)
446 RTI::FederateInternalError)
457 RTI::UnableToPerformSave,
458 RTI::FederateInternalError)
468 RTI::FederateInternalError)
478 RTI::FederateInternalError)
489 RTI::FederateInternalError)
498 const char *label,
const char *reason)
500 RTI::FederateInternalError)
510 RTI::FederateInternalError)
519 const char *label, RTI::FederateHandle handle)
521 RTI::SpecifiedSaveLabelDoesNotExist,
522 RTI::CouldNotRestore,
523 RTI::FederateInternalError)
534 RTI::FederateInternalError)
544 RTI::FederateInternalError)
553 RTI::ObjectClassHandle theClass)
555 RTI::ObjectClassNotPublished,
556 RTI::FederateInternalError)
565 RTI::ObjectClassHandle theClass)
567 RTI::ObjectClassNotPublished,
568 RTI::FederateInternalError)
577 RTI::InteractionClassHandle theHandle)
579 RTI::InteractionClassNotPublished,
580 RTI::FederateInternalError)
590 RTI::InteractionClassHandle theHandle)
592 RTI::InteractionClassNotPublished,
593 RTI::FederateInternalError)
603 RTI::ObjectHandle theObject,
604 RTI::ObjectClassHandle theObjectClass,
605 const char * theObjectName)
607 RTI::CouldNotDiscover,
608 RTI::ObjectClassNotKnown,
609 RTI::FederateInternalError)
614 theObject, theObjectClass, theObjectName);
620 RTI::ObjectHandle theObject,
621 const RTI::AttributeHandleValuePairSet& theAttributes,
622 const RTI::FedTime& theTime,
624 RTI::EventRetractionHandle theHandle)
627 RTI::AttributeNotKnown,
628 RTI::FederateOwnsAttributes,
629 RTI::InvalidFederationTime,
630 RTI::FederateInternalError)
635 theObject, theAttributes, theTime, theTag, theHandle);
640 RTI::ObjectHandle theObject,
641 const RTI::AttributeHandleValuePairSet& theAttributes,
645 RTI::AttributeNotKnown,
646 RTI::FederateOwnsAttributes,
647 RTI::FederateInternalError)
657 RTI::InteractionClassHandle theInteraction,
658 const RTI::ParameterHandleValuePairSet& theParameters,
659 const RTI::FedTime& theTime,
661 RTI::EventRetractionHandle theHandle)
663 RTI::InteractionClassNotKnown,
664 RTI::InteractionParameterNotKnown,
665 RTI::InvalidFederationTime,
666 RTI::FederateInternalError)
671 theInteraction, theParameters, theTime, theTag, theHandle);
676 RTI::InteractionClassHandle theInteraction,
677 const RTI::ParameterHandleValuePairSet& theParameters,
680 RTI::InteractionClassNotKnown,
681 RTI::InteractionParameterNotKnown,
682 RTI::FederateInternalError)
692 RTI::ObjectHandle theObject,
693 const RTI::FedTime& theTime,
695 RTI::EventRetractionHandle theHandle)
698 RTI::InvalidFederationTime,
699 RTI::FederateInternalError)
704 theObject, theTime, theTag, theHandle);
709 RTI::ObjectHandle theObject,
const char *theTag)
712 RTI::FederateInternalError)
722 RTI::ObjectHandle theObject,
726 RTI::AttributeNotKnown,
727 RTI::FederateInternalError)
732 theObject, theAttributes);
738 RTI::ObjectHandle theObject,
742 RTI::AttributeNotKnown,
743 RTI::FederateInternalError)
748 theObject, theAttributes);
754 RTI::ObjectHandle theObject,
758 RTI::AttributeNotKnown,
759 RTI::AttributeNotOwned,
760 RTI::FederateInternalError)
765 theObject, theAttributes);
771 RTI::ObjectHandle theObject,
775 RTI::AttributeNotOwned,
776 RTI::FederateInternalError)
781 theObject, theAttributes);
787 RTI::ObjectHandle theObject,
791 RTI::AttributeNotOwned,
792 RTI::FederateInternalError)
797 theObject, theAttributes);
802 RTI::ObjectHandle theObject,
807 RTI::AttributeNotKnown,
808 RTI::AttributeAlreadyOwned,
809 RTI::AttributeNotPublished,
810 RTI::FederateInternalError)
815 theObject, offeredAttributes, theTag);
820 RTI::ObjectHandle theObject,
824 RTI::AttributeNotKnown,
825 RTI::AttributeNotOwned,
826 RTI::AttributeDivestitureWasNotRequested,
827 RTI::FederateInternalError)
832 theObject, releasedAttributes);
838 RTI::ObjectHandle theObject,
842 RTI::AttributeNotKnown,
843 RTI::AttributeAcquisitionWasNotRequested,
844 RTI::AttributeAlreadyOwned,
845 RTI::AttributeNotPublished,
846 RTI::FederateInternalError)
851 theObject, securedAttributes);
857 RTI::ObjectHandle theObject,
861 RTI::AttributeNotKnown,
862 RTI::AttributeAlreadyOwned,
863 RTI::AttributeAcquisitionWasNotRequested,
864 RTI::FederateInternalError)
869 theObject, theAttributes);
875 RTI::ObjectHandle theObject,
880 RTI::AttributeNotKnown,
881 RTI::AttributeNotOwned,
882 RTI::FederateInternalError)
887 theObject, candidateAttributes, theTag);
893 RTI::ObjectHandle theObject,
897 RTI::AttributeNotKnown,
898 RTI::AttributeAlreadyOwned,
899 RTI::AttributeAcquisitionWasNotCanceled,
900 RTI::FederateInternalError)
905 theObject, theAttributes);
911 RTI::ObjectHandle theObject,
912 RTI::AttributeHandle theAttribute,
913 RTI::FederateHandle theOwner)
916 RTI::AttributeNotKnown,
917 RTI::FederateInternalError)
926 RTI::ObjectHandle theObject,
927 RTI::AttributeHandle theAttribute)
930 RTI::AttributeNotKnown,
931 RTI::FederateInternalError)
940 RTI::ObjectHandle theObject,
941 RTI::AttributeHandle theAttribute)
944 RTI::AttributeNotKnown,
945 RTI::FederateInternalError)
954 const RTI::FedTime& theFederateTime)
956 RTI::InvalidFederationTime,
957 RTI::EnableTimeRegulationWasNotPending,
958 RTI::FederateInternalError)
967 const RTI::FedTime& theFederateTime)
969 RTI::InvalidFederationTime,
970 RTI::EnableTimeConstrainedWasNotPending,
971 RTI::FederateInternalError)
980 const RTI::FedTime& theTime)
982 RTI::InvalidFederationTime,
983 RTI::TimeAdvanceWasNotInProgress,
984 RTI::FederateInternalError)
993 RTI::EventRetractionHandle theHandle)
996 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
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
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
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:126
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