00001
00002
00003
00004
00005
00008
00009 #ifndef lgrFedAmb1516_H_
00010 #define lgrFedAmb1516_H_
00011
00012 #if DtHLA
00013 #if DtHLA_1516
00014 #if !DtHLA_1516_EVOLVED
00015
00016 #include "lgrSim.h"
00017
00018 #include <vl/vrlFedAmb1516.h>
00019
00020 namespace MAKLogger
00021 {
00026
00027 class DT_DLL_LGRSIM DtLgrFederateAmbassador : public DtVrlFederateAmbassador
00028 {
00029 public:
00030 DtLgrFederateAmbassador();
00031 virtual ~DtLgrFederateAmbassador() throw();
00032
00033 protected:
00035 DtLgrFederateAmbassador( const DtLgrFederateAmbassador& rhs );
00036
00038 DtLgrFederateAmbassador& operator=( const DtLgrFederateAmbassador& rhs );
00039
00040 public:
00041 virtual void reflectAttributeValues(
00042 RTI::ObjectInstanceHandle theObject,
00043 RTI::AttributeHandleValueMap const & theAttributeValues,
00044 RTI::VariableLengthData const & aTag,
00045 RTI::OrderType sentOrder,
00046 RTI::TransportationType theType)
00047 throw (RTI::ObjectInstanceNotKnown,
00048 RTI::AttributeNotRecognized,
00049 RTI::AttributeNotSubscribed,
00050 RTI::FederateInternalError);
00051
00052 virtual void reflectAttributeValues(
00053 RTI::ObjectInstanceHandle theObject,
00054 RTI::AttributeHandleValueMap const & theAttributeValues,
00055 RTI::VariableLengthData const & aTag,
00056 RTI::OrderType sentOrder,
00057 RTI::TransportationType theType,
00058 RTI::RegionHandleSet const & theSentRegionHandleSet)
00059 throw (RTI::ObjectInstanceNotKnown,
00060 RTI::AttributeNotRecognized,
00061 RTI::AttributeNotSubscribed,
00062 RTI::FederateInternalError);
00063
00064 virtual void reflectAttributeValues(
00065 RTI::ObjectInstanceHandle theObject,
00066 RTI::AttributeHandleValueMap const & theAttributeValues,
00067 RTI::VariableLengthData const & aTag,
00068 RTI::OrderType sentOrder,
00069 RTI::TransportationType theType,
00070 RTI::LogicalTime const & theTime,
00071 RTI::OrderType receivedOrder)
00072 throw (RTI::ObjectInstanceNotKnown,
00073 RTI::AttributeNotRecognized,
00074 RTI::AttributeNotSubscribed,
00075 RTI::FederateInternalError);
00076
00077 virtual void reflectAttributeValues(
00078 RTI::ObjectInstanceHandle theObject,
00079 RTI::AttributeHandleValueMap const & theAttributeValues,
00080 RTI::VariableLengthData const & aTag,
00081 RTI::OrderType sentOrder,
00082 RTI::TransportationType theType,
00083 RTI::LogicalTime const & theTime,
00084 RTI::OrderType receivedOrder,
00085 RTI::RegionHandleSet const & theSentRegionHandleSet)
00086 throw (RTI::ObjectInstanceNotKnown,
00087 RTI::AttributeNotRecognized,
00088 RTI::AttributeNotSubscribed,
00089 RTI::FederateInternalError);
00090
00091 virtual void reflectAttributeValues(
00092 RTI::ObjectInstanceHandle theObject,
00093 RTI::AttributeHandleValueMap const & theAttributeValues,
00094 RTI::VariableLengthData const & aTag,
00095 RTI::OrderType sentOrder,
00096 RTI::TransportationType theType,
00097 RTI::LogicalTime const & theTime,
00098 RTI::OrderType receivedOrder,
00099 RTI::MessageRetractionHandle theHandle)
00100 throw (RTI::ObjectInstanceNotKnown,
00101 RTI::AttributeNotRecognized,
00102 RTI::AttributeNotSubscribed,
00103 RTI::InvalidLogicalTime,
00104 RTI::FederateInternalError);
00105
00106 virtual void reflectAttributeValues(
00107 RTI::ObjectInstanceHandle theObject,
00108 RTI::AttributeHandleValueMap const & theAttributeValues,
00109 RTI::VariableLengthData const & aTag,
00110 RTI::OrderType sentOrder,
00111 RTI::TransportationType theType,
00112 RTI::LogicalTime const & theTime,
00113 RTI::OrderType receivedOrder,
00114 RTI::MessageRetractionHandle theHandle,
00115 RTI::RegionHandleSet const & theSentRegionHandleSet)
00116 throw (RTI::ObjectInstanceNotKnown,
00117 RTI::AttributeNotRecognized,
00118 RTI::AttributeNotSubscribed,
00119 RTI::InvalidLogicalTime,
00120 RTI::FederateInternalError);
00121
00122
00124 virtual void receiveInteraction (
00125 RTI::InteractionClassHandle theInteraction,
00126 RTI::ParameterHandleValueMap const & theParameterValues,
00127 RTI::VariableLengthData const & aTag,
00128 RTI::OrderType sentOrder,
00129 RTI::TransportationType theType)
00130 throw (RTI::InteractionClassNotRecognized,
00131 RTI::InteractionParameterNotRecognized,
00132 RTI::InteractionClassNotSubscribed,
00133 RTI::FederateInternalError);
00134
00135 virtual void receiveInteraction(
00136 RTI::InteractionClassHandle theInteraction,
00137 RTI::ParameterHandleValueMap const & theParameterValues,
00138 RTI::VariableLengthData const & aTag,
00139 RTI::OrderType sentOrder,
00140 RTI::TransportationType theType,
00141 RTI::RegionHandleSet const & theSentRegionHandleSet)
00142 throw (RTI::InteractionClassNotRecognized,
00143 RTI::InteractionParameterNotRecognized,
00144 RTI::InteractionClassNotSubscribed,
00145 RTI::FederateInternalError);
00146
00147 virtual void receiveInteraction(
00148 RTI::InteractionClassHandle theInteraction,
00149 RTI::ParameterHandleValueMap const & theParameterValues,
00150 RTI::VariableLengthData const & aTag,
00151 RTI::OrderType sentOrder,
00152 RTI::TransportationType theType,
00153 RTI::LogicalTime const & theTime,
00154 RTI::OrderType receivedOrder)
00155 throw (RTI::InteractionClassNotRecognized,
00156 RTI::InteractionParameterNotRecognized,
00157 RTI::InteractionClassNotSubscribed,
00158 RTI::FederateInternalError);
00159
00160 virtual void receiveInteraction(
00161 RTI::InteractionClassHandle theInteraction,
00162 RTI::ParameterHandleValueMap const & theParameterValues,
00163 RTI::VariableLengthData const & aTag,
00164 RTI::OrderType sentOrder,
00165 RTI::TransportationType theType,
00166 RTI::LogicalTime const & theTime,
00167 RTI::OrderType receivedOrder,
00168 RTI::RegionHandleSet const & theSentRegionHandleSet)
00169 throw (RTI::InteractionClassNotRecognized,
00170 RTI::InteractionParameterNotRecognized,
00171 RTI::InteractionClassNotSubscribed,
00172 RTI::FederateInternalError);
00173
00174 virtual void receiveInteraction(
00175 RTI::InteractionClassHandle theInteraction,
00176 RTI::ParameterHandleValueMap const & theParameterValues,
00177 RTI::VariableLengthData const & aTag,
00178 RTI::OrderType sentOrder,
00179 RTI::TransportationType theType,
00180 RTI::LogicalTime const & theTime,
00181 RTI::OrderType receivedOrder,
00182 RTI::MessageRetractionHandle theHandle)
00183 throw (RTI::InteractionClassNotRecognized,
00184 RTI::InteractionParameterNotRecognized,
00185 RTI::InteractionClassNotSubscribed,
00186 RTI::InvalidLogicalTime,
00187 RTI::FederateInternalError);
00188
00189 virtual void receiveInteraction (
00190 RTI::InteractionClassHandle theInteraction,
00191 RTI::ParameterHandleValueMap const & theParameterValues,
00192 RTI::VariableLengthData const & aTag,
00193 RTI::OrderType sentOrder,
00194 RTI::TransportationType theType,
00195 RTI::LogicalTime const & theTime,
00196 RTI::OrderType receivedOrder,
00197 RTI::MessageRetractionHandle theHandle,
00198 RTI::RegionHandleSet const & theSentRegionHandleSet)
00199 throw (RTI::InteractionClassNotRecognized,
00200 RTI::InteractionParameterNotRecognized,
00201 RTI::InteractionClassNotSubscribed,
00202 RTI::InvalidLogicalTime,
00203 RTI::FederateInternalError);
00204
00205
00206 virtual const RTI::RegionHandleSet& recentRegionHandleSet();
00207
00208 public:
00209
00211 static DtVrlFederateAmbassador* create();
00212
00213 protected:
00214 RTI::RegionHandleSet myRecentRegionHandleSet;
00215 };
00216 }
00217
00218 #endif //! !DtHLA_1516_EVOLVED
00219 #endif //! DtHLA_1516
00220 #endif //! DtHLA
00221 #endif //! ifndef lgrFedAmb1516_H_
00222