VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtDeSettingsManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtDeSettingsManager.h,v $ $Revision: 1.10 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/vrvCore.h
>
15
#include <
vrvUtil/DtVirtualBaseClass.h
>
16
17
#include <map>
18
#include <string>
19
20
namespace
makVrv
21
{
22
23
class
DtDe;
24
class
DtDeSettings;
25
28
class
DT_DLL_VRVCORE
DtDeSettingsManager
:
public
DtVirtualBaseClass
29
{
30
public
:
32
static
DtDeSettingsManager
& instance(
DtDe
& de);
33
35
virtual
~
DtDeSettingsManager
();
36
38
void
createSettings(
const
std::string& settingsType,
const
std::string& settingsExt);
39
43
DtDeSettings
* findSettings(
const
std::string& settingsType);
44
49
DtDeSettings
* findSettingsByExtension(
const
std::string& settingsEx);
50
56
void
registerSettings(
DtDeSettings
* settings);
57
58
protected
:
59
61
DtDeSettingsManager
(
DtDe
&);
62
63
typedef
std::map<std::string,DtDeSettings*>
SettingsMap
;
64
typedef
std::map<std::string, std::string>
SettingsToFileMap
;
65
66
DtDe
&
myDe
;
67
SettingsMap
mySettings
;
68
};
69
}
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
)