VR-Vantage API Documentation
DtDockableManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
15 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <boost/unordered_map.hpp>
17 
18 namespace makVrv
19 {
20  class DtDockable;
21 
26  {
27  public:
28  friend class DtDockable;
29 
31  static DtDockableManager& instance(DtDe&);
32 
35  static void registerInstance(DtDe& de, DtDockableManager* instance);
36 
38  virtual ~DtDockableManager();
39 
41  virtual DtDockable* findDockableWidget(const std::string& className);
42 
43  protected:
44 
47 
50  virtual void registerDockableWidgetInstance(DtDockable* widget);
51 
54  virtual void unregisterDockableWidgetInstance(DtDockable* widget);
55 
56  protected:
58 
59  typedef boost::unordered_map<std::string,DtDockable*> DockableWidgets;
61  };
62 }


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)