13 #ifndef MyFederateAmbassador_H_
14 #define MyFederateAmbassador_H_
16 #include "NullFederateAmbassador13.h"
21 using namespace rti13;
27 std::map<ObjectClassHandle, std::string> objectClassMap;
28 std::map<ObjectHandle, std::string> objectInstanceMap;
29 std::map<InteractionClassHandle, std::string> interactionClassMap;
36 bool enableScopeAdvisories;
48 throw (FederateInternalError);
56 ObjectHandle theObject,
57 ObjectClassHandle theObjectClass,
58 const char* theObjectName)
62 FederateInternalError);
65 ObjectHandle theObject,
66 const AttributeHandleValuePairSet& theAttributes,
67 const FedTime& theTime,
69 EventRetractionHandle theHandle)
73 FederateOwnsAttributes,
74 InvalidFederationTime,
75 FederateInternalError);
78 ObjectHandle theObject,
79 const AttributeHandleValuePairSet& theAttributes,
84 FederateOwnsAttributes,
85 FederateInternalError);
89 InteractionClassHandle theInteraction,
90 const ParameterHandleValuePairSet& theParameters,
91 const FedTime& theTime,
93 EventRetractionHandle theHandle)
95 InteractionClassNotKnown,
96 InteractionParameterNotKnown,
97 InvalidFederationTime,
98 FederateInternalError);
101 InteractionClassHandle theInteraction,
102 const ParameterHandleValuePairSet& theParameters,
105 InteractionClassNotKnown,
106 InteractionParameterNotKnown,
107 FederateInternalError);
110 ObjectHandle theObject,
111 const FedTime& theTime,
113 EventRetractionHandle theHandle)
116 InvalidFederationTime,
117 FederateInternalError);
120 ObjectHandle theObject,
124 FederateInternalError);
127 ObjectHandle theObject,
132 FederateInternalError) ;
135 ObjectHandle theObject,
140 FederateInternalError) ;
AttributeHandle myPositionHandle
Definition: simpleDDMFedAmb13dlc.h:30
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
Basic federate ambassador service callback implementation.
Definition: rtiSimpleFedAmb13.h:35
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
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: rtiSimpleFedAmb13dlc.h:15