13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
23 using namespace rti1516e;
29 bool myNameReservationReturned;
30 bool myNameReservationSucceeded;
31 std::map<rti1516e::ObjectClassHandle, std::wstring> objectClassMap;
32 std::map<rti1516e::ObjectInstanceHandle, std::wstring> objectInstanceMap;
33 std::map<rti1516e::InteractionClassHandle, std::wstring> interactionClassMap;
34 rti1516e::AttributeHandle myPositionHandle;
40 bool enableScopeAdvisories;
54 virtual
void objectInstanceNameReservationSucceeded (
55 std::wstring const & theObjectInstanceName)
57 FederateInternalError);
59 virtual
void objectInstanceNameReservationFailed (
60 std::wstring const & theObjectInstanceName)
62 FederateInternalError);
66 ObjectInstanceHandle theObject,
67 ObjectClassHandle theObjectClass,
68 std::wstring const & theObjectInstanceName)
70 FederateInternalError);
73 ObjectInstanceHandle theObject,
74 ObjectClassHandle theObjectClass,
75 std::wstring const & theObjectInstanceName,
76 FederateHandle producingFederate)
78 FederateInternalError);
82 ObjectInstanceHandle theObject,
89 FederateInternalError);
92 ObjectInstanceHandle theObject,
101 FederateInternalError);
104 ObjectInstanceHandle theObject,
111 MessageRetractionHandle theHandle,
114 FederateInternalError);
118 InteractionClassHandle theInteraction,
125 FederateInternalError);
128 InteractionClassHandle theInteraction,
137 FederateInternalError);
140 InteractionClassHandle theInteraction,
147 MessageRetractionHandle theHandle,
150 FederateInternalError);
154 ObjectInstanceHandle theObject,
159 FederateInternalError);
162 ObjectInstanceHandle theObject,
169 FederateInternalError);
172 ObjectInstanceHandle theObject,
177 MessageRetractionHandle theHandle,
180 FederateInternalError);
184 ObjectInstanceHandle theObject,
187 FederateInternalError);
191 ObjectInstanceHandle theObject,
194 FederateInternalError);
Definition: Typedefs.h:101
A convenience header provided for developers that would like to include everything all at once...
Definition: Typedefs.h:138
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
Definition: rtiSimpleFedAmb13.h:37
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
Definition: LogicalTime.h:35
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
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
Definition: NullFederateAmbassador.h:25
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
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
TransportationType
Definition: Enums.h:97
This file provides an example derivation of the rti1516e::FederateAmbassador with NULL actions for ea...
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49