VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
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 <
vrvCore/vrvCore.h
>
16
#include <
vrvUtil/DtProxy.h
>
17
#include <
vrvCore/DtChannelProxy.h
>
18
#include <map>
19
20
namespace
makVrv
21
{
22
class
DtDe;
23
class
DtChannelConfiguration;
24
class
DtWindowProctor;
25
class
DtWindowConfiguration;
26
29
class
DT_DLL_VRVCORE
DtWindowProxy
:
public
DtProxy
30
{
31
public
:
32
34
friend
class
DtDisplayProxy
;
35
37
virtual
~
DtWindowProxy
();
38
40
41
44
bool
addChannel(
const
DtChannelConfiguration
& config);
45
48
void
destroyChannel(
DtChannelProxySP
channel);
49
52
bool
modifyChannel(
DtChannelProxySP
channel,
const
DtChannelConfiguration
& config);
53
55
57
59
61
const
DtWindowConfiguration
& configuration()
const
;
62
65
DtChannelProxySP
findChannel(
const
std::string& channelName );
66
69
DtChannelProxySP
findChannelByIndex(
int
index);
70
72
const
std::string& displayName()
const
;
73
75
const
std::string& windowName()
const
;
76
78
const
unsigned
int
channelCount()
const
;
79
81
82
protected
:
83
85
DtWindowProxy
(
DtDe
& de,
const
std::string& displayName,
DtWindowConfiguration
& );
86
88
DtWindowProctor
* proctor();
89
91
92
93
DtDe
*
myDe
;
94
std::string
myDisplayEngineName
;
95
DtWindowConfiguration
*
myConfiguration
;
96
DtWindowProctor
*
myProctorCache
;
97
98
typedef
std::map<std::string,DtChannelProxyWP>
ChannelProxies
;
99
ChannelProxies
myChannelProxies
;
101
};
102
103
typedef
DtBoost::shared_ptr<DtWindowProxy>
DtWindowProxySP
;
104
typedef
DtBoost::weak_ptr<DtWindowProxy>
DtWindowProxyWP
;
105
}
106
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)