lgrSpaceDesc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 #ifndef lgrSpaceDesc_H_
00007 #define lgrSpaceDesc_H_
00008 
00010 
00011 #if DtHLA
00012 #ifndef DtHLA_1516
00013 
00014 #include "lgrSim.h"
00015 
00016 #include "vlutil/vlString.h"
00017 
00018 #include <set>
00019 #include <map>
00020 #include <list>
00021 
00022 class DtExerciseConn;
00023 
00024 namespace MAKLogger
00025 {
00026 
00027    class DtLgrDimensionDesc;
00028 
00030    class DT_DLL_LGRSIM DtLgrSpaceDesc
00031    {
00032    public:
00033       DtLgrSpaceDesc(const DtString &name, DtExerciseConn* exConn);
00034       
00035       virtual ~DtLgrSpaceDesc();
00036 
00037       virtual const char *name() const;
00038 
00040       //  exists in the space.
00041       virtual DtLgrDimensionDesc *addDimension(const char *dimName);
00042 
00043       virtual std::list<const DtLgrDimensionDesc *> dimensions() const;
00044 
00045    private:
00047       //  in principle, spaces could be copied, but they contain a reference to the
00048       //  DtExerciseConn, so doing so would be of dubious validity and usefulness
00049       DtLgrSpaceDesc(const DtLgrSpaceDesc &from);
00051       DtLgrSpaceDesc &operator=(DtLgrSpaceDesc &rhs);
00052 
00053    protected:
00054       DtExerciseConn *myExConn;
00055       DtString myName;
00056       std::map<DtString, DtLgrDimensionDesc *> myDimensions;
00057    };
00058 
00059 }
00060 
00061 #endif
00062 #endif
00063 #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)