VR-Forces 4.8 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 /******************************************************************************
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 }
DockableWidgets myDockableWidgets
Definition: DtDockableManager.h:60
Virtual base class.
Definition: DtVirtualBaseClass.h:22
The dockable class provides the docking interface for any class to be a dockable widget in the DtDeMa...
Definition: DtDockable.h:31
This class is responsible for managed dockable widgets.
Definition: DtDockableManager.h:25
#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:59
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtDockableManager.h:57

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)