00001 // ---------------------------------------------------------------------------- 00002 // CERTI - HLA RunTime Infrastructure 00003 // Copyright (C) 2003-2005 ONERA 00004 // 00005 // This file is part of CERTI-libCERTI 00006 // 00007 // CERTI-libCERTI is free software ; you can redistribute it and/or 00008 // modify it under the terms of the GNU Lesser General Public License 00009 // as published by the Free Software Foundation ; either version 2 of 00010 // the License, or (at your option) any later version. 00011 // 00012 // CERTI-libCERTI is distributed in the hope that it will be useful, but 00013 // WITHOUT ANY WARRANTY ; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with this program ; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00020 // USA 00021 // 00022 // $Id: Dimension.hh,v 3.9 2007/10/31 10:30:20 erk Exp $ 00023 // ---------------------------------------------------------------------------- 00024 00025 #ifndef _CERTI_DIMENSION_HH 00026 #define _CERTI_DIMENSION_HH 00027 00028 // CERTI headers 00029 #include "certi.hh" 00030 #include "Named.hh" 00031 #include "Handled.hh" 00032 00033 namespace certi { 00034 00039 class Dimension : public Named, public Handled<DimensionHandle> 00040 { 00041 public: 00051 Dimension(DimensionHandle dimensionHandle); 00052 00057 static void setLowerBound(ULong lowerBound); 00058 00063 static void setUpperBound(ULong upperBound); 00064 00069 static ULong getLowerBound() { return axisLowerBound ; } 00070 00075 static ULong getUpperBound() { return axisUpperBound ; } 00076 00077 private: 00078 static ULong axisLowerBound ; 00079 static ULong axisUpperBound ; 00080 }; 00081 00082 } // namespace certi 00083 00084 #endif 00085 00086 // $Id: Dimension.hh,v 3.9 2007/10/31 10:30:20 erk Exp $