10 #pragma warning(disable: 4786)
11 #pragma warning(disable: 4290)
13 #include "NullFederateAmbassador.hh"
83 throw (RTI::FederateInternalError);
86 RTI::ObjectHandle theObject,
87 RTI::ObjectClassHandle theObjectClass,
88 const char* theObjectName)
90 RTI::CouldNotDiscover,
91 RTI::ObjectClassNotKnown,
92 RTI::FederateInternalError);
95 RTI::ObjectHandle theObject,
96 const RTI::AttributeHandleValuePairSet& theAttributes,
97 const RTI::FedTime& theTime,
99 RTI::EventRetractionHandle theHandle)
102 RTI::AttributeNotKnown,
103 RTI::FederateOwnsAttributes,
104 RTI::InvalidFederationTime,
105 RTI::FederateInternalError);
108 RTI::ObjectHandle theObject,
109 const RTI::AttributeHandleValuePairSet& theAttributes,
113 RTI::AttributeNotKnown,
114 RTI::FederateOwnsAttributes,
115 RTI::FederateInternalError);
119 RTI::InteractionClassHandle theInteraction,
120 const RTI::ParameterHandleValuePairSet& theParameters,
121 const RTI::FedTime& theTime,
123 RTI::EventRetractionHandle theHandle)
125 RTI::InteractionClassNotKnown,
126 RTI::InteractionParameterNotKnown,
127 RTI::InvalidFederationTime,
128 RTI::FederateInternalError);
131 RTI::InteractionClassHandle theInteraction,
132 const RTI::ParameterHandleValuePairSet& theParameters,
135 RTI::InteractionClassNotKnown,
136 RTI::InteractionParameterNotKnown,
137 RTI::FederateInternalError);
140 RTI::ObjectHandle theObject,
141 const RTI::FedTime& theTime,
143 RTI::EventRetractionHandle theHandle)
146 RTI::InvalidFederationTime,
147 RTI::FederateInternalError);
150 RTI::ObjectHandle theObject,
154 RTI::FederateInternalError);
157 RTI::ObjectHandle theObject,
161 RTI::AttributeNotKnown,
162 RTI::AttributeNotOwned,
163 RTI::FederateInternalError);
166 const RTI::FedTime& theFederateTime)
168 RTI::InvalidFederationTime,
169 RTI::EnableTimeRegulationWasNotPending,
170 RTI::FederateInternalError);
173 const RTI::FedTime& theFederateTime)
175 RTI::InvalidFederationTime,
176 RTI::EnableTimeConstrainedWasNotPending,
177 RTI::FederateInternalError);
180 const RTI::FedTime& theTime)
182 RTI::InvalidFederationTime,
183 RTI::TimeAdvanceWasNotInProgress,
184 RTI::FederateInternalError);
189 RTI::FederateInternalError);
195 RTI::FederateInternalError);
201 RTI::FederateInternalError);
206 RTI::FederateInternalError);
std::map< std::string, RTI::AttributeHandle > DtAttrNameHandleMap
Definition: simpleDDMSimple13.h:25
std::set< std::string > ourAttrs
Definition: simpleTimeFedAmb13.h:45
std::map< ObjectClassHandle, std::string > objectClassMap
Definition: rtiSimpleFedAmb13dlc.h:33
Basic federate ambassador service callback implementation.
Definition: rtiSimpleFedAmb13.h:35
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
bool isRegulating
Definition: simpleTimeFedAmb13.h:64
DtParamNameHandleMap theParamNameHandleMap
Definition: simpleTimeFedAmb13.h:42
DtAttrNameHandleMap theAttrNameHandleMap
Definition: simpleTimeFedAmb13.h:39
virtual void provideAttributeValueUpdate(RTI::ObjectHandle theObject, const RTI::AttributeHandleSet &theAttributes)
std::map< ObjectHandle, std::string > objectInstanceMap
Definition: rtiSimpleFedAmb13dlc.h:34
RTI::FedTime * time
Definition: simpleTimeFedAmb13.h:66
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, const RTI::ParameterHandleValuePairSet &theParameters, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
bool registerSucceeded
Definition: simpleTimeFedAmb13.h:69
virtual void synchronizationPointRegistrationSucceeded(const char *label)
std::map< InteractionClassHandle, std::string > interactionClassMap
Definition: rtiSimpleFedAmb13dlc.h:35
virtual void synchronizationPointRegistrationFailed(const char *label)
virtual void removeObjectInstance(RTI::ObjectHandle theObject, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
bool timeAdvanced
Definition: simpleTimeFedAmb13.h:65
Definition: simpleTimeTimeManagedEntity.h:32
virtual void reflectAttributeValues(RTI::ObjectHandle theObject, const RTI::AttributeHandleValuePairSet &theAttributes, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
bool isConstrained
Definition: simpleTimeFedAmb13.h:63
DtSimpleData & myData
Definition: rtiSimpleFedAmb13.h:98
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
virtual void timeAdvanceGrant(const RTI::FedTime &theTime)
timeManagedEntity timeManagedObject
Definition: simpleTimeFedAmb13.h:72
bool isMaster
Definition: simpleTimeFedAmb13.h:53
bool announceSyncReceived
Definition: simpleTimeFedAmb13.h:70
int numFederates
Definition: simpleTimeFedAmb13.h:58
Definition: rtiSimpleFedAmb13dlc.h:15
std::map< RTI::ObjectHandle, RTI::AttributeHandleSet * > updateRequestMap
Definition: simpleTimeFedAmb13.h:36
int otherFederatesReady
Definition: simpleTimeFedAmb13.h:67
RTI::ParameterHandleValuePairSet * paramValues
Definition: simpleTimeFedAmb13.h:61
bool registerFailed
Definition: simpleTimeFedAmb13.h:68
virtual ~MyFederateAmbassador()
std::map< std::string, RTI::ParameterHandle > DtParamNameHandleMap
Definition: simpleDDMSimple13.h:27
RTI::AttributeHandleValuePairSet * attrValues
Definition: simpleTimeFedAmb13.h:60
virtual void timeConstrainedEnabled(const RTI::FedTime &theFederateTime)
MyFederateAmbassador(DtSimpleData &data)
virtual void announceSynchronizationPoint(const char *label, const char *tag)
bool federationIsSynchronized
Definition: simpleTimeFedAmb13.h:71
virtual void federationSynchronized(const char *label)
std::set< std::string > ourParms
Definition: simpleTimeFedAmb13.h:48
virtual void timeRegulationEnabled(const RTI::FedTime &theFederateTime)