![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: remRegSet.h,v $ $Revision: 1.21 $ $State: Exp $ 00007 *********************************************************************/ 00010 00011 #ifndef DtRemoteRegionSet_H_ 00012 #define DtRemoteRegionSet_H_ 00013 #ifdef DDM 00014 00015 #include "objRegSet.h" 00016 00017 class DtObjectMgr; 00018 class DtRtiObject; 00019 #ifdef DtIFSPEC1516 00020 namespace rti1516 00021 { 00022 class FederateAmbassador; 00023 }; 00024 #elif defined(DtIFSPEC1516E) 00025 namespace rti1516e 00026 { 00027 class FederateAmbassador; 00028 }; 00029 #endif 00030 00031 00032 class DT_DLL_LRC DtRemoteRegionSet : public DtObjectRegionSet 00033 { 00034 public: 00035 00036 DtRemoteRegionSet(); 00037 DtRemoteRegionSet(DtRegionHandle setHandleValue, 00038 DtRegionRealization* regionRealization); 00039 00040 virtual ~DtRemoteRegionSet(); 00041 00043 virtual void addRegion(DtRegionRealization* regionRealization); 00044 00046 virtual void recalculateBoundingRegion(); 00047 00050 virtual void moveAttrToOverlap(const DtObjectRegionSet& remoteRegSet); 00051 virtual void moveAttrToMatching(const DtObjectRegionSet& remoteRegSet); 00052 00055 virtual void discoverObjects(DtObjectMgr* objMgr); 00056 00060 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E) 00061 virtual void evaluateScopeUpdates(DtObjectMgr* objMgr); 00062 #else 00063 virtual void evaluateScopeUpdates(DtObjectMgr* objMgr); 00064 #endif 00065 00069 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E) 00070 virtual void evaluateScopeUpdates(DtRtiObject& object, DtObjectMgr* objMgr); 00071 #else 00072 virtual void evaluateScopeUpdates(DtRtiObject& object, DtObjectMgr* objMgr); 00073 #endif 00074 00078 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E) 00079 virtual void evaluateScopeUpdates(DtRtiObject& object, 00080 const DtAttributeHandleSet& removedAttributes, DtObjectMgr* objMgr); 00081 #else 00082 virtual void evaluateScopeUpdates(DtRtiObject& object, 00083 const DtAttributeHandleSet& removedAttributes, DtObjectMgr* objMgr); 00084 #endif 00085 00090 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E) 00091 virtual void evaluateOutOfScopeUpdates(const DtAttributeHandleSet& attributes, 00092 DtObjectMgr* objMgr); 00093 #else 00094 virtual void evaluateOutOfScopeUpdates(const DtAttributeHandleSet& attributes, 00095 DtObjectMgr* objMgr); 00096 #endif 00097 00098 protected: 00099 00101 DtRemoteRegionSet* self() const; 00102 00103 DtRemoteRegionSet(DtRemoteRegionSet const & rhs); 00104 DtRemoteRegionSet &operator=(DtRemoteRegionSet const & rhs); 00105 }; 00106 00107 inline DtRemoteRegionSet* DtRemoteRegionSet::self() const 00108 { 00109 return (DtRemoteRegionSet*) this; 00110 } 00111 00112 #endif 00113 #endif