MAK RTIspy API Documentation for HLA 1.3
interRegSet.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: interRegSet.h,v $ $Revision: 1.16 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtInteractionRegionSet_H_
12 #define DtInteractionRegionSet_H_
13 #ifdef DDM
14 
15 #include "regionSet.h"
16 #include "regionSetList.h"
17 
19 
20 class DT_DLL_LRC DtInteractionRegionSet : public DtRegionSet
21 {
22 public:
23 
24  DtInteractionRegionSet(DtInteractionClassInfo& classDesc);
25  DtInteractionRegionSet(DtRegionHandle setHandleValue,
26  DtInteractionClassInfo& classDesc, DtRegionRealization* region);
27 
28  virtual ~DtInteractionRegionSet();
29 
31  virtual DtInteractionClassInfo& classDesc();
32 
34  virtual bool inUse();
35 
38  virtual void addPubRegions(const DtInteractionRegionSet& regionSet);
39  virtual void addSubRegions(const DtInteractionRegionSet& regionSet);
40 
42  virtual void addOverlap(DtInteractionRegionSet* regionSet);
43  virtual void removeOverlap(DtRegionHandle regionSetHandle);
44 
46  virtual const DtRegionSetList& overlaps() const;
47 
49  virtual bool isOverlap(DtRegionHandle regionSetHandle);
50 
52  virtual unsigned int overlapCount();
53 
55  virtual void emptyOverlaps();
56 
58  virtual void addRegion(DtRegionRealization* region);
59 
61  virtual void emptyRegions();
62 
64  virtual void recalculateBoundingRegion();
65 
66 protected:
67 
69  DtInteractionRegionSet* self() const;
70 
71  DtInteractionRegionSet(DtInteractionRegionSet const & rhs);
72  DtInteractionRegionSet &operator=(DtInteractionRegionSet const & rhs);
73 
74 protected:
75 
76  DtInteractionClassInfo& myClassDesc;
77  DtRegionSetList myOverlaps;
78 };
79 
80 inline DtInteractionRegionSet* DtInteractionRegionSet::self() const
81 {
82  return (DtInteractionRegionSet*) this;
83 }
84 
85 inline DtInteractionClassInfo& DtInteractionRegionSet::classDesc()
86 {
87  return myClassDesc;
88 }
89 
90 inline const DtRegionSetList& DtInteractionRegionSet::overlaps() const
91 {
92  return myOverlaps;
93 }
94 
95 #endif
96 #endif

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)