VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowProxy.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/DtProxy.h>
13 #include <vrvCore/DtChannelProxy.h>
14 #include <map>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtChannelConfiguration;
20  class DtWindowProctor;
21  class DtWindowConfiguration;
22 
26  {
27  public:
28 
30  friend class DtDisplayProxy;
31 
33  virtual ~DtWindowProxy();
34 
36 
40  bool addChannel(const DtChannelConfiguration& config);
41 
44  void destroyChannel(DtChannelProxySP channel);
45 
48  bool modifyChannel(DtChannelProxySP channel, const DtChannelConfiguration& config);
49 
51 
53 
55 
57  const DtWindowConfiguration& configuration() const;
58 
61  DtChannelProxySP findChannel(const std::string& channelName );
62 
65  DtChannelProxySP findChannelByIndex(int index);
66 
68  const std::string& displayName() const;
69 
71  const std::string& windowName() const;
72 
74  const unsigned int channelCount() const;
75 
77 
78  protected:
79 
81  DtWindowProxy(DtDe& de, const std::string& displayName, DtWindowConfiguration& );
82 
84  DtWindowProctor* proctor();
85 
87 
90  std::string myDisplayEngineName;
93 
94  typedef std::map<std::string,DtChannelProxyWP> ChannelProxies;
97  };
98 
99  typedef DtBoost::shared_ptr<DtWindowProxy> DtWindowProxySP;
100  typedef DtBoost::weak_ptr<DtWindowProxy> DtWindowProxyWP;
101 }
102 
std::map< std::string, DtChannelProxyWP > ChannelProxies
Members.
Definition: DtWindowProxy.h:94
This is used to distribute information about a window from the master to slave engines.
Definition: DtWindowProctor.h:25
DtWindowProctor * myProctorCache
Members.
Definition: DtWindowProxy.h:92
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
std::string myDisplayEngineName
Members.
Definition: DtWindowProxy.h:90
Contains makVrv::DtChannelProxy class.
DtWindowConfiguration * myConfiguration
Members.
Definition: DtWindowProxy.h:91
Display proxy uses for communicating display settings to slave displays.
Definition: DtDisplayProxy.h:22
The Proxy base class. Proxies are objects that let users interact with objects that may or may not ex...
Definition: DtProxy.h:38
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtBoost::shared_ptr< DtWindowProxy > DtWindowProxySP
Definition: DtWindowProxy.h:99
ChannelProxies myChannelProxies
Members.
Definition: DtWindowProxy.h:95
DtBoost::shared_ptr< DtChannelProxy > DtChannelProxySP
Definition: DtChannelProxy.h:79
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtDe * myDe
Members.
Definition: DtWindowProxy.h:89
DtBoost::weak_ptr< DtWindowProxy > DtWindowProxyWP
Definition: DtWindowProxy.h:100
Acts a proxy for each remote window on the master display engine.
Definition: DtWindowProxy.h:25

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)