MAK Data Logger API Documentation for DIS
lgrDimensionDesc.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef lgrDimensionDesc_H_
7 #define lgrDimensionDesc_H_
8 
10 
11 #if DtHLA
12 
13 #include "lgrSim.h"
14 
15 #include <vlutil/vlString.h>
16 
17 class DtExerciseConn;
18 
19 namespace MAKLogger
20 {
21 
22  class DtLgrSpaceDesc;
23 
25  class DT_DLL_LGRSIM DtLgrDimensionDesc
26  {
27  public:
28 
29  // Constructor 1516(e)
30  DtLgrDimensionDesc(const DtString &name, unsigned long upperBound,
31  unsigned long defaultLowerBound, unsigned long defaultUpperBound,
32  bool excluded, DtExerciseConn *exConn);
33 
34  // Constructor 1.3
35  DtLgrDimensionDesc(const DtString &name, DtLgrSpaceDesc *space, DtExerciseConn* exConn);
36 
37  virtual ~DtLgrDimensionDesc();
38 
39  virtual DtString name() const;
40 
41 
42  // 1516(e) DDM
43  virtual unsigned long upperBound() const;
44  virtual unsigned long defaultLowerBound() const;
45  virtual unsigned long defaultUpperBound() const;
46  virtual bool excluded() const;
47 
48  // 1.3 DDM
49  virtual const DtLgrSpaceDesc *space() const;
50 
51  private:
53  // in principle, dimensions could be copied, but they contain a reference to the
54  // DtExerciseConn, so doing so would be of dubious validity and usefulness
55  DtLgrDimensionDesc(const DtLgrDimensionDesc &from);
57  DtLgrDimensionDesc &operator=(DtLgrDimensionDesc &rhs);
58 
59  protected:
60  DtExerciseConn *myExConn;
61  DtString myName;
62 
63  // 1516(e) DDM
64  unsigned long myUpperBound;
65  unsigned long myDefaultLowerBound;
66  unsigned long myDefaultUpperBound;
67  bool myExcluded;
68 
69  // 1.3 DDM
70  DtLgrSpaceDesc *mySpace;
71  };
72 
73 }
74 
75 #endif
76 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)