MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pubRegSet.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: pubRegSet.h,v $ $Revision: 1.16 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtPubRegionSet_H_
12 #define DtPubRegionSet_H_
13 #ifdef DDM
14 
15 #include "locRegSet.h"
16 
17 class DtRegionEntryList;
18 
19 class DT_DLL_LRC DtPubRegionSet : public DtLocalRegionSet
20 {
21 public:
22 
24  DtPubRegionSet();
25 
27  DtPubRegionSet(DtRegionHandle setHandleValue, DtRegionRealization* region);
28 
30  DtPubRegionSet(DtRegionHandle setHandleValue, DtRegionEntryList& regionList);
31 
33  virtual ~DtPubRegionSet();
34 
37  virtual void addRegions(const DtRegionEntryList& regionList);
38 
42  virtual bool evaluateMatchingAfterLocalAdd(DtRemoteRegionSet& regSet,
43  DtObjectClassInfo& pubClassDesc,
44  const DtAttributeHandleSet& pubAttrSet) const;
45 
49  virtual bool evaluateMatchingAfterRemoteAdd(DtRemoteRegionSet& regSet,
50  DtObjectClassInfo& subClassDesc,
51  const DtAttributeHandleSet& subAttrSet) const;
52 
53 
56  virtual void moveAttrToOverlap(const DtObjectRegionSet& remoteRegSet);
57  virtual void moveAttrToMatching(const DtObjectRegionSet& remoteRegSet);
58 
59 protected:
60 
61 
65  virtual bool evaluateMatchingAfterAdd(
66  DtRegionHandle remoteSubRegionSetHandle,
67  DtObjectClassInfo& pubClassDesc,
68  DtObjectClassInfo& subClassDesc,
69  DtAttributeHandleSet const& pubAttrs,
70  DtAttributeHandleSet const& subAttrs) const;
71 
76  virtual bool evaluateMatchingAfterLocalRemove(
77  DtRemoteRegionSet& remoteSubRegionSet,
78  DtObjectClassInfo& pubClassDescOfRemoved,
79  const DtAttributeHandleSet& removedAttrSet,
80  const DtAttributeHandleSet& remainingAttrSet);
81 
86  virtual bool evaluateMatchingAfterRemoteRemove(
87  DtRemoteRegionSet& remoteSubRegionSet,
88  DtObjectClassInfo& subClassDescOfRemoved,
89  const DtAttributeHandleSet& removedAttrSet,
90  const DtAttributeHandleSet& remainingAttrSet);
91 
93  DtPubRegionSet* self() const;
94 
95  DtPubRegionSet(DtPubRegionSet const & rhs);
96  DtPubRegionSet &operator=(DtPubRegionSet const & rhs);
97 };
98 
99 inline DtPubRegionSet* DtPubRegionSet::self() const
100 {
101  return const_cast<DtPubRegionSet*>( this );
102 }
103 
104 
105 #endif
106 #endif

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)