VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDockableManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <boost/unordered_map.hpp>
14 
15 namespace makVrv
16 {
17  class DtDockable;
18 
23  {
24  public:
25  friend class DtDockable;
26 
28  static DtDockableManager& instance(DtDe&);
29 
32  static void registerInstance(DtDe& de, DtDockableManager* instance);
33 
35  virtual ~DtDockableManager();
36 
38  virtual DtDockable* findDockableWidget(const std::string& className);
39 
40  protected:
41 
44 
47  virtual void registerDockableWidgetInstance(DtDockable* widget);
48 
51  virtual void unregisterDockableWidgetInstance(DtDockable* widget);
52 
53  protected:
55 
56  typedef boost::unordered_map<std::string,DtDockable*> DockableWidgets;
58  };
59 }
DockableWidgets myDockableWidgets
Definition: DtDockableManager.h:57
Virtual base class.
Definition: DtVirtualBaseClass.h:19
The dockable class provides the docking interface for any class to be a dockable widget in the DtDeMa...
Definition: DtDockable.h:27
This class is responsible for managed dockable widgets.
Definition: DtDockableManager.h:22
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Contains makVrv::DtVirtualBaseClass class.
boost::unordered_map< std::string, DtDockable * > DockableWidgets
Definition: DtDockableManager.h:56
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtDockableManager.h:54

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)