![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: locRegSet.h,v $ $Revision: 1.15 $ $State: Exp $ 00007 *********************************************************************/ 00010 00011 #ifndef DtLocalRegionSet_H_ 00012 #define DtLocalRegionSet_H_ 00013 #ifdef DDM 00014 00015 #include "objRegSet.h" 00016 00017 class DtRemoteRegionSet; 00018 00019 class DT_DLL_LRC DtLocalRegionSet : public DtObjectRegionSet 00020 { 00021 public: 00022 00024 DtLocalRegionSet(); 00025 00027 DtLocalRegionSet(DtRegionHandle setHandleValue, DtRegionRealization* region); 00028 00030 virtual ~DtLocalRegionSet(); 00031 00035 virtual bool evaluateMatchingAfterLocalAdd(DtRemoteRegionSet& regSet, 00036 DtObjectClassInfo& classDescOfAdded, 00037 const DtAttributeHandleSet& addedAttrSet) const = 0; 00038 00042 virtual bool evaluateMatchingAfterRemoteAdd(DtRemoteRegionSet& regSet, 00043 DtObjectClassInfo& classDescOfAdded, 00044 const DtAttributeHandleSet& addedAttrSet) const = 0; 00045 00049 virtual void evaluateMatchingAfterLocalRemove( 00050 DtObjectClassInfo& classDescOfRemoved, 00051 const DtAttributeHandleSet& removedAttrSet, 00052 MAKRti::DtList& removeRegSetList); 00053 00058 virtual bool evaluateMatchingAfterRemoteRemove( 00059 DtRemoteRegionSet& regionSet, 00060 DtObjectClassInfo& classDescOfRemoved, 00061 const DtAttributeHandleSet& removedAttrSet); 00062 00063 protected: 00064 00069 virtual bool evaluateMatchingAfterLocalRemove(DtRemoteRegionSet& regSet, 00070 DtObjectClassInfo& classDescOfRemoved, 00071 const DtAttributeHandleSet& removedAttrSet, 00072 const DtAttributeHandleSet& remainingAttrSet)=0; 00073 00078 virtual bool evaluateMatchingAfterRemoteRemove(DtRemoteRegionSet& regSet, 00079 DtObjectClassInfo& classDescOfRemoved, 00080 const DtAttributeHandleSet& removedAttrSet, 00081 const DtAttributeHandleSet& remainingAttrSet)=0; 00082 00083 DtLocalRegionSet(DtLocalRegionSet const & rhs); 00084 DtLocalRegionSet &operator=(DtLocalRegionSet const & rhs); 00085 00086 protected: 00087 00089 DtLocalRegionSet* self() const; 00090 00091 }; 00092 00093 inline DtLocalRegionSet* DtLocalRegionSet::self() const 00094 { 00095 return const_cast<DtLocalRegionSet*>( this ); 00096 } 00097 00098 #endif 00099 #endif