VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
40 
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 
91 
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 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)