VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
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 
29  {
30  public:
31 
33  friend class DtDisplayProxy;
34 
36  virtual ~DtWindowProxy();
37 
39 
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 
93  std::string myDisplayEngineName;
96 
97  typedef std::map<std::string,DtChannelProxyWP> ChannelProxies;
100  };
101 
102  typedef DtBoost::shared_ptr<DtWindowProxy> DtWindowProxySP;
103  typedef DtBoost::weak_ptr<DtWindowProxy> DtWindowProxyWP;
104 }
105 
std::map< std::string, DtChannelProxyWP > ChannelProxies
Definition: DtWindowProxy.h:97
This is used to distribute information about a window from the master to slave engines.
Definition: DtWindowProctor.h:28
DtWindowProctor * myProctorCache
Definition: DtWindowProxy.h:95
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:31
std::string myDisplayEngineName
Definition: DtWindowProxy.h:93
Contains makVrv::DtChannelProxy class.
DtWindowConfiguration * myConfiguration
Definition: DtWindowProxy.h:94
Display proxy uses for communicating display settings to slave displays.
Definition: DtDisplayProxy.h:25
The Proxy base class.
Definition: DtProxy.h:41
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtBoost::shared_ptr< DtWindowProxy > DtWindowProxySP
Definition: DtWindowProxy.h:102
ChannelProxies myChannelProxies
Definition: DtWindowProxy.h:98
DtBoost::shared_ptr< DtChannelProxy > DtChannelProxySP
Definition: DtChannelProxy.h:82
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.
Definition: DtDe.h:69
DtDe * myDe
Members.
Definition: DtWindowProxy.h:92
DtBoost::weak_ptr< DtWindowProxy > DtWindowProxyWP
Definition: DtWindowProxy.h:103
Acts a proxy for each remote window on the master display engine.
Definition: DtWindowProxy.h:28

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)