VR-Forces 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) 2024 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 <memory>
15 #include <map>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtChannelConfiguration;
21  class DtWindowProctor;
22  class DtWindowConfiguration;
23 
27  {
28  public:
29 
31  friend class DtDisplayProxy;
32 
34  virtual ~DtWindowProxy();
35 
37 
41  bool addChannel(const DtChannelConfiguration& config);
42 
45  void destroyChannel(DtChannelProxySP channel);
46 
49  bool modifyChannel(DtChannelProxySP channel, const DtChannelConfiguration& config);
50 
52 
54 
56 
58  const DtWindowConfiguration& configuration() const;
59 
62  DtChannelProxySP findChannel(const std::string& channelName );
63 
66  DtChannelProxySP findChannelByIndex(int index);
67 
69  const std::string& displayName() const;
70 
72  const std::string& windowName() const;
73 
75  const unsigned int channelCount() const;
76 
78 
79  protected:
80 
82  DtWindowProxy(DtDe& de, const std::string& displayName, DtWindowConfiguration& );
83 
85  DtWindowProctor* proctor();
86 
88 
91  std::string myDisplayEngineName;
94 
95  typedef std::map<std::string,DtChannelProxyWP> ChannelProxies;
98  };
99 
100  typedef std::shared_ptr<DtWindowProxy> DtWindowProxySP;
101  typedef std::weak_ptr<DtWindowProxy> DtWindowProxyWP;
102 }
103 
std::map< std::string, DtChannelProxyWP > ChannelProxies
Members.
Definition: DtWindowProxy.h:95
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:93
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
std::shared_ptr< DtChannelProxy > DtChannelProxySP
Definition: DtChannelProxy.h:79
std::string myDisplayEngineName
Members.
Definition: DtWindowProxy.h:91
std::weak_ptr< DtWindowProxy > DtWindowProxyWP
Definition: DtWindowProxy.h:101
Contains makVrv::DtChannelProxy class.
DtWindowConfiguration * myConfiguration
Members.
Definition: DtWindowProxy.h:92
std::shared_ptr< DtWindowProxy > DtWindowProxySP
Definition: DtWindowProxy.h:100
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:39
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
ChannelProxies myChannelProxies
Members.
Definition: DtWindowProxy.h:96
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
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:76
DtDe * myDe
Members.
Definition: DtWindowProxy.h:90
Acts a proxy for each remote window on the master display engine.
Definition: DtWindowProxy.h:26

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)