lgrDimensionDesc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 #ifndef lgrDimensionDesc_H_
00007 #define lgrDimensionDesc_H_
00008 
00010 
00011 #if DtHLA
00012 
00013 #include "lgrSim.h"
00014 
00015 #include <vlutil/vlString.h>
00016 
00017 class DtExerciseConn;
00018 
00019 namespace MAKLogger
00020 {
00021 
00022    class DtLgrSpaceDesc;
00023 
00025    class DT_DLL_LGRSIM DtLgrDimensionDesc
00026    {
00027    public:
00028 #ifdef DtHLA_1516
00029       DtLgrDimensionDesc(const DtString &name, unsigned long upperBound,
00030          unsigned long defaultLowerBound, unsigned long defaultUpperBound,
00031          bool excluded, DtExerciseConn *exConn);
00032 #else
00033       DtLgrDimensionDesc(const DtString &name, DtLgrSpaceDesc *space, DtExerciseConn* exConn);
00034 #endif
00035       
00036       virtual ~DtLgrDimensionDesc();
00037 
00038       virtual DtString name() const;
00039 
00040 #ifdef DtHLA_1516
00041       virtual unsigned long upperBound() const;
00042       virtual unsigned long defaultLowerBound() const;
00043       virtual unsigned long defaultUpperBound() const;
00044       virtual bool excluded() const;
00045 #else
00046       virtual const DtLgrSpaceDesc *space() const;
00047 #endif
00048 
00049    private:
00051       //  in principle, dimensions could be copied, but they contain a reference to the
00052       //  DtExerciseConn, so doing so would be of dubious validity and usefulness
00053       DtLgrDimensionDesc(const DtLgrDimensionDesc &from);
00055       DtLgrDimensionDesc &operator=(DtLgrDimensionDesc &rhs);
00056 
00057    protected:
00058       DtExerciseConn *myExConn;
00059       DtString myName;
00060 
00061 #ifdef DtHLA_1516
00062       unsigned long myUpperBound;
00063       unsigned long myDefaultLowerBound;
00064       unsigned long myDefaultUpperBound;
00065       bool myExcluded;
00066 #else
00067       DtLgrSpaceDesc *mySpace;
00068 #endif
00069    };
00070 
00071 }
00072 
00073 #endif
00074 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)