VR-Vantage API Documentation
DtDisplayProxy.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtDisplayProxy.h,v $ $Revision: 1.25 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/vrvCore.h>
15 #include <vrvUtil/DtProxy.h>
16 #include <vrvCore/DtWindowProxy.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtDisplayConfiguration;
22  class DtDisplayProctor;
23 
28  {
29  public:
30 
32  friend class DtDe;
33 
35  virtual ~DtDisplayProxy();
36 
38 
39 
41  bool addWindow(const DtWindowConfiguration& configuration);
42 
44  void destroyWindow(DtWindowProxySP window);
45 
47  bool modifyWindow(DtWindowProxySP window,
48  const DtWindowConfiguration& config);
49 
51 
52 
54 
55 
58  const DtDisplayConfiguration& configuration() const;
59 
62  DtWindowProxySP findWindow(const std::string& windowName );
63 
66  DtWindowProxySP findWindowByIndex(int index);
67 
70  int windowCount() const;
71 
73  const std::string& displayName() const;
75 
76 
77  protected:
78 
80  DtDisplayProxy(DtDe& de,DtDisplayConfiguration& configuration);
81 
83  DtDisplayProctor* proctor();
84 
85  protected:
86 
90 
91  typedef std::map<std::string,DtWindowProxyWP> WindowProxies;
93 
94  };
95 
96  typedef DtBoost::shared_ptr<DtDisplayProxy> DtDisplayProxySP;
97  typedef DtBoost::weak_ptr<DtDisplayProxy> DtDisplayProxyWP;
98 }


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)