Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef lgrFedAmb13_H_
00010 #define lgrFedAmb13_H_
00011
00012 #if DtHLA
00013 #if !DtHLA_1516
00014
00015 #include "lgrSim.h"
00016
00017 #include <vl/vrlFedAmb13.h>
00018
00019 namespace MAKLogger
00020 {
00024
00025 class DT_DLL_LGRSIM DtLgrFederateAmbassador : public DtVrlFederateAmbassador
00026 {
00027 public:
00028 DtLgrFederateAmbassador();
00029 virtual ~DtLgrFederateAmbassador() throw();
00030
00031 protected:
00033 DtLgrFederateAmbassador( const DtLgrFederateAmbassador& rhs );
00034
00036 DtLgrFederateAmbassador& operator=( const DtLgrFederateAmbassador& rhs );
00037
00038 public:
00039 virtual void reflectAttributeValues(
00040 RTI::ObjectHandle theObject,
00041 const RTI::AttributeHandleValuePairSet& theAttributes,
00042 const RTI::FedTime& theTime,
00043 const char* theTag,
00044 RTI::EventRetractionHandle theHandle )
00045 throw( RTI::ObjectNotKnown,
00046 RTI::AttributeNotKnown,
00047 RTI::FederateOwnsAttributes,
00048 RTI::InvalidFederationTime,
00049 RTI::FederateInternalError );
00050
00051 virtual void reflectAttributeValues(
00052 RTI::ObjectHandle theObject,
00053 const RTI::AttributeHandleValuePairSet& theAttributes,
00054 const char* theTag )
00055 throw( RTI::ObjectNotKnown,
00056 RTI::AttributeNotKnown,
00057 RTI::FederateOwnsAttributes,
00058 RTI::FederateInternalError);
00059
00060 virtual void receiveInteraction(
00061 RTI::InteractionClassHandle theInteraction,
00062 const RTI::ParameterHandleValuePairSet& theParameters,
00063 const RTI::FedTime& theTime,
00064 const char* theTag,
00065 RTI::EventRetractionHandle theHandle )
00066 throw( RTI::InteractionClassNotKnown,
00067 RTI::InteractionParameterNotKnown,
00068 RTI::InvalidFederationTime,
00069 RTI::FederateInternalError );
00070
00071 virtual void receiveInteraction(
00072 RTI::InteractionClassHandle theInteraction,
00073 const RTI::ParameterHandleValuePairSet& theParameters,
00074 const char* theTag )
00075 throw( RTI::InteractionClassNotKnown,
00076 RTI::InteractionParameterNotKnown,
00077 RTI::FederateInternalError );
00078
00079 virtual const RTI::Region* recentRegion();
00080
00081 public:
00082
00084 static DtVrlFederateAmbassador* create();
00085
00086 protected:
00087 RTI::Region* myRecentRegion;
00088 };
00089 }
00090
00091 #endif //! ifndef lgrFedAmb13_H_
00092 #endif
00093 #endif
00094