VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
mtl
varGroup.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
6
8
9
#ifndef varGroup_H_
10
#define varGroup_H_
11
12
#include "
baseConfigVar.h
"
13
14
#ifdef DtUSE_UTILITIES_NAMESPACE
15
namespace
DtUSE_UTILITIES_NAMESPACE
16
{
17
#endif
18
19
21
class
DT_DLL_MTL
DtVariableGroup
:
public
DtBaseConfigVariable
22
{
23
public
:
24
DtVariableGroup
(
DtVariableGroup
* parent,
const
DtString
& groupName,
25
const
DtString
& groupType =
""
,
const
DtString
& aDescription =
""
);
26
27
virtual
~
DtVariableGroup
();
28
29
virtual
void
addBaseVariable(
DtBaseConfigVariable
* var);
30
32
virtual
bool
changeOnce()
const
;
33
35
virtual
bool
isRequired()
const
;
36
38
virtual
const
DtString
& name()
const
;
39
40
virtual
DtString
type()
const
;
41
43
virtual
void
getCommandLineArg(
DtCmdLine::CmdLine
& cmdLine);
44
45
virtual
void
updateFromCommandLineArg();
46
48
virtual
void
getEnvironmentSchemaType(
DtEnvironment
env,
TypeSet
& usedTypes)
const
;
49
53
// MJI - This implies getting an "environment value", not getting a value from
54
// the environment passed in.
55
virtual
DtEnvValueSP
getEnvironmentValue(
DtEnvironment
env);
56
59
virtual
void
updateFromEnvironment(
DtEnvironment
env);
60
62
DtEnvValueSP
getGroupValue(
DtEnvironment
env);
63
64
65
protected
:
66
DtString
myName
;
67
DtString
myType
;
68
69
DtVariableGroup
*
myParent
;
70
typedef
std::list<DtBaseConfigVariable*>
VariableList
;
71
VariableList
myVars
;
72
};
73
74
#ifdef DtUSE_UTILITIES_NAMESPACE
75
}
76
#endif
77
78
#endif
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)