VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDisplayProxy.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/DtWindowProxy.h>
12 
13 namespace makVrv
14 {
15  class DtDe;
16  class DtDisplayConfiguration;
17  class DtDisplayProctor;
18 
23  {
24  public:
25 
27  friend class DtDe;
28 
30  virtual ~DtDisplayProxy();
31 
33 
36  bool addWindow(const DtWindowConfiguration& configuration);
37 
39  void destroyWindow(DtWindowProxySP window);
40 
42  bool modifyWindow(DtWindowProxySP window,
43  const DtWindowConfiguration& config);
44 
46 
47 
49 
53  const DtDisplayConfiguration& configuration() const;
54 
57  DtWindowProxySP findWindow(const std::string& windowName );
58 
61  DtWindowProxySP findWindowByIndex(int index);
62 
65  int windowCount() const;
66 
68  const std::string& displayName() const;
70 
71 
72  protected:
73 
75  DtDisplayProxy(DtDe& de,DtDisplayConfiguration& configuration);
76 
78  DtDisplayProctor* proctor();
79 
80  protected:
81 
85 
86  typedef std::map<std::string,DtWindowProxyWP> WindowProxies;
88 
89  };
90 
91  typedef DtBoost::shared_ptr<DtDisplayProxy> DtDisplayProxySP;
92  typedef DtBoost::weak_ptr<DtDisplayProxy> DtDisplayProxyWP;
93 }
DtDe & myDe
Definition: DtDisplayProxy.h:82
DtDisplayConfiguration * myConfiguration
Definition: DtDisplayProxy.h:83
The abstract Window engine handler.
Definition: DtDisplayProctor.h:27
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
DtDisplayProctor * myProctorCache
Definition: DtDisplayProxy.h:84
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
This owns a list of window configurations.
Definition: DtDisplayConfiguration.h:43
DtBoost::shared_ptr< DtWindowProxy > DtWindowProxySP
Definition: DtWindowProxy.h:99
Contains makVrv::DtViewProxy class.
DtBoost::shared_ptr< DtDisplayProxy > DtDisplayProxySP
Definition: DtDisplayProxy.h:91
std::map< std::string, DtWindowProxyWP > WindowProxies
Definition: DtDisplayProxy.h:86
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
DtBoost::weak_ptr< DtDisplayProxy > DtDisplayProxyWP
Definition: DtDisplayProxy.h:92
WindowProxies myWindowProxies
Definition: DtDisplayProxy.h:87

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)