![]() |
MAK RTIspy API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: fixedGridRangeBounds.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef fixedGridRangeBounds_H_ 00009 #define fixedGridRangeBounds_H_ 00010 #ifdef DDM 00011 00014 00015 #include "rtiMsConfig.h" 00016 #include "internalTypes.h" 00017 00019 00020 class DT_DLL_LRC DtFixedGridRangeBounds 00021 { 00022 public: 00023 00025 DtFixedGridRangeBounds(); 00026 00027 DtFixedGridRangeBounds(unsigned long lowerBound, unsigned long upperBound); 00028 00029 DtFixedGridRangeBounds(DtFixedGridRangeBounds const & rhs); 00030 00032 ~DtFixedGridRangeBounds() 00033 throw (); 00034 00036 DtFixedGridRangeBounds &operator=(DtFixedGridRangeBounds const & rhs); 00037 00039 void setLowerBound(unsigned long lowerBound); 00040 unsigned long getLowerBound() const; 00041 00043 void setUpperBound(unsigned long upperBound); 00044 unsigned long getUpperBound() const; 00045 00047 int overlap(DtFixedGridRangeBounds const & rangeBound) const; 00048 00049 protected: 00050 00051 unsigned long myLowerBound; 00052 unsigned long myUpperBound; 00053 }; 00054 00055 inline unsigned long DtFixedGridRangeBounds::getLowerBound() const 00056 { 00057 return myLowerBound; 00058 } 00059 00060 inline unsigned long DtFixedGridRangeBounds::getUpperBound() const 00061 { 00062 return myUpperBound; 00063 } 00064 00065 #endif 00066 #endif