VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDisplayProctor.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 DtDisplayProctor_H_
11 #define DtDisplayProctor_H_
12 
13 #include <vrvCore/DtProctor.h>
14 
15 #include <string>
16 
17 #include <makArchives/portable_binary_iarchive.hpp>
18 #include <makArchives/portable_binary_oarchive.hpp>
19 
20 namespace makVrv
21 {
22 
23  class DtWindowConfiguration;
24 
28  {
29 
30  public:
31 
32  friend class DtDisplayProxy;
33 
36  static DtDisplayProctor& instance(DtDe& de);
37 
40 
42  virtual ~DtDisplayProctor();
43 
44  protected:
45 
47  virtual bool addWindow( const std::string& displayName, const DtWindowConfiguration& configuration) = 0;
49 
51  static void decode_addWindow(DtProctor* proctor, DtMessage& msg);
52 
54  static void serialize_addWindow(DtMessage& msg, std::string& displayName,
55  DtWindowConfiguration& configuration);
57 
58 
60  virtual void destroyWindow( const std::string& displayName, const std::string& windowName ) = 0;
62 
64  static void decode_destroyWindow(DtProctor* proctor, DtMessage& msg);
65 
67  static void serialize_destroyWindow(DtMessage& msg, std::string& displayName,
68  std::string& windowName);
70 
72  virtual void modifyWindow( const std::string& displayName, const std::string& windowName,
74  const DtWindowConfiguration& configuration) = 0;
75 
77  static void decode_modifyWindow(DtProctor* proctor, DtMessage& msg);
78 
80  static void serialize_modifyWindow(DtMessage& msg, std::string& displayName,
81  std::string& windowName, DtWindowConfiguration& configuration);
83 
84  };
85 }
86 
87 #endif
88 
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
The abstract Window engine handler.
Definition: DtDisplayProctor.h:27
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
Display proxy uses for communicating display settings to slave displays.
Definition: DtDisplayProxy.h:22
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtProctor class.
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:76

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)