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>
55 std::wstring const& faultDescription)
56 throw (rti1516e::FederateInternalError);
60 rti1516e::FederationExecutionInformationVector const& theFederationExecutionInformationList)
61 throw (rti1516e::FederateInternalError);
65 std::wstring const& theObjectInstanceName)
66 throw (rti1516e::FederateInternalError);
69 std::wstring const& theObjectInstanceName)
70 throw (rti1516e::FederateInternalError);
74 rti1516e::ObjectInstanceHandle theObject,
76 std::wstring const& theObjectInstanceName)
77 throw (rti1516e::FederateInternalError);
80 rti1516e::ObjectInstanceHandle theObject,
82 std::wstring const& theObjectInstanceName,
84 throw (rti1516e::FederateInternalError);
88 rti1516e::ObjectInstanceHandle theObject,
89 rti1516e::AttributeHandleValueMap const& theAttributeValues,
90 rti1516e::VariableLengthData const& theUserSuppliedTag,
93 rti1516e::SupplementalReflectInfo theReflectInfo)
94 throw (rti1516e::FederateInternalError);
97 rti1516e::ObjectInstanceHandle theObject,
98 rti1516e::AttributeHandleValueMap const& theAttributeValues,
99 rti1516e::VariableLengthData const& theUserSuppliedTag,
102 rti1516e::LogicalTime const& theTime,
104 rti1516e::SupplementalReflectInfo theReflectInfo)
105 throw (rti1516e::FederateInternalError);
108 rti1516e::ObjectInstanceHandle theObject,
109 rti1516e::AttributeHandleValueMap const& theAttributeValues,
110 rti1516e::VariableLengthData const& theUserSuppliedTag,
113 rti1516e::LogicalTime const& theTime,
115 rti1516e::MessageRetractionHandle theHandle,
116 rti1516e::SupplementalReflectInfo theReflectInfo)
117 throw (rti1516e::FederateInternalError);
122 rti1516e::ParameterHandleValueMap const& theParameterValues,
123 rti1516e::VariableLengthData const& theUserSuppliedTag,
126 rti1516e::SupplementalReceiveInfo theReceiveInfo)
127 throw (rti1516e::FederateInternalError);
131 rti1516e::ParameterHandleValueMap const& theParameterValues,
132 rti1516e::VariableLengthData const& theUserSuppliedTag,
135 rti1516e::LogicalTime const& theTime,
137 rti1516e::SupplementalReceiveInfo theReceiveInfo)
138 throw (rti1516e::FederateInternalError);
142 rti1516e::ParameterHandleValueMap const& theParameterValues,
143 rti1516e::VariableLengthData const& theUserSuppliedTag,
146 rti1516e::LogicalTime const& theTime,
148 rti1516e::MessageRetractionHandle theHandle,
149 rti1516e::SupplementalReceiveInfo theReceiveInfo)
150 throw (rti1516e::FederateInternalError);
154 rti1516e::ObjectInstanceHandle theObject,
155 rti1516e::VariableLengthData const& theUserSuppliedTag,
157 rti1516e::SupplementalRemoveInfo theRemoveInfo)
158 throw (rti1516e::FederateInternalError);
161 rti1516e::ObjectInstanceHandle theObject,
162 rti1516e::VariableLengthData const& theUserSuppliedTag,
164 rti1516e::LogicalTime const& theTime,
166 rti1516e::SupplementalRemoveInfo theRemoveInfo)
167 throw (rti1516e::FederateInternalError);
170 rti1516e::ObjectInstanceHandle theObject,
171 rti1516e::VariableLengthData const& theUserSuppliedTag,
173 rti1516e::LogicalTime const& theTime,
175 rti1516e::MessageRetractionHandle theHandle,
176 rti1516e::SupplementalRemoveInfo theRemoveInfo)
177 throw (rti1516e::FederateInternalError);
virtual void connectionLost(std::wstring const &faultDescription) override
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 listFederationsReturned
Definition: rtiSimpleFedAmb1516_2025.h:21
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)
std::map< rti1516e::ObjectClassHandle, std::wstring > objectClassMap
Definition: rtiSimpleFedAmb1516e.h:25
virtual void reportFederationExecutions(rti1516_2025::FederationExecutionInformationVector const &theFederationExecutionInformationList) override
DtSimpleData & myData
Definition: rtiSimpleFedAmb13.h:98
bool connectionLost
Definition: rtiSimpleFedAmb1516_2025.h:23
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
DtSimpleData()
Definition: rtiSimpleFedAmb1516e.h:28
std::map< RTI::ObjectClassHandle, std::string > objectClassMap
Definition: rtiSimpleFedAmb13.h:18
std::map< rti1516e::ObjectInstanceHandle, std::wstring > objectInstanceMap
Definition: rtiSimpleFedAmb1516e.h:26
ULong FederateHandle
Definition: RTItypes13.h:120
virtual ~MyFederateAmbassador()
ULong ObjectClassHandle
Definition: RTItypes13.h:104
MyFederateAmbassador(DtSimpleData &data)