13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
19 #include <RTI/RTI1516.h>
20 #include <RTI/NullFederateAmbassador.h>
23 using namespace rti1516e;
29 bool myNameReservationReturned;
30 bool myNameReservationSucceeded;
31 std::map<rti1516e::ObjectClassHandle, std::wstring> objectClassMap;
32 std::map<rti1516e::ObjectInstanceHandle, std::wstring> objectInstanceMap;
33 std::map<rti1516e::InteractionClassHandle, std::wstring> interactionClassMap;
40 bool enableScopeAdvisories;
54 virtual
void objectInstanceNameReservationSucceeded (
55 std::wstring const & theObjectInstanceName)
57 FederateInternalError);
59 virtual
void objectInstanceNameReservationFailed (
60 std::wstring const & theObjectInstanceName)
62 FederateInternalError);
66 ObjectInstanceHandle theObject,
68 std::wstring const & theObjectInstanceName)
70 FederateInternalError);
73 ObjectInstanceHandle theObject,
75 std::wstring const & theObjectInstanceName,
78 FederateInternalError);
82 ObjectInstanceHandle theObject,
83 AttributeHandleValueMap const & theAttributeValues,
84 VariableLengthData const & theUserSuppliedTag,
86 TransportationType theType,
87 SupplementalReflectInfo theReflectInfo)
89 FederateInternalError);
92 ObjectInstanceHandle theObject,
93 AttributeHandleValueMap const & theAttributeValues,
94 VariableLengthData const & theUserSuppliedTag,
96 TransportationType theType,
97 LogicalTime const & theTime,
99 SupplementalReflectInfo theReflectInfo)
101 FederateInternalError);
104 ObjectInstanceHandle theObject,
105 AttributeHandleValueMap const & theAttributeValues,
106 VariableLengthData const & theUserSuppliedTag,
108 TransportationType theType,
109 LogicalTime const & theTime,
111 MessageRetractionHandle theHandle,
112 SupplementalReflectInfo theReflectInfo)
114 FederateInternalError);
119 ParameterHandleValueMap const & theParameterValues,
120 VariableLengthData const & theUserSuppliedTag,
122 TransportationType theType,
123 SupplementalReceiveInfo theReceiveInfo)
125 FederateInternalError);
129 ParameterHandleValueMap const & theParameterValues,
130 VariableLengthData const & theUserSuppliedTag,
132 TransportationType theType,
133 LogicalTime const & theTime,
135 SupplementalReceiveInfo theReceiveInfo)
137 FederateInternalError);
141 ParameterHandleValueMap const & theParameterValues,
142 VariableLengthData const & theUserSuppliedTag,
144 TransportationType theType,
145 LogicalTime const & theTime,
147 MessageRetractionHandle theHandle,
148 SupplementalReceiveInfo theReceiveInfo)
150 FederateInternalError);
154 ObjectInstanceHandle theObject,
155 VariableLengthData const & theUserSuppliedTag,
157 SupplementalRemoveInfo theRemoveInfo)
159 FederateInternalError);
162 ObjectInstanceHandle theObject,
163 VariableLengthData const & theUserSuppliedTag,
165 LogicalTime const & theTime,
167 SupplementalRemoveInfo theRemoveInfo)
169 FederateInternalError);
172 ObjectInstanceHandle theObject,
173 VariableLengthData const & theUserSuppliedTag,
175 LogicalTime const & theTime,
177 MessageRetractionHandle theHandle,
178 SupplementalRemoveInfo theRemoveInfo)
180 FederateInternalError);
184 ObjectInstanceHandle theObject,
185 AttributeHandleSet const & theAttributes)
187 FederateInternalError);
191 ObjectInstanceHandle theObject,
192 AttributeHandleSet const & theAttributes)
194 FederateInternalError);
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
Definition: rtiSimpleFedAmb13.h:37
ULong InteractionClassHandle
Definition: RTItypes13.h:106
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
Definition: rtiSimpleFedAmb13.h:13
ULong FederateHandle
Definition: RTItypes13.h:120
virtual Boolean throw(SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted, RTIinternalError)
ULong ObjectClassHandle
Definition: RTItypes13.h:104
OrderingHandle OrderType
Definition: RTItypes13.h:128
Handle AttributeHandle
Definition: RTItypes13.h:112