VR-Forces 4.1.1 Class Documentation
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>
16 
17 #include <map>
18 #include <string>
19 
20 namespace makVrv
21 {
22 
23  class DtDe;
24  class DtDeSettings;
25 
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 
62 
63  typedef std::map<std::string,DtDeSettings*> SettingsMap;
64  typedef std::map<std::string, std::string> SettingsToFileMap;
65 
68  };
69 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)