VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvCore
DtSettings.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: DtSettings.h,v $ $Revision: 1.8 $ $State: Exp $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
#include <list>
17
#include <string>
18
19
namespace
makVrv
20
{
24
class
DT_DLL_VRVCORE
DtSettings
25
{
26
public
:
27
29
typedef
std::list<DtSettings*>
SettingsList
;
30
32
DtSettings
();
33
35
virtual
~
DtSettings
();
36
38
void
processCommandLine(
int
argc,
char
** argv);
39
41
//TODO Refactor for filename, file writer, something.
42
virtual
void
loadConfigFile(
const
std::string& filename) = 0;
43
45
//TODO Refactor for filename, file writer, something.
46
virtual
void
saveConfigFile(
const
std::string& filename) = 0;
47
49
virtual
void
addSubsettings(
DtSettings
* subSettings);
50
52
virtual
void
removeSubsettings(
DtSettings
* subSettings);
53
55
const
SettingsList
& subSettings()
const
;
56
58
virtual
void
lockSettings();
59
61
virtual
void
unlockSettings();
62
64
virtual
bool
isLocked()
const
;
65
66
protected
:
67
69
virtual
void
parseCommandLine(
int
argc,
char
** argv) = 0;
70
71
bool
myLockFlag
;
72
SettingsList
mySettings
;
73
};
74
}
75
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)