VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtDisplayProxy.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtDisplayProxy.h,v $ $Revision: 1.25 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/vrvCore.h
>
15
#include <
vrvUtil/DtProxy.h
>
16
#include <
vrvCore/DtWindowProxy.h
>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
class
DtDisplayConfiguration;
22
class
DtDisplayProctor;
23
27
class
DT_DLL_VRVCORE
DtDisplayProxy
:
public
DtProxy
28
{
29
public
:
30
32
friend
class
DtDe
;
33
35
virtual
~
DtDisplayProxy
();
36
38
39
41
bool
addWindow(
const
DtWindowConfiguration
& configuration);
42
44
void
destroyWindow(
DtWindowProxySP
window);
45
47
bool
modifyWindow(
DtWindowProxySP
window,
48
const
DtWindowConfiguration
& config);
49
51
52
54
55
58
const
DtDisplayConfiguration
& configuration()
const
;
59
62
DtWindowProxySP
findWindow(
const
std::string& windowName );
63
66
DtWindowProxySP
findWindowByIndex(
int
index);
67
70
int
windowCount()
const
;
71
73
const
std::string& displayName()
const
;
75
76
77
protected
:
78
80
DtDisplayProxy
(
DtDe
& de,
DtDisplayConfiguration
& configuration);
81
83
DtDisplayProctor
* proctor();
84
85
protected
:
86
87
DtDe
&
myDe
;
88
DtDisplayConfiguration
*
myConfiguration
;
89
DtDisplayProctor
*
myProctorCache
;
90
91
typedef
std::map<std::string,DtWindowProxyWP>
WindowProxies
;
92
WindowProxies
myWindowProxies
;
93
94
};
95
96
typedef
DtBoost::shared_ptr<DtDisplayProxy>
DtDisplayProxySP
;
97
typedef
DtBoost::weak_ptr<DtDisplayProxy>
DtDisplayProxyWP
;
98
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)