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 #ifdef DtHLA_1516
29  DtLgrDimensionDesc(const DtString &name, unsigned long upperBound,
30  unsigned long defaultLowerBound, unsigned long defaultUpperBound,
31  bool excluded, DtExerciseConn *exConn);
32 #else
33  DtLgrDimensionDesc(const DtString &name, DtLgrSpaceDesc *space, DtExerciseConn* exConn);
34 #endif
35 
36  virtual ~DtLgrDimensionDesc();
37 
38  virtual DtString name() const;
39 
40 #ifdef DtHLA_1516
41  virtual unsigned long upperBound() const;
42  virtual unsigned long defaultLowerBound() const;
43  virtual unsigned long defaultUpperBound() const;
44  virtual bool excluded() const;
45 #else
46  virtual const DtLgrSpaceDesc *space() const;
47 #endif
48 
49  private:
51  // in principle, dimensions could be copied, but they contain a reference to the
52  // DtExerciseConn, so doing so would be of dubious validity and usefulness
53  DtLgrDimensionDesc(const DtLgrDimensionDesc &from);
55  DtLgrDimensionDesc &operator=(DtLgrDimensionDesc &rhs);
56 
57  protected:
58  DtExerciseConn *myExConn;
59  DtString myName;
60 
61 #ifdef DtHLA_1516
62  unsigned long myUpperBound;
63  unsigned long myDefaultLowerBound;
64  unsigned long myDefaultUpperBound;
65  bool myExcluded;
66 #else
67  DtLgrSpaceDesc *mySpace;
68 #endif
69  };
70 
71 }
72 
73 #endif
74 #endif

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)