VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtInsetViewObserverDestroyer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 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
>
20
#include <
vrvUtil/DtVirtualBaseClass.h
>
21
22
namespace
makVrv
23
{
24
25
class
DtWindow;
26
29
class
DT_DLL_VRVCORE
DtInsetViewObserverDestroyer
:
public
DtVirtualBaseClass
30
{
31
32
public
:
33
35
static
DtInsetViewObserverDestroyer
& instance(
DtDe
& de);
36
38
virtual
~
DtInsetViewObserverDestroyer
();
39
41
void
registerInsetViewForDestruction(
const
std::string& windowName,
const
std::string& observerName);
42
44
void
setEnabled(
bool
enable);
45
47
bool
enabled();
48
49
protected
:
50
52
DtInsetViewObserverDestroyer
(
DtDe
& de);
53
55
void
slot_onWindowToBeDestroyed(
DtWindow
* window);
56
57
protected
:
58
59
DtDe
&
myDe
;
60
std::map<std::string, std::string>
myObserverMap
;
61
bool
myEnabled
;
62
63
};
64
}
65
66
#endif
67
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)