MAK Data Logger API Documentation for DIS
lgrSpaceDesc.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef lgrSpaceDesc_H_
7 #define lgrSpaceDesc_H_
8 
10 
11 #if DtHLA
12 #ifndef DtHLA_1516
13 
14 #include "lgrSim.h"
15 
16 #include "vlutil/vlString.h"
17 
18 #include <set>
19 #include <map>
20 #include <list>
21 
22 class DtExerciseConn;
23 
24 namespace MAKLogger
25 {
26 
27  class DtLgrDimensionDesc;
28 
30  class DT_DLL_LGRSIM DtLgrSpaceDesc
31  {
32  public:
33  DtLgrSpaceDesc(const DtString &name, DtExerciseConn* exConn);
34 
35  virtual ~DtLgrSpaceDesc();
36 
37  virtual const char *name() const;
38 
40  // exists in the space.
41  virtual DtLgrDimensionDesc *addDimension(const char *dimName);
42 
43  virtual std::list<const DtLgrDimensionDesc *> dimensions() const;
44 
45  private:
47  // in principle, spaces could be copied, but they contain a reference to the
48  // DtExerciseConn, so doing so would be of dubious validity and usefulness
49  DtLgrSpaceDesc(const DtLgrSpaceDesc &from);
51  DtLgrSpaceDesc &operator=(DtLgrSpaceDesc &rhs);
52 
53  protected:
54  DtExerciseConn *myExConn;
55  DtString myName;
56  std::map<DtString, DtLgrDimensionDesc *> myDimensions;
57  };
58 
59 }
60 
61 #endif
62 #endif
63 #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)