VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtVisualizerAttributeEditorFactory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <boost/unordered_map.hpp>
17 
18 class QWidget;
19 
20 namespace makVrv
21 {
22  class DtVisualizerAttributeEditor;
23  class DtVisualizerAttributeEditorInterface;
24  class DtVisualizerAttributeEditorCreator;
25 
28  public DtVirtualBaseClass
29  {
30  public:
31 
33  static DtVisualizerAttributeEditorFactory& instance(DtDe&);
34 
37 
39  virtual void registerVisualizerCreator(
41 
43  DtVisualizerAttributeEditor* createEditor(const std::string& attrName,
44  const std::string& attrClassName, QWidget* parent) const;
45 
46  protected:
48 
49  protected:
50  //Maps from attribute type to creator map.
51  typedef boost::unordered_map<std::string,
53 
54  //Maps from attribute name to a map of type to creator.
55  typedef boost::unordered_map<std::string, AttributeTypeToCreatorMap>
57 
60  };
61 }
62 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)