VR-Forces 4.1 Class Documentation
systemParameterData.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: systemParameterData.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef systemParameterData_h
15 #define systemParameterData_h
16 
18 #include "vrfutil/rdrWritr.h"
19 #include "vrfutil/rwString.h"
21 
22 #include <memory>
23 
25 
28 
33 {
34 public:
36  parentRegistry = NULL);
37 
38  DtSystemParameterData(const DtString& name, const DtSystemParameterData& orig,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42 
43  virtual ~DtSystemParameterData();
44 
47  virtual DtString parameterType() const = 0;
48 
49  virtual DtSystemParameterData* clone() const = 0;
50 
51  virtual DtString parameterName() const;
52  virtual void setParameterName(const DtString& name);
53 
54  virtual DtString variableType() const;
55  virtual void setVariableType(const DtString& type);
56 
57  virtual DtString displayLabel() const;
58  virtual void setDisplayLabel(const DtString& label);
59 
60  virtual DtString displayUnits() const;
61  virtual void setDisplayUnits(const DtString& units);
62 
63  virtual DtString sourceUnits() const;
64  virtual void setSourceUnits(const DtString& units);
65 
69  virtual void assignDefaultValueToReaderWriter(DtReaderWriter* rwToChange) const;
70 
73  static DtSystemParameterData* createSystemParamterData(const DtString& type);
74 
78 
79 protected:
85  static std::auto_ptr<DtSystemParameterDataFactory> theFactory;
86 };
87 
88 
89 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)