13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
19 #include <RTI/RTI1516.h>
20 #include <RTI/NullFederateAmbassador.h>
29 std::map<rti1516e::ObjectClassHandle, std::wstring>
objectClassMap;
53 std::wstring const & theObjectInstanceName)
55 rti1516e::FederateInternalError);
58 std::wstring const & theObjectInstanceName)
60 rti1516e::FederateInternalError);
64 rti1516e::ObjectInstanceHandle theObject,
66 std::wstring const & theObjectInstanceName)
68 rti1516e::FederateInternalError);
71 rti1516e::ObjectInstanceHandle theObject,
73 std::wstring const & theObjectInstanceName,
76 rti1516e::FederateInternalError);
80 rti1516e::ObjectInstanceHandle theObject,
81 rti1516e::AttributeHandleValueMap const & theAttributeValues,
82 rti1516e::VariableLengthData const & theUserSuppliedTag,
85 rti1516e::SupplementalReflectInfo theReflectInfo)
87 rti1516e::FederateInternalError);
90 rti1516e::ObjectInstanceHandle theObject,
91 rti1516e::AttributeHandleValueMap const & theAttributeValues,
92 rti1516e::VariableLengthData const & theUserSuppliedTag,
95 rti1516e::LogicalTime const & theTime,
97 rti1516e::SupplementalReflectInfo theReflectInfo)
99 rti1516e::FederateInternalError);
102 rti1516e::ObjectInstanceHandle theObject,
103 rti1516e::AttributeHandleValueMap const & theAttributeValues,
104 rti1516e::VariableLengthData const & theUserSuppliedTag,
107 rti1516e::LogicalTime const & theTime,
109 rti1516e::MessageRetractionHandle theHandle,
110 rti1516e::SupplementalReflectInfo theReflectInfo)
112 rti1516e::FederateInternalError);
117 rti1516e::ParameterHandleValueMap const & theParameterValues,
118 rti1516e::VariableLengthData const & theUserSuppliedTag,
121 rti1516e::SupplementalReceiveInfo theReceiveInfo)
123 rti1516e::FederateInternalError);
127 rti1516e::ParameterHandleValueMap const & theParameterValues,
128 rti1516e::VariableLengthData const & theUserSuppliedTag,
131 rti1516e::LogicalTime const & theTime,
133 rti1516e::SupplementalReceiveInfo theReceiveInfo)
135 rti1516e::FederateInternalError);
139 rti1516e::ParameterHandleValueMap const & theParameterValues,
140 rti1516e::VariableLengthData const & theUserSuppliedTag,
143 rti1516e::LogicalTime const & theTime,
145 rti1516e::MessageRetractionHandle theHandle,
146 rti1516e::SupplementalReceiveInfo theReceiveInfo)
148 rti1516e::FederateInternalError);
152 rti1516e::ObjectInstanceHandle theObject,
153 rti1516e::VariableLengthData const & theUserSuppliedTag,
155 rti1516e::SupplementalRemoveInfo theRemoveInfo)
157 rti1516e::FederateInternalError);
160 rti1516e::ObjectInstanceHandle theObject,
161 rti1516e::VariableLengthData const & theUserSuppliedTag,
163 rti1516e::LogicalTime const & theTime,
165 rti1516e::SupplementalRemoveInfo theRemoveInfo)
167 rti1516e::FederateInternalError);
170 rti1516e::ObjectInstanceHandle theObject,
171 rti1516e::VariableLengthData const & theUserSuppliedTag,
173 rti1516e::LogicalTime const & theTime,
175 rti1516e::MessageRetractionHandle theHandle,
176 rti1516e::SupplementalRemoveInfo theRemoveInfo)
178 rti1516e::FederateInternalError);
182 rti1516e::ObjectInstanceHandle theObject,
183 rti1516e::AttributeHandleSet const & theAttributes)
185 rti1516e::FederateInternalError);
189 rti1516e::ObjectInstanceHandle theObject,
190 rti1516e::AttributeHandleSet const & theAttributes)
192 rti1516e::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)
std::map< ObjectClassHandle, std::string > objectClassMap
Definition: rtiSimpleFedAmb13dlc.h:33
int upperSend
Definition: simpleDDMFedAmb13.h:34
Basic federate ambassador service callback implementation.
Definition: rtiSimpleFedAmb13.h:35
std::map< ObjectHandle, std::string > objectInstanceMap
Definition: rtiSimpleFedAmb13dlc.h:34
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)
std::map< InteractionClassHandle, std::string > interactionClassMap
Definition: rtiSimpleFedAmb13dlc.h:35
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)
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
RTI::AttributeHandle myPositionHandle
Definition: simpleDDMFedAmb13.h:29
DtSimpleData & myData
Definition: rtiSimpleFedAmb13.h:98
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
int lowerSend
Definition: simpleDDMFedAmb13.h:33
Definition: rtiSimpleFedAmb13dlc.h:15
virtual void attributesOutOfScope(RTI::ObjectHandle theObject, const RTI::AttributeHandleSet &theAttributes)
bool isPublisher
Definition: simpleDDMFedAmb13.h:36
ULong FederateHandle
Definition: RTItypes13.h:120
int upperListen
Definition: simpleDDMFedAmb13.h:32
virtual ~MyFederateAmbassador()
bool myNameReservationSucceeded
Definition: simpleDDMFedAmb1516.h:28
ULong ObjectClassHandle
Definition: RTItypes13.h:104
MyFederateAmbassador(DtSimpleData &data)
bool myNameReservationReturned
Definition: simpleDDMFedAmb1516.h:27
Handle AttributeHandle
Definition: RTItypes13.h:112