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 
13 #include "lgrSim.h"
14 
15 #include "vlutil/vlString.h"
16 
17 #include <set>
18 #include <map>
19 #include <list>
20 
21 class DtExerciseConn;
22 
23 namespace MAKLogger
24 {
25 
26  class DtLgrDimensionDesc;
27 
29  class DT_DLL_LGRSIM DtLgrSpaceDesc
30  {
31  public:
32  DtLgrSpaceDesc(const DtString &name, DtExerciseConn* exConn);
33 
34  virtual ~DtLgrSpaceDesc();
35 
36  virtual const char *name() const;
37 
39  // exists in the space.
40  virtual DtLgrDimensionDesc *addDimension(const char *dimName);
41 
42  virtual std::list<const DtLgrDimensionDesc *> dimensions() const;
43 
44  private:
46  // in principle, spaces could be copied, but they contain a reference to the
47  // DtExerciseConn, so doing so would be of dubious validity and usefulness
48  DtLgrSpaceDesc(const DtLgrSpaceDesc &from);
50  DtLgrSpaceDesc &operator=(DtLgrSpaceDesc &rhs);
51 
52  protected:
53  DtExerciseConn *myExConn;
54  DtString myName;
55  std::map<DtString, DtLgrDimensionDesc *> myDimensions;
56  };
57 
58 }
59 
60 #endif
61 #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)