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,
84 VariableLengthData const & theUserSuppliedTag,
87 SupplementalReflectInfo theReflectInfo)
89 FederateInternalError);
92 ObjectInstanceHandle theObject,
94 VariableLengthData const & theUserSuppliedTag,
97 LogicalTime const & theTime,
99 SupplementalReflectInfo theReflectInfo)
101 FederateInternalError);
104 ObjectInstanceHandle theObject,
106 VariableLengthData const & theUserSuppliedTag,
109 LogicalTime const & theTime,
111 MessageRetractionHandle theHandle,
112 SupplementalReflectInfo theReflectInfo)
114 FederateInternalError);
118 InteractionClassHandle theInteraction,
120 VariableLengthData const & theUserSuppliedTag,
123 SupplementalReceiveInfo theReceiveInfo)
125 FederateInternalError);
128 InteractionClassHandle theInteraction,
130 VariableLengthData const & theUserSuppliedTag,
133 LogicalTime const & theTime,
135 SupplementalReceiveInfo theReceiveInfo)
137 FederateInternalError);
140 InteractionClassHandle theInteraction,
142 VariableLengthData const & theUserSuppliedTag,
145 LogicalTime const & theTime,
147 MessageRetractionHandle theHandle,
148 SupplementalReceiveInfo theReceiveInfo)
150 FederateInternalError);
154 ObjectInstanceHandle theObject,
155 VariableLengthData const & theUserSuppliedTag,
157 SupplementalRemoveInfo theRemoveInfo)
159 FederateInternalError);
162 ObjectInstanceHandle theObject,
163 VariableLengthData const & theUserSuppliedTag,
165 LogicalTime const & theTime,
167 SupplementalRemoveInfo theRemoveInfo)
169 FederateInternalError);
172 ObjectInstanceHandle theObject,
173 VariableLengthData const & theUserSuppliedTag,
175 LogicalTime const & theTime,
177 MessageRetractionHandle theHandle,
178 SupplementalRemoveInfo theRemoveInfo)
180 FederateInternalError);
184 ObjectInstanceHandle theObject,
187 FederateInternalError);
191 ObjectInstanceHandle theObject,
194 FederateInternalError);