9 #ifndef MyFederateAmbassador_H_
10 #define MyFederateAmbassador_H_
13 #pragma warning(disable: 4251)
14 #pragma warning(disable: 4786)
15 #pragma warning(disable: 4290)
27 using namespace rti1516e;
41 bool myNameReservationReturned;
42 bool myNameReservationSucceeded;
43 std::map<ObjectClassHandle, std::wstring> objectClassMap;
44 std::map<ObjectInstanceHandle, std::wstring> objectInstanceMap;
45 std::map<InteractionClassHandle,std::wstring> interactionClassMap;
46 std::map<ObjectInstanceHandle, AttributeHandleSet*> updateRequestMap;
55 std::set<std::string> ourAttrs;
58 std::set<std::string> ourParms;
76 int otherFederatesReady;
78 bool registerSucceeded;
79 bool announceSyncReceived;
80 bool federationIsSynchronized;
95 objectInstanceNameReservationSucceeded(std::wstring const &
96 theObjectInstanceName)
97 throw (FederateInternalError);
101 objectInstanceNameReservationFailed(std::wstring const &
102 theObjectInstanceName)
103 throw (FederateInternalError);
107 ObjectInstanceHandle theObject,
108 ObjectClassHandle theObjectClass,
109 std::wstring const & theObjectInstanceName)
110 throw (FederateInternalError);
113 ObjectInstanceHandle theObject,
114 ObjectClassHandle theObjectClass,
115 std::wstring const & theObjectInstanceName,
116 FederateHandle producingFederate)
118 FederateInternalError);
122 ObjectInstanceHandle theObject,
124 VariableLengthData const & theUserSuppliedTag,
127 SupplementalReflectInfo theReflectInfo)
129 FederateInternalError);
132 ObjectInstanceHandle theObject,
134 VariableLengthData const & theUserSuppliedTag,
137 LogicalTime const & theTime,
139 SupplementalReflectInfo theReflectInfo)
141 FederateInternalError);
144 ObjectInstanceHandle theObject,
146 VariableLengthData const & theUserSuppliedTag,
149 LogicalTime const & theTime,
151 MessageRetractionHandle theHandle,
152 SupplementalReflectInfo theReflectInfo)
154 FederateInternalError);
158 InteractionClassHandle theInteraction,
160 VariableLengthData const & theUserSuppliedTag,
163 SupplementalReceiveInfo theReceiveInfo)
165 FederateInternalError);
168 InteractionClassHandle theInteraction,
170 VariableLengthData const & theUserSuppliedTag,
173 LogicalTime const & theTime,
175 SupplementalReceiveInfo theReceiveInfo)
177 FederateInternalError);
180 InteractionClassHandle theInteraction,
182 VariableLengthData const & theUserSuppliedTag,
185 LogicalTime const & theTime,
187 MessageRetractionHandle theHandle,
188 SupplementalReceiveInfo theReceiveInfo)
190 FederateInternalError);
194 ObjectInstanceHandle theObject,
195 VariableLengthData const & theUserSuppliedTag,
197 SupplementalRemoveInfo theRemoveInfo)
199 FederateInternalError);
201 ObjectInstanceHandle theObject,
202 VariableLengthData const & theUserSuppliedTag,
204 LogicalTime const & theTime,
206 SupplementalRemoveInfo theRemoveInfo)
208 FederateInternalError);
211 ObjectInstanceHandle theObject,
212 VariableLengthData const & theUserSuppliedTag,
214 LogicalTime const & theTime,
216 MessageRetractionHandle theHandle,
217 SupplementalRemoveInfo theRemoveInfo)
219 FederateInternalError);
225 VariableLengthData const & theUserSuppliedTag)
227 FederateInternalError);
233 FederateInternalError);
240 FederateInternalError);
246 FederateInternalError);
251 throw (FederateInternalError);
257 throw (FederateInternalError);
261 SynchronizationPointFailureReason reason)
262 throw (FederateInternalError);
267 VariableLengthData const & theUserSuppliedTag)
268 throw (FederateInternalError);
271 std::wstring const & label,
274 FederateInternalError);
A convenience header provided for developers that would like to include everything all at once...
std::map< std::string, RTI::AttributeHandle > DtAttrNameHandleMap
Definition: simpleDDMSimple13.h:25
Definition: rtiSimpleFedAmb13.h:37
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
OrderType
Definition: Enums.h:13
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
Definition: simpleTimeTimeManagedEntity.h:28
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 timeAdvanceGrant(const FedTime &theTime)=0
8.13
virtual void announceSynchronizationPoint(const char *label, const char *tag)=0
4.8
This file contains the standard RTI types that are defined in namespace rti1516.
virtual void federationSynchronized(const char *label)=0
4.10
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
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: rtiSimpleFedAmb13.h:13
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
std::map< std::string, RTI::ParameterHandle > DtParamNameHandleMap
Definition: simpleDDMSimple13.h:27
This file contains enumerations used by the interface.
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:29
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 //!
TransportationType
Definition: Enums.h:84