![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1998 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** RCSfile: objMgr.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtTsoEventFedAmb_H_ 00013 #define DtTsoEventFedAmb_H_ 00014 00015 #ifdef DtTIME 00016 00017 #ifdef DtIFSPEC1516 00018 #include "fedAmbWrap1516.h" 00019 #elif defined(DtIFSPEC1516E) 00020 #include "fedAmbWrap1516e.h" 00021 #else 00022 #include "fedAmbWrap.h" 00023 #endif 00024 #include "timeMgr.h" 00025 00026 class DtTimeMgr; 00027 00030 00031 #ifdef DtIFSPEC1516 00032 00033 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper 00034 { 00035 public: 00036 DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr); 00037 00038 virtual ~DtTsoEventFedAmb() throw ( ); 00039 00040 protected: 00041 00042 DtTimeMgr* myTimeMgr; 00043 00044 public: 00045 00047 00048 virtual 00049 void 00050 reflectAttributeValues 00051 (rti1516::ObjectInstanceHandle theObject, 00052 rti1516::AttributeHandleValueMap const & theAttributeValues, 00053 rti1516::VariableLengthData const & theUserSuppliedTag, 00054 rti1516::OrderType sentOrder, 00055 rti1516::TransportationType theType, 00056 rti1516::LogicalTime const & theTime, 00057 rti1516::OrderType receivedOrder, 00058 rti1516::MessageRetractionHandle theHandle) 00059 throw (rti1516::ObjectInstanceNotKnown, 00060 rti1516::AttributeNotRecognized, 00061 rti1516::AttributeNotSubscribed, 00062 rti1516::InvalidLogicalTime, 00063 rti1516::FederateInternalError); 00064 00065 virtual 00066 void 00067 reflectAttributeValues 00068 (rti1516::ObjectInstanceHandle theObject, 00069 rti1516::AttributeHandleValueMap const & theAttributeValues, 00070 rti1516::VariableLengthData const & theUserSuppliedTag, 00071 rti1516::OrderType sentOrder, 00072 rti1516::TransportationType theType, 00073 rti1516::LogicalTime const & theTime, 00074 rti1516::OrderType receivedOrder, 00075 rti1516::MessageRetractionHandle theHandle, 00076 rti1516::RegionHandleSet const & theSentRegionHandleSet) 00077 throw (rti1516::ObjectInstanceNotKnown, 00078 rti1516::AttributeNotRecognized, 00079 rti1516::AttributeNotSubscribed, 00080 rti1516::InvalidLogicalTime, 00081 rti1516::FederateInternalError); 00082 00084 00085 virtual 00086 void 00087 receiveInteraction 00088 (rti1516::InteractionClassHandle theInteraction, 00089 rti1516::ParameterHandleValueMap const & theParameterValues, 00090 rti1516::VariableLengthData const & theUserSuppliedTag, 00091 rti1516::OrderType sentOrder, 00092 rti1516::TransportationType theType, 00093 rti1516::LogicalTime const & theTime, 00094 rti1516::OrderType receivedOrder, 00095 rti1516::MessageRetractionHandle theHandle) 00096 throw (rti1516::InteractionClassNotRecognized, 00097 rti1516::InteractionParameterNotRecognized, 00098 rti1516::InteractionClassNotSubscribed, 00099 rti1516::InvalidLogicalTime, 00100 rti1516::FederateInternalError); 00101 00102 virtual 00103 void 00104 receiveInteraction 00105 (rti1516::InteractionClassHandle theInteraction, 00106 rti1516::ParameterHandleValueMap const & theParameterValues, 00107 rti1516::VariableLengthData const & theUserSuppliedTag, 00108 rti1516::OrderType sentOrder, 00109 rti1516::TransportationType theType, 00110 rti1516::LogicalTime const & theTime, 00111 rti1516::OrderType receivedOrder, 00112 rti1516::MessageRetractionHandle theHandle, 00113 rti1516::RegionHandleSet const & theSentRegionHandleSet) 00114 throw (rti1516::InteractionClassNotRecognized, 00115 rti1516::InteractionParameterNotRecognized, 00116 rti1516::InteractionClassNotSubscribed, 00117 rti1516::InvalidLogicalTime, 00118 rti1516::FederateInternalError); 00119 00121 00122 virtual 00123 void 00124 removeObjectInstance(rti1516::ObjectInstanceHandle theObject, 00125 rti1516::VariableLengthData const & theUserSuppliedTag, 00126 rti1516::OrderType sentOrder, 00127 rti1516::LogicalTime const & theTime, 00128 rti1516::OrderType receivedOrder, 00129 rti1516::MessageRetractionHandle theHandle) 00130 throw (rti1516::ObjectInstanceNotKnown, 00131 rti1516::InvalidLogicalTime, 00132 rti1516::FederateInternalError); 00133 00134 00135 }; 00136 00137 #elif defined(DtIFSPEC1516E) 00138 00139 00140 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper 00141 { 00142 public: 00143 DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr); 00144 00145 virtual ~DtTsoEventFedAmb() throw ( ); 00146 00147 virtual void reflectAttributeValues ( 00148 ObjectInstanceHandle theObject, 00149 AttributeHandleValueMap const & theAttributeValues, 00150 VariableLengthData const & theUserSuppliedTag, 00151 OrderType sentOrder, 00152 TransportationType theType, 00153 LogicalTime const & theTime, 00154 OrderType receivedOrder, 00155 SupplementalReflectInfo theReflectInfo) 00156 throw (FederateInternalError); 00157 00158 virtual void reflectAttributeValues ( 00159 ObjectInstanceHandle theObject, 00160 AttributeHandleValueMap const & theAttributeValues, 00161 VariableLengthData const & theUserSuppliedTag, 00162 OrderType sentOrder, 00163 TransportationType theType, 00164 LogicalTime const & theTime, 00165 OrderType receivedOrder, 00166 MessageRetractionHandle theHandle, 00167 SupplementalReflectInfo theReflectInfo) 00168 throw (FederateInternalError); 00169 00170 virtual void receiveInteraction ( 00171 InteractionClassHandle theInteraction, 00172 ParameterHandleValueMap const & theParameterValues, 00173 VariableLengthData const & theUserSuppliedTag, 00174 OrderType sentOrder, 00175 TransportationType theType, 00176 LogicalTime const & theTime, 00177 OrderType receivedOrder, 00178 SupplementalReceiveInfo theReceiveInfo) 00179 throw (FederateInternalError); 00180 00181 virtual void receiveInteraction ( 00182 InteractionClassHandle theInteraction, 00183 ParameterHandleValueMap const & theParameterValues, 00184 VariableLengthData const & theUserSuppliedTag, 00185 OrderType sentOrder, 00186 TransportationType theType, 00187 LogicalTime const & theTime, 00188 OrderType receivedOrder, 00189 MessageRetractionHandle theHandle, 00190 SupplementalReceiveInfo theReceiveInfo) 00191 throw (FederateInternalError); 00192 00193 virtual void removeObjectInstance ( 00194 ObjectInstanceHandle theObject, 00195 VariableLengthData const & theUserSuppliedTag, 00196 OrderType sentOrder, 00197 LogicalTime const & theTime, 00198 OrderType receivedOrder, 00199 SupplementalRemoveInfo theRemoveInfo) 00200 throw (FederateInternalError); 00201 00202 virtual void removeObjectInstance ( 00203 ObjectInstanceHandle theObject, 00204 VariableLengthData const & theUserSuppliedTag, 00205 OrderType sentOrder, 00206 LogicalTime const & theTime, 00207 OrderType receivedOrder, 00208 MessageRetractionHandle theHandle, 00209 SupplementalRemoveInfo theRemoveInfo) 00210 throw (FederateInternalError); 00211 00212 protected: 00213 00214 DtTimeMgr* myTimeMgr; 00215 00216 public: 00217 00218 00219 00220 00221 }; 00222 00223 00224 #else 00225 00226 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper 00227 { 00228 public: 00229 DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr); 00230 00231 virtual ~DtTsoEventFedAmb() throw (RTI::FederateInternalError); 00232 00233 protected: 00234 00235 DtTimeMgr* myTimeMgr; 00236 00237 public: 00238 00239 virtual void reflectAttributeValues ( 00240 RTI::ObjectHandle theObject, 00241 const RTI::AttributeHandleValuePairSet& theAttributes, 00242 const RTI::FedTime& theTime, 00243 const char *theTag, 00244 RTI::EventRetractionHandle theHandle) 00245 throw ( 00246 RTI::ObjectNotKnown, 00247 RTI::AttributeNotKnown, 00248 RTI::FederateOwnsAttributes, 00249 RTI::InvalidFederationTime, 00250 RTI::FederateInternalError); 00251 00253 virtual void receiveInteraction ( 00254 RTI::InteractionClassHandle theInteraction, 00255 const RTI::ParameterHandleValuePairSet& theParameters, 00256 const RTI::FedTime& theTime, 00257 const char *theTag, 00258 RTI::EventRetractionHandle theHandle) 00259 throw ( 00260 RTI::InteractionClassNotKnown, 00261 RTI::InteractionParameterNotKnown, 00262 RTI::InvalidFederationTime, 00263 RTI::FederateInternalError); 00264 00265 virtual void removeObjectInstance ( 00266 RTI::ObjectHandle theObject, 00267 const RTI::FedTime& theTime, 00268 const char *theTag, 00269 RTI::EventRetractionHandle theHandle) 00270 throw ( 00271 RTI::ObjectNotKnown, 00272 RTI::InvalidFederationTime, 00273 RTI::FederateInternalError); 00274 00275 }; 00276 00277 #endif //! DtIFSPEC1516 00278 #endif //! DtTIME 00279 #endif //! DtTsoEventFedAmb_H_