13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_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,
69 rti1516::ObjectClassHandle theObjectClass,
70 std::wstring
const & theObjectInstanceName)
71 throw (rti1516::CouldNotDiscover,
72 rti1516::ObjectClassNotKnown,
73 rti1516::FederateInternalError);
79 (rti1516::ObjectInstanceHandle theObject,
84 throw (rti1516::ObjectInstanceNotKnown,
85 rti1516::AttributeNotRecognized,
86 rti1516::AttributeNotSubscribed,
87 rti1516::FederateInternalError);
92 (rti1516::ObjectInstanceHandle theObject,
98 throw (rti1516::ObjectInstanceNotKnown,
99 rti1516::AttributeNotRecognized,
100 rti1516::AttributeNotSubscribed,
101 rti1516::FederateInternalError);
106 (rti1516::ObjectInstanceHandle theObject,
113 throw (rti1516::ObjectInstanceNotKnown,
114 rti1516::AttributeNotRecognized,
115 rti1516::AttributeNotSubscribed,
116 rti1516::FederateInternalError);
121 (rti1516::ObjectInstanceHandle theObject,
129 throw (rti1516::ObjectInstanceNotKnown,
130 rti1516::AttributeNotRecognized,
131 rti1516::AttributeNotSubscribed,
132 rti1516::FederateInternalError);
137 (rti1516::ObjectInstanceHandle theObject,
144 rti1516::MessageRetractionHandle theHandle)
145 throw (rti1516::ObjectInstanceNotKnown,
146 rti1516::AttributeNotRecognized,
147 rti1516::AttributeNotSubscribed,
148 rti1516::InvalidLogicalTime,
149 rti1516::FederateInternalError);
154 (rti1516::ObjectInstanceHandle theObject,
161 rti1516::MessageRetractionHandle theHandle,
163 throw (rti1516::ObjectInstanceNotKnown,
164 rti1516::AttributeNotRecognized,
165 rti1516::AttributeNotSubscribed,
166 rti1516::InvalidLogicalTime,
167 rti1516::FederateInternalError);
172 (rti1516::InteractionClassHandle theInteraction,
177 throw (rti1516::InteractionClassNotRecognized,
178 rti1516::InteractionParameterNotRecognized,
179 rti1516::InteractionClassNotSubscribed,
180 rti1516::FederateInternalError);
185 (rti1516::InteractionClassHandle theInteraction,
191 throw (rti1516::InteractionClassNotRecognized,
192 rti1516::InteractionParameterNotRecognized,
193 rti1516::InteractionClassNotSubscribed,
194 rti1516::FederateInternalError);
199 (rti1516::InteractionClassHandle theInteraction,
206 throw (rti1516::InteractionClassNotRecognized,
207 rti1516::InteractionParameterNotRecognized,
208 rti1516::InteractionClassNotSubscribed,
209 rti1516::FederateInternalError);
214 (rti1516::InteractionClassHandle theInteraction,
222 throw (rti1516::InteractionClassNotRecognized,
223 rti1516::InteractionParameterNotRecognized,
224 rti1516::InteractionClassNotSubscribed,
225 rti1516::FederateInternalError);
230 (rti1516::InteractionClassHandle theInteraction,
237 rti1516::MessageRetractionHandle theHandle)
238 throw (rti1516::InteractionClassNotRecognized,
239 rti1516::InteractionParameterNotRecognized,
240 rti1516::InteractionClassNotSubscribed,
241 rti1516::InvalidLogicalTime,
242 rti1516::FederateInternalError);
247 (rti1516::InteractionClassHandle theInteraction,
254 rti1516::MessageRetractionHandle theHandle,
256 throw (rti1516::InteractionClassNotRecognized,
257 rti1516::InteractionParameterNotRecognized,
258 rti1516::InteractionClassNotSubscribed,
259 rti1516::InvalidLogicalTime,
260 rti1516::FederateInternalError);
267 throw (rti1516::ObjectInstanceNotKnown,
268 rti1516::FederateInternalError);
277 throw (rti1516::ObjectInstanceNotKnown,
278 rti1516::FederateInternalError);
287 rti1516::MessageRetractionHandle theHandle)
288 throw (rti1516::ObjectInstanceNotKnown,
289 rti1516::InvalidLogicalTime,
290 rti1516::FederateInternalError);
295 (rti1516::ObjectInstanceHandle theObject,
297 throw (rti1516::ObjectInstanceNotKnown,
298 rti1516::AttributeNotRecognized,
299 rti1516::AttributeNotSubscribed,
300 rti1516::FederateInternalError) ;
305 (rti1516::ObjectInstanceHandle theObject,
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)
A convenience header provided for developers that would like to include everything all at once...
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)
OrderType
Definition: Enums.h:13
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:31
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< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:36
Definition: NullFederateAmbassador.h:14
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)
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
bool isPublisher
Definition: simpleDDMFedAmb13.h:36
int upperListen
Definition: simpleDDMFedAmb13.h:32
Definition: VariableLengthData.h:22
virtual ~MyFederateAmbassador()
bool myNameReservationSucceeded
Definition: simpleDDMFedAmb1516.h:28
Definition: LogicalTime.h:27
rti1516::AttributeHandle myPositionHandle
Definition: simpleDDMFedAmb1516.h:32
This file provides an example derivation of the rti1516_2025::FederateAmbassador with NULL actions fo...
MyFederateAmbassador(DtSimpleData &data)
bool myNameReservationReturned
Definition: simpleDDMFedAmb1516.h:27
std::map< rti1516::ObjectInstanceHandle, std::wstring > objectInstanceMap
Definition: simpleDDMFedAmb1516.h:30
TransportationType
Definition: Enums.h:84