VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtChannelProxy.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 #include <vrvCore/vrvCore.h>
12 #include <vrvUtil/DtProxy.h>
13 #include <boost/shared_ptr.hpp>
14 #include <string>
15 
16 namespace makVrv
17 {
18  class DtChannelConfiguration;
19  class DtChannelProctor;
20  class DtDe;
21  class DtWindowConfiguration;
22 
26  {
27  friend class DtWindowProxy;
28  public:
29 
31  virtual ~DtChannelProxy();
32 
34  const DtChannelConfiguration& configuration() const;
35 
37 
39 
41 
43 
45 
47  const std::string& displayName() const;
48 
50  const std::string& windowName() const;
51 
53  const std::string& channelName() const;
54 
56 
57  protected:
58 
60  DtChannelProxy(DtDe& de, const std::string& displayName, const std::string& windowName,
61  DtChannelConfiguration& config);
62 
64  DtChannelProctor* proctor();
65 
67 
70  std::string myDisplayName;
71  std::string myViewName;
74 
76 
77  };
78 
79  typedef DtBoost::shared_ptr<DtChannelProxy> DtChannelProxySP;
80  typedef DtBoost::weak_ptr<DtChannelProxy> DtChannelProxyWP;
81 }
The proxy object that lets you remotely control a channel.
Definition: DtChannelProxy.h:25
DtDe & myDe
Members.
Definition: DtChannelProxy.h:69
DtChannelProctor * myProctorCache
Members.
Definition: DtChannelProxy.h:73
DtChannelConfiguration & myConfiguration
Members.
Definition: DtChannelProxy.h:72
std::string myDisplayName
Members.
Definition: DtChannelProxy.h:70
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< 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:24
Proctor class for remotely controlling channels.
Definition: DtChannelProctor.h:21
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:72
std::string myViewName
Members.
Definition: DtChannelProxy.h:71
DtBoost::weak_ptr< DtChannelProxy > DtChannelProxyWP
Definition: DtChannelProxy.h:80
Acts a proxy for each remote window on the master display engine.
Definition: DtWindowProxy.h:25
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)