8 #pragma warning(disable: 4251)
9 #pragma warning(disable: 4786)
10 #pragma warning(disable: 4290)
12 #include <RTI/RTI1516.h>
13 #include <RTI/NullFederateAmbassador.h>
51 std::wstring const & theObjectInstanceName)
52 throw (rti1516::UnknownName, rti1516::FederateInternalError);
55 std::wstring const & theObjectInstanceName)
56 throw (rti1516::UnknownName, rti1516::FederateInternalError);
60 rti1516::ObjectInstanceHandle theObject,
62 std::wstring const & theObjectInstanceName)
63 throw (rti1516::CouldNotDiscover, rti1516::ObjectClassNotKnown, rti1516::FederateInternalError);
67 rti1516::ObjectInstanceHandle theObject,
68 rti1516::AttributeHandleValueMap const & theAttributeValues,
69 rti1516::VariableLengthData const & theUserSuppliedTag,
72 throw (rti1516::ObjectInstanceNotKnown, rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
73 rti1516::FederateInternalError);
76 rti1516::ObjectInstanceHandle theObject,
77 rti1516::AttributeHandleValueMap const & theAttributeValues,
78 rti1516::VariableLengthData const & theUserSuppliedTag,
80 rti1516::
TransportationType theType,rti1516::RegionHandleSet const & theSentRegionHandleSet)
81 throw (rti1516::ObjectInstanceNotKnown,rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
82 rti1516::FederateInternalError);
85 rti1516::ObjectInstanceHandle theObject,
86 rti1516::AttributeHandleValueMap const & theAttributeValues,
87 rti1516::VariableLengthData const & theUserSuppliedTag,
90 rti1516::LogicalTime const & theTime,
92 throw (rti1516::ObjectInstanceNotKnown, rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
93 rti1516::FederateInternalError);
96 rti1516::ObjectInstanceHandle theObject,
97 rti1516::AttributeHandleValueMap const & theAttributeValues,
98 rti1516::VariableLengthData const & theUserSuppliedTag,
101 rti1516::LogicalTime const & theTime,
103 rti1516::RegionHandleSet const & theSentRegionHandleSet)
104 throw (rti1516::ObjectInstanceNotKnown, rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
105 rti1516::FederateInternalError);
108 rti1516::ObjectInstanceHandle theObject,
109 rti1516::AttributeHandleValueMap const & theAttributeValues,
110 rti1516::VariableLengthData const & theUserSuppliedTag,
113 rti1516::LogicalTime const & theTime,
115 rti1516::MessageRetractionHandle theHandle)
116 throw (rti1516::ObjectInstanceNotKnown, rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
117 rti1516::InvalidLogicalTime, rti1516::FederateInternalError);
120 rti1516::ObjectInstanceHandle theObject,
121 rti1516::AttributeHandleValueMap const & theAttributeValues,
122 rti1516::VariableLengthData const & theUserSuppliedTag,
125 rti1516::LogicalTime const & theTime,
127 rti1516::MessageRetractionHandle theHandle,
128 rti1516::RegionHandleSet const & theSentRegionHandleSet)
129 throw (rti1516::ObjectInstanceNotKnown, rti1516::AttributeNotRecognized, rti1516::AttributeNotSubscribed,
130 rti1516::InvalidLogicalTime, rti1516::FederateInternalError);
135 rti1516::ParameterHandleValueMap const & theParameterValues,
136 rti1516::VariableLengthData const & theUserSuppliedTag,
139 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
140 rti1516::InteractionClassNotSubscribed, rti1516::FederateInternalError);
144 rti1516::ParameterHandleValueMap const & theParameterValues,
145 rti1516::VariableLengthData const & theUserSuppliedTag,
148 rti1516::RegionHandleSet const & theSentRegionHandleSet)
149 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
150 rti1516::InteractionClassNotSubscribed, rti1516::FederateInternalError);
154 rti1516::ParameterHandleValueMap const & theParameterValues,
155 rti1516::VariableLengthData const & theUserSuppliedTag,
158 rti1516::LogicalTime const & theTime,
160 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
161 rti1516::InteractionClassNotSubscribed, rti1516::FederateInternalError);
165 rti1516::ParameterHandleValueMap const & theParameterValues,
166 rti1516::VariableLengthData const & theUserSuppliedTag,
169 rti1516::LogicalTime const & theTime,
171 rti1516::RegionHandleSet const & theSentRegionHandleSet)
172 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
173 rti1516::InteractionClassNotSubscribed, rti1516::FederateInternalError);
177 rti1516::ParameterHandleValueMap const & theParameterValues,
178 rti1516::VariableLengthData const & theUserSuppliedTag,
181 rti1516::LogicalTime const & theTime,
183 rti1516::MessageRetractionHandle theHandle)
184 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
185 rti1516::InteractionClassNotSubscribed, rti1516::InvalidLogicalTime, rti1516::FederateInternalError);
189 rti1516::ParameterHandleValueMap const & theParameterValues,
190 rti1516::VariableLengthData const & theUserSuppliedTag,
193 rti1516::LogicalTime const & theTime,
195 rti1516::MessageRetractionHandle theHandle,
196 rti1516::RegionHandleSet const & theSentRegionHandleSet)
197 throw (rti1516::InteractionClassNotRecognized, rti1516::InteractionParameterNotRecognized,
198 rti1516::InteractionClassNotSubscribed, rti1516::InvalidLogicalTime, rti1516::FederateInternalError);
203 rti1516::ObjectInstanceHandle theObject,
204 rti1516::VariableLengthData const & theUserSuppliedTag,
206 throw (rti1516::ObjectInstanceNotKnown, rti1516::FederateInternalError);
209 rti1516::ObjectInstanceHandle theObject,
210 rti1516::VariableLengthData const & theUserSuppliedTag,
212 rti1516::LogicalTime const & theTime,
214 throw (rti1516::ObjectInstanceNotKnown, rti1516::FederateInternalError);
217 rti1516::ObjectInstanceHandle theObject,
218 rti1516::VariableLengthData const & theUserSuppliedTag,
220 rti1516::LogicalTime const & theTime,
222 rti1516::MessageRetractionHandle theHandle)
223 throw (rti1516::ObjectInstanceNotKnown, rti1516::InvalidLogicalTime, rti1516::FederateInternalError);
virtual void objectInstanceNameReservationFailed(std::wstring const &theObjectInstanceName)
OrderType
Definition: datatypes.pb.h:472
Data for interacting with the federate ambassador.
Definition: rtiSimpleFedAmb13.h:15
Basic federate ambassador service callback implementation.
Definition: rtiSimpleFedAmb13.h:35
bool nameReservationSucceeded
Definition: rtiSimpleFedAmb1516.h:21
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, const RTI::ParameterHandleValuePairSet &theParameters, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
void clear()
Definition: rtiSimpleFedAmb13.h:27
virtual void objectInstanceNameReservationSucceeded(std::wstring const &theObjectInstanceName)
bool nameReservationReturned
Definition: rtiSimpleFedAmb1516.h:20
virtual void throw(rti1516::InvalidLogicalTime, rti1516::NoRequestToEnableTimeRegulationWasPending, rti1516::FederateInternalError)
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)
std::map< RTI::ObjectHandle, std::string > objectInstanceMap
Definition: rtiSimpleFedAmb13.h:19
virtual void reflectAttributeValues(RTI::ObjectHandle theObject, const RTI::AttributeHandleValuePairSet &theAttributes, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
DtSimpleData & myData
Definition: rtiSimpleFedAmb13.h:98
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
DtSimpleData()
Definition: rtiSimpleFedAmb1516.h:26
std::map< rti1516::ObjectInstanceHandle, std::wstring > objectInstanceMap
Definition: rtiSimpleFedAmb1516.h:24
std::map< RTI::ObjectClassHandle, std::string > objectClassMap
Definition: rtiSimpleFedAmb13.h:18
std::map< rti1516::ObjectClassHandle, std::wstring > objectClassMap
Definition: rtiSimpleFedAmb1516.h:23
virtual ~MyFederateAmbassador()
ULong ObjectClassHandle
Definition: RTItypes13.h:104
MyFederateAmbassador(DtSimpleData &data)