6 #pragma warning(disable: 4786)
7 #pragma warning(disable: 4290)
9 #include "NullFederateAmbassador.hh"
44 throw (RTI::FederateInternalError);
54 RTI::UnableToPerformSave,
55 RTI::FederateInternalError);
59 RTI::FederateInternalError);
63 RTI::FederateInternalError);
68 RTI::FederateInternalError);
74 RTI::FederateInternalError);
78 RTI::FederateInternalError);
82 RTI::FederateHandle handle)
84 RTI::SpecifiedSaveLabelDoesNotExist,
86 RTI::FederateInternalError);
90 RTI::FederateInternalError);
94 RTI::FederateInternalError);
102 RTI::ObjectHandle theObject,
103 RTI::ObjectClassHandle theObjectClass,
104 const char* theObjectName)
106 RTI::CouldNotDiscover,
107 RTI::ObjectClassNotKnown,
108 RTI::FederateInternalError);
111 RTI::ObjectHandle theObject,
112 const RTI::AttributeHandleValuePairSet& theAttributes,
113 const RTI::FedTime& theTime,
115 RTI::EventRetractionHandle theHandle)
118 RTI::AttributeNotKnown,
119 RTI::FederateOwnsAttributes,
120 RTI::InvalidFederationTime,
121 RTI::FederateInternalError);
124 RTI::ObjectHandle theObject,
125 const RTI::AttributeHandleValuePairSet& theAttributes,
129 RTI::AttributeNotKnown,
130 RTI::FederateOwnsAttributes,
131 RTI::FederateInternalError);
135 RTI::InteractionClassHandle theInteraction,
136 const RTI::ParameterHandleValuePairSet& theParameters,
137 const RTI::FedTime& theTime,
139 RTI::EventRetractionHandle theHandle)
141 RTI::InteractionClassNotKnown,
142 RTI::InteractionParameterNotKnown,
143 RTI::InvalidFederationTime,
144 RTI::FederateInternalError);
147 RTI::InteractionClassHandle theInteraction,
148 const RTI::ParameterHandleValuePairSet& theParameters,
151 RTI::InteractionClassNotKnown,
152 RTI::InteractionParameterNotKnown,
153 RTI::FederateInternalError);
156 RTI::ObjectHandle theObject,
157 const RTI::FedTime& theTime,
159 RTI::EventRetractionHandle theHandle)
162 RTI::InvalidFederationTime,
163 RTI::FederateInternalError);
166 RTI::ObjectHandle theObject,
170 RTI::FederateInternalError);
Definition: rtiSimpleFedAmb13.h:37
bool myReceivedFederationSaved
Definition: rtiSimpleFedAmb13.h:17
MyFederateAmbassador(DtTalkAmbData &data)
std::map< RTI::ObjectHandle, std::string > objectInstanceMap
Definition: rtiSimpleFedAmb13.h:32
virtual void initiateFederateSave(const char *label)
bool myReceivedFederationRestoreBegun
Definition: rtiSimpleFedAmb13.h:23
virtual void requestFederationRestoreSucceeded(const char *label)
bool myReceivedRequestFederationRestoreFailed
Definition: rtiSimpleFedAmb13.h:22
virtual void receiveInteraction(RTI::InteractionClassHandle theInteraction, const RTI::ParameterHandleValuePairSet &theParameters, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
virtual void removeObjectInstance(RTI::ObjectHandle theObject, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
virtual void federationRestoreBegun()
virtual void reflectAttributeValues(RTI::ObjectHandle theObject, const RTI::AttributeHandleValuePairSet &theAttributes, const RTI::FedTime &theTime, const char *theTag, RTI::EventRetractionHandle theHandle)
std::string myRestoreFailureReason
Definition: rtiSimpleFedAmb13.h:29
std::string mySaveLabel
Definition: rtiSimpleFedAmb13.h:19
bool myReceivedInitiateFederateSave
Definition: rtiSimpleFedAmb13.h:16
DtTalkAmbData & myData
Definition: rtiSimpleFedAmb13.h:174
std::string myRestoreLabel
Definition: rtiSimpleFedAmb13.h:27
virtual void initiateFederateRestore(const char *label, RTI::FederateHandle handle)
virtual void federationNotRestored()
virtual void discoverObjectInstance(RTI::ObjectHandle theObject, RTI::ObjectClassHandle theObjectClass, const char *theObjectName)
virtual void federationRestored()
bool myReceivedFederationRestored
Definition: rtiSimpleFedAmb13.h:25
virtual void federationNotSaved()
Definition: rtiSimpleFedAmb13.h:13
RTI::FederateHandle myRestoreFederateHandle
Definition: rtiSimpleFedAmb13.h:28
bool myReceivedFederationNotRestored
Definition: rtiSimpleFedAmb13.h:26
bool myReceivedFederationNotSaved
Definition: rtiSimpleFedAmb13.h:18
virtual void federationSaved()
bool myReceivedRequestFederationRestoreSucceeded
Definition: rtiSimpleFedAmb13.h:21
std::map< RTI::InteractionClassHandle, std::string > interactionClassMap
Definition: rtiSimpleFedAmb13.h:33
virtual ~MyFederateAmbassador()
virtual void requestFederationRestoreFailed(const char *label, const char *reason)
std::map< RTI::ObjectClassHandle, std::string > objectClassMap
Definition: rtiSimpleFedAmb13.h:31
bool myReceivedInitiateFederateRestore
Definition: rtiSimpleFedAmb13.h:24