VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
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
17
#include "
vrfobjparam/vrfobjparamDefines.h
"
18
#include "
vrfutil/rdrWritr.h
"
19
#include "
vrfutil/rwString.h
"
20
#include "
tdbutil/stringKeyFactory.h
"
21
22
#include <memory>
23
24
class
DtSystemParameterData
;
25
27
typedef
DtStringKeyFactoryWithParam<DtSystemParameterData, const DtString&>
DtSystemParameterDataFactory
;
28
32
class
DT_DLL_vrfobjparam
DtSystemParameterData
:
public
DtReaderWriter
33
{
34
public
:
35
DtSystemParameterData
(
const
DtString
& name,
DtReaderWriterRegistry
*
36
parentRegistry = NULL);
37
38
DtSystemParameterData
(
const
DtString
& name,
const
DtSystemParameterData
& orig,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
41
DtSystemParameterData
&
operator=
(
const
DtSystemParameterData
& orig);
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
77
static
DtSystemParameterDataFactory
*
factory
();
78
79
protected
:
80
DtRwString
myParameterName
;
81
DtRwString
myVariableType
;
82
DtRwString
myDisplayLabel
;
83
DtRwString
myDisplayUnits
;
84
DtRwString
mySourceUnits
;
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
)