VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtWindowProxy.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtWindowProxy.h,v $ $Revision: 1.24 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvUtil/DtProxy.h
>
16
#include <
vrvCore/DtChannelProxy.h
>
17
#include <map>
18
19
namespace
makVrv
20
{
21
class
DtDe;
22
class
DtChannelConfiguration;
23
class
DtWindowProctor;
24
class
DtWindowConfiguration;
25
28
class
DT_DLL_VRVCORE
DtWindowProxy
:
public
DtProxy
29
{
30
public
:
31
33
friend
class
DtDisplayProxy
;
34
36
virtual
~
DtWindowProxy
();
37
39
40
43
bool
addChannel(
const
DtChannelConfiguration
& config);
44
47
void
destroyChannel(
DtChannelProxySP
channel);
48
51
bool
modifyChannel(
DtChannelProxySP
channel,
const
DtChannelConfiguration
& config);
52
54
56
58
60
const
DtWindowConfiguration
& configuration()
const
;
61
64
DtChannelProxySP
findChannel(
const
std::string& channelName );
65
68
DtChannelProxySP
findChannelByIndex(
int
index);
69
71
const
std::string& displayName()
const
;
72
74
const
std::string& windowName()
const
;
75
77
const
unsigned
int
channelCount()
const
;
78
80
81
protected
:
82
84
DtWindowProxy
(
DtDe
& de,
const
std::string& displayName,
DtWindowConfiguration
& );
85
87
DtWindowProctor
* proctor();
88
90
91
92
DtDe
*
myDe
;
93
std::string
myDisplayEngineName
;
94
DtWindowConfiguration
*
myConfiguration
;
95
DtWindowProctor
*
myProctorCache
;
96
97
typedef
std::map<std::string,DtChannelProxyWP>
ChannelProxies
;
98
ChannelProxies
myChannelProxies
;
100
};
101
102
typedef
DtBoost::shared_ptr<DtWindowProxy>
DtWindowProxySP
;
103
typedef
DtBoost::weak_ptr<DtWindowProxy>
DtWindowProxyWP
;
104
}
105
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)