13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
19 #include <RTI/RTI1516.h>
20 #include <RTI/NullFederateAmbassador.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;
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,
68 std::wstring const & theObjectInstanceName)
70 FederateInternalError);
73 ObjectInstanceHandle theObject,
75 std::wstring const & theObjectInstanceName,
78 FederateInternalError);
82 ObjectInstanceHandle theObject,
83 AttributeHandleValueMap const & theAttributeValues,
84 VariableLengthData const & theUserSuppliedTag,
86 TransportationType theType,
87 SupplementalReflectInfo theReflectInfo)
89 FederateInternalError);
92 ObjectInstanceHandle theObject,
93 AttributeHandleValueMap const & theAttributeValues,
94 VariableLengthData const & theUserSuppliedTag,
96 TransportationType theType,
97 LogicalTime const & theTime,
99 SupplementalReflectInfo theReflectInfo)
101 FederateInternalError);
104 ObjectInstanceHandle theObject,
105 AttributeHandleValueMap const & theAttributeValues,
106 VariableLengthData const & theUserSuppliedTag,
108 TransportationType theType,
109 LogicalTime const & theTime,
111 MessageRetractionHandle theHandle,
112 SupplementalReflectInfo theReflectInfo)
114 FederateInternalError);
119 ParameterHandleValueMap const & theParameterValues,
120 VariableLengthData const & theUserSuppliedTag,
122 TransportationType theType,
123 SupplementalReceiveInfo theReceiveInfo)
125 FederateInternalError);
129 ParameterHandleValueMap const & theParameterValues,
130 VariableLengthData const & theUserSuppliedTag,
132 TransportationType theType,
133 LogicalTime const & theTime,
135 SupplementalReceiveInfo theReceiveInfo)
137 FederateInternalError);
141 ParameterHandleValueMap const & theParameterValues,
142 VariableLengthData const & theUserSuppliedTag,
144 TransportationType theType,
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);