13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
19 #include <RTI/RTI1516.h>
20 #include <RTI/NullFederateAmbassador.h>
54 (std::wstring
const & theObjectInstanceName)
55 throw (rti1516::UnknownName,
56 rti1516::FederateInternalError);
61 (std::wstring
const & theObjectInstanceName)
62 throw (rti1516::UnknownName,
63 rti1516::FederateInternalError);
68 (rti1516::ObjectInstanceHandle theObject,
70 std::wstring
const & theObjectInstanceName)
71 throw (rti1516::CouldNotDiscover,
72 rti1516::ObjectClassNotKnown,
73 rti1516::FederateInternalError);
79 (rti1516::ObjectInstanceHandle theObject,
80 rti1516::AttributeHandleValueMap
const & theAttributeValues,
81 rti1516::VariableLengthData
const & theUserSuppliedTag,
84 throw (rti1516::ObjectInstanceNotKnown,
85 rti1516::AttributeNotRecognized,
86 rti1516::AttributeNotSubscribed,
87 rti1516::FederateInternalError);
92 (rti1516::ObjectInstanceHandle theObject,
93 rti1516::AttributeHandleValueMap
const & theAttributeValues,
94 rti1516::VariableLengthData
const & theUserSuppliedTag,
97 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
98 throw (rti1516::ObjectInstanceNotKnown,
99 rti1516::AttributeNotRecognized,
100 rti1516::AttributeNotSubscribed,
101 rti1516::FederateInternalError);
106 (rti1516::ObjectInstanceHandle theObject,
107 rti1516::AttributeHandleValueMap
const & theAttributeValues,
108 rti1516::VariableLengthData
const & theUserSuppliedTag,
111 rti1516::LogicalTime
const & theTime,
113 throw (rti1516::ObjectInstanceNotKnown,
114 rti1516::AttributeNotRecognized,
115 rti1516::AttributeNotSubscribed,
116 rti1516::FederateInternalError);
121 (rti1516::ObjectInstanceHandle theObject,
122 rti1516::AttributeHandleValueMap
const & theAttributeValues,
123 rti1516::VariableLengthData
const & theUserSuppliedTag,
126 rti1516::LogicalTime
const & theTime,
128 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
129 throw (rti1516::ObjectInstanceNotKnown,
130 rti1516::AttributeNotRecognized,
131 rti1516::AttributeNotSubscribed,
132 rti1516::FederateInternalError);
137 (rti1516::ObjectInstanceHandle theObject,
138 rti1516::AttributeHandleValueMap
const & theAttributeValues,
139 rti1516::VariableLengthData
const & theUserSuppliedTag,
142 rti1516::LogicalTime
const & theTime,
144 rti1516::MessageRetractionHandle theHandle)
145 throw (rti1516::ObjectInstanceNotKnown,
146 rti1516::AttributeNotRecognized,
147 rti1516::AttributeNotSubscribed,
148 rti1516::InvalidLogicalTime,
149 rti1516::FederateInternalError);
154 (rti1516::ObjectInstanceHandle theObject,
155 rti1516::AttributeHandleValueMap
const & theAttributeValues,
156 rti1516::VariableLengthData
const & theUserSuppliedTag,
159 rti1516::LogicalTime
const & theTime,
161 rti1516::MessageRetractionHandle theHandle,
162 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
163 throw (rti1516::ObjectInstanceNotKnown,
164 rti1516::AttributeNotRecognized,
165 rti1516::AttributeNotSubscribed,
166 rti1516::InvalidLogicalTime,
167 rti1516::FederateInternalError);
173 rti1516::ParameterHandleValueMap
const & theParameterValues,
174 rti1516::VariableLengthData
const & theUserSuppliedTag,
177 throw (rti1516::InteractionClassNotRecognized,
178 rti1516::InteractionParameterNotRecognized,
179 rti1516::InteractionClassNotSubscribed,
180 rti1516::FederateInternalError);
186 rti1516::ParameterHandleValueMap
const & theParameterValues,
187 rti1516::VariableLengthData
const & theUserSuppliedTag,
190 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
191 throw (rti1516::InteractionClassNotRecognized,
192 rti1516::InteractionParameterNotRecognized,
193 rti1516::InteractionClassNotSubscribed,
194 rti1516::FederateInternalError);
200 rti1516::ParameterHandleValueMap
const & theParameterValues,
201 rti1516::VariableLengthData
const & theUserSuppliedTag,
204 rti1516::LogicalTime
const & theTime,
206 throw (rti1516::InteractionClassNotRecognized,
207 rti1516::InteractionParameterNotRecognized,
208 rti1516::InteractionClassNotSubscribed,
209 rti1516::FederateInternalError);
215 rti1516::ParameterHandleValueMap
const & theParameterValues,
216 rti1516::VariableLengthData
const & theUserSuppliedTag,
219 rti1516::LogicalTime
const & theTime,
221 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
222 throw (rti1516::InteractionClassNotRecognized,
223 rti1516::InteractionParameterNotRecognized,
224 rti1516::InteractionClassNotSubscribed,
225 rti1516::FederateInternalError);
231 rti1516::ParameterHandleValueMap
const & theParameterValues,
232 rti1516::VariableLengthData
const & theUserSuppliedTag,
235 rti1516::LogicalTime
const & theTime,
237 rti1516::MessageRetractionHandle theHandle)
238 throw (rti1516::InteractionClassNotRecognized,
239 rti1516::InteractionParameterNotRecognized,
240 rti1516::InteractionClassNotSubscribed,
241 rti1516::InvalidLogicalTime,
242 rti1516::FederateInternalError);
248 rti1516::ParameterHandleValueMap
const & theParameterValues,
249 rti1516::VariableLengthData
const & theUserSuppliedTag,
252 rti1516::LogicalTime
const & theTime,
254 rti1516::MessageRetractionHandle theHandle,
255 rti1516::RegionHandleSet
const & theSentRegionHandleSet)
256 throw (rti1516::InteractionClassNotRecognized,
257 rti1516::InteractionParameterNotRecognized,
258 rti1516::InteractionClassNotSubscribed,
259 rti1516::InvalidLogicalTime,
260 rti1516::FederateInternalError);
265 rti1516::VariableLengthData
const & theUserSuppliedTag,
267 throw (rti1516::ObjectInstanceNotKnown,
268 rti1516::FederateInternalError);
273 rti1516::VariableLengthData
const & theUserSuppliedTag,
275 rti1516::LogicalTime
const & theTime,
277 throw (rti1516::ObjectInstanceNotKnown,
278 rti1516::FederateInternalError);
283 rti1516::VariableLengthData
const & theUserSuppliedTag,
285 rti1516::LogicalTime
const & theTime,
287 rti1516::MessageRetractionHandle theHandle)
288 throw (rti1516::ObjectInstanceNotKnown,
289 rti1516::InvalidLogicalTime,
290 rti1516::FederateInternalError);
295 (rti1516::ObjectInstanceHandle theObject,
296 rti1516::AttributeHandleSet
const & theAttributes)
297 throw (rti1516::ObjectInstanceNotKnown,
298 rti1516::AttributeNotRecognized,
299 rti1516::AttributeNotSubscribed,
300 rti1516::FederateInternalError) ;
305 (rti1516::ObjectInstanceHandle theObject,
306 rti1516::AttributeHandleSet
const & theAttributes)
307 throw (rti1516::ObjectInstanceNotKnown,
308 rti1516::AttributeNotRecognized,
309 rti1516::AttributeNotSubscribed,
310 rti1516::FederateInternalError) ;
bool enableScopeAdvisories
Definition: simpleDDMFedAmb13.h:35
virtual void objectInstanceNameReservationFailed(std::wstring const &theObjectInstanceName)
OrderType
Definition: datatypes.pb.h:472
virtual void attributesInScope(RTI::ObjectHandle theObject, const RTI::AttributeHandleSet &theAttributes)
int upperSend
Definition: simpleDDMFedAmb13.h:34
Basic federate ambassador service callback implementation.
Definition: rtiSimpleFedAmb13.h:35
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, const RTI::ParameterHandleValuePairSet &theParameters, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
virtual void objectInstanceNameReservationSucceeded(std::wstring const &theObjectInstanceName)
ULong InteractionClassHandle
Definition: RTItypes13.h:106
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
virtual void removeObjectInstance(RTI::ObjectHandle theObject, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
int lowerListen
Definition: simpleDDMFedAmb13.h:31
virtual void reflectAttributeValues(RTI::ObjectHandle theObject, const RTI::AttributeHandleValuePairSet &theAttributes, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
int position
Definition: simpleDDMFedAmb13.h:30
std::map< rti1516::InteractionClassHandle, std::wstring > interactionClassMap
Definition: simpleDDMFedAmb1516.h:31
DtSimpleData & myData
Definition: rtiSimpleFedAmb13.h:98
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
int lowerSend
Definition: simpleDDMFedAmb13.h:33
std::map< rti1516::ObjectClassHandle, std::wstring > objectClassMap
Definition: simpleDDMFedAmb1516.h:29
Definition: rtiSimpleFedAmb13dlc.h:15
virtual void attributesOutOfScope(RTI::ObjectHandle theObject, const RTI::AttributeHandleSet &theAttributes)
bool isPublisher
Definition: simpleDDMFedAmb13.h:36
int upperListen
Definition: simpleDDMFedAmb13.h:32
virtual ~MyFederateAmbassador()
bool myNameReservationSucceeded
Definition: simpleDDMFedAmb1516.h:28
rti1516::AttributeHandle myPositionHandle
Definition: simpleDDMFedAmb1516.h:32
ULong ObjectClassHandle
Definition: RTItypes13.h:104
MyFederateAmbassador(DtSimpleData &data)
bool myNameReservationReturned
Definition: simpleDDMFedAmb1516.h:27
std::map< rti1516::ObjectInstanceHandle, std::wstring > objectInstanceMap
Definition: simpleDDMFedAmb1516.h:30
Handle AttributeHandle
Definition: RTItypes13.h:112