MAK RTIspy API Documentation for HLA Evolved
fixedGridRangeBounds.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fixedGridRangeBounds.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 #ifndef fixedGridRangeBounds_H_
9 #define fixedGridRangeBounds_H_
10 #ifdef DDM
11 
14 
15 #include "rtiMsConfig.h"
16 #include "internalTypes.h"
17 
19 
20 class DT_DLL_LRC DtFixedGridRangeBounds
21 {
22 public:
23 
25  DtFixedGridRangeBounds();
26 
27  DtFixedGridRangeBounds(unsigned long lowerBound, unsigned long upperBound);
28 
29  DtFixedGridRangeBounds(DtFixedGridRangeBounds const & rhs);
30 
32  ~DtFixedGridRangeBounds()
33  throw ();
34 
36  DtFixedGridRangeBounds &operator=(DtFixedGridRangeBounds const & rhs);
37 
39  void setLowerBound(unsigned long lowerBound);
40  unsigned long getLowerBound() const;
41 
43  void setUpperBound(unsigned long upperBound);
44  unsigned long getUpperBound() const;
45 
47  int overlap(DtFixedGridRangeBounds const & rangeBound) const;
48 
49 protected:
50 
51  unsigned long myLowerBound;
52  unsigned long myUpperBound;
53 };
54 
55 inline unsigned long DtFixedGridRangeBounds::getLowerBound() const
56 {
57  return myLowerBound;
58 }
59 
60 inline unsigned long DtFixedGridRangeBounds::getUpperBound() const
61 {
62  return myUpperBound;
63 }
64 
65 #endif
66 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)