VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
mtl
variableGroup.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include "
baseConfigVariable.h
"
13
14
#ifdef DtUSE_UTILITIES_NAMESPACE
15
namespace
DtUSE_UTILITIES_NAMESPACE
16
{
17
#endif
18
21
class
DT_DLL_MTL
DtVariableGroup
:
public
DtBaseConfigVariable
22
{
23
public
:
24
25
DtVariableGroup
(
DtVariableGroup
* parent,
const
DtString
& groupName,
26
const
DtString
& groupType =
""
,
const
DtString
& aDescription =
""
);
27
28
virtual
~
DtVariableGroup
();
29
30
virtual
void
addBaseVariable(
DtBaseConfigVariable
* var );
31
33
virtual
bool
changeOnce()
const
;
34
36
virtual
const
DtString
& name()
const
;
37
39
virtual
bool
isRequired()
const
;
40
42
virtual
void
getCommandLineArg(
DtCmdLine::CmdLine
& cmdLine );
43
44
virtual
void
updateFromCommandLineArg();
45
47
virtual
void
getEnvironmentSchemaType(
DtEnvironment
env,
TypeSet
& usedTypes )
const
;
48
52
// MJI - This implies getting an "environment value", not getting a value from
53
// the environment passed in.
54
virtual
DtEnvValueSP
getEnvironmentValue(
DtEnvironment
env );
55
58
virtual
void
updateFromEnvironment(
DtEnvironment
env );
59
60
virtual
DtString
type()
const
;
61
62
DtEnvValueSP
getGroupValue(
DtEnvironment
env );
63
64
protected
:
65
67
DtVariableGroup
(
const
DtVariableGroup
& other );
68
70
DtVariableGroup
& operator = (
const
DtVariableGroup
& other );
71
72
protected
:
73
74
DtString
myName
;
75
DtString
myType
;
76
77
DtVariableGroup
*
myParent
;
78
typedef
std::list<DtBaseConfigVariable*>
VariableList
;
79
VariableList
myVars
;
80
81
};
82
83
#ifdef DtUSE_UTILITIES_NAMESPACE
84
}
85
#endif
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)