VR-Forces 4.1 Class Documentation
DtInsetViewObserverDestroyer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtInsetViewObserverDestroyer.h,v $ $Revision: 1.7 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtInsetViewObserverDestroyer_H_
14 #define DtInsetViewObserverDestroyer_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtDe.h>
18 #include <vrvCore/DtWindow.h>
19 #include <vrvCore/DtWindowManager.h>
21 
22 namespace makVrv
23 {
24 
25  class DtWindow;
26 
30  {
31 
32  public:
33 
35  static DtInsetViewObserverDestroyer& instance(DtDe& de);
36 
39 
41  void registerInsetViewForDestruction(const std::string& windowName, const std::string& observerName);
42 
43  protected:
44 
47 
49  void slot_onWindowToBeDestroyed(DtWindow* window);
50 
51  protected:
52 
54  std::map<std::string, std::string> myObserverMap;
55 
56  };
57 }
58 
59 #endif
60 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)