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,
129 FederateInternalError);
132 ObjectInstanceHandle theObject,
141 FederateInternalError);
144 ObjectInstanceHandle theObject,
151 MessageRetractionHandle theHandle,
154 FederateInternalError);
158 InteractionClassHandle theInteraction,
165 FederateInternalError);
168 InteractionClassHandle theInteraction,
177 FederateInternalError);
180 InteractionClassHandle theInteraction,
187 MessageRetractionHandle theHandle,
190 FederateInternalError);
194 ObjectInstanceHandle theObject,
199 FederateInternalError);
201 ObjectInstanceHandle theObject,
208 FederateInternalError);
211 ObjectInstanceHandle theObject,
216 MessageRetractionHandle theHandle,
219 FederateInternalError);
227 FederateInternalError);
233 FederateInternalError);
240 FederateInternalError);
246 FederateInternalError);
251 throw (FederateInternalError);
257 throw (FederateInternalError);
262 throw (FederateInternalError);
268 throw (FederateInternalError);
271 std::wstring const & label,
274 FederateInternalError);
Definition: Typedefs.h:101
SynchronizationPointFailureReason
Definition: Enums.h:91
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: Typedefs.h:138
Definition: rtiSimpleFedAmb13.h:37
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
Definition: LogicalTime.h:35
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
Definition: simpleTimeTimeManagedEntity.h:28
Definition: Typedefs.h:119
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
Definition: VariableLengthData.h:34
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
Definition: NullFederateAmbassador.h:25
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
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
OrderType
Definition: Enums.h:27
Definition: rtiSimpleFedAmb13.h:13
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
std::map< std::string, RTI::ParameterHandle > DtParamNameHandleMap
Definition: simpleDDMSimple13.h:27
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:37
This file contains enumerations used by the interface.
TransportationType
Definition: Enums.h:97
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 //!
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49