VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowProctor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #ifndef DtWindowProctor_H_
11 #define DtWindowProctor_H_
12 
13 #include <vrvCore/vrvCore.h>
14 #include <vrvCore/DtProctor.h>
15 
16 #include <string>
17 
18 namespace makVrv
19 {
20  class DtChannelConfiguration;
21 
26  {
27  public:
28 
29  friend class DtWindowProxy;
30 
33  static DtWindowProctor& instance(DtDe& de);
34 
36  DtWindowProctor(DtDe& de);
37 
39  virtual ~DtWindowProctor();
40 
41 
42  protected:
43 
45  virtual void addChannel(const std::string& displayName, const std::string& windowName,
47  const DtChannelConfiguration& config) = 0;
48 
50  static void decode_addChannel(DtProctor* proctor,DtMessage& msg);
51 
53  static void serialize_addChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
54  DtChannelConfiguration& config);
56 
58  virtual void destroyChannel(const std::string& displayName, const std::string& windowName,
60  const std::string& channelName) = 0;
61 
63  static void decode_destroyChannel(DtProctor* proctor,DtMessage& msg);
64 
66  static void serialize_destroyChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
67  std::string& channelName);
69 
71  virtual void modifyChannel(const std::string& displayName, const std::string& windowName,
73  const std::string& channelName, const DtChannelConfiguration& config) = 0;
74 
76  static void decode_modifyChannel(DtProctor* proctor,DtMessage& msg);
77 
79  static void serialize_modifyChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
80  std::string& channelName, DtChannelConfiguration& config);
82 
83  };
84 }
85 
86 #endif
87 
This is used to distribute information about a window from the master to slave engines.
Definition: DtWindowProctor.h:25
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition: DtMessage.h:30
Base class for Proctor classes.
Definition: DtProctor.h:21
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtProctor class.
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
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:70
Acts a proxy for each remote window on the master display engine.
Definition: DtWindowProxy.h:25
Contains DLL export macros.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)