VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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 
76 
78  typedef std::list<DtBaseConfigVariable*> VariableList;
80 
81 };
82 
83 #ifdef DtUSE_UTILITIES_NAMESPACE
84 }
85 #endif

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)