VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDeProctor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/DtProctor.h>
12 #include <string>
13 
14 namespace makVrv
15 {
16  class DtDisplayConfiguration;
17  class DtModelDefinition;
18 
23  {
24  public:
25 
26  //Functions called by this proctor
28  {
34  function_updateSceneAndRenderFrame = 5
35  };
36 
37  friend class DtDe;
38 
41  static DtDeProctor& instance(DtDe& de);
42 
44  DtDeProctor(DtDe& de);
45 
47  virtual ~DtDeProctor();
48 
50  size_t displayEngineAddressOffset();
51 
52  protected:
53 
55  virtual bool addDisplayEngineConfiguration(
57  const DtDisplayConfiguration& configuration);
58 
60  static void decode_addDisplayEngine(DtProctor* proctor, DtMessage& msg);
61 
63  static void serialize_addDisplayEngine(DtMessage& msg,
64  DtDisplayConfiguration& configuration);
66 
68  virtual void realizeDisplayEngineConfiguration(
70  const std::string& clientName,
71  const std::string& displayConfiguration);
72 
74  static void decode_realizeDisplayEngine(DtProctor* proctor,DtMessage& msg);
75 
77  static void serialize_realizeDisplayEngineConfiguration(DtMessage& msg,
78  std::string& clientName, std::string& displayName);
80 
81 
83  virtual void destroyDisplayEngine(const std::string& displayName );
85 
87  static void decode_destroyDisplayEngine(DtProctor* proctor,
88  DtMessage& msg);
89 
91  static void serialize_destroyDisplayEngine(DtMessage& msg,
92  std::string& displayName);
94 
96  virtual bool modifyDisplayEngine( const std::string& displayName,
98  const DtDisplayConfiguration& configuration);
99 
101  static void decode_modifyDisplayEngine(DtProctor* proctor, DtMessage& msg);
102 
104  static void serialize_modifyDisplayEngine(DtMessage& msg, std::string& displayName,
105  DtDisplayConfiguration& configuration);
107 
108  static void handle_updateSceneAndRenderFrame(DtProctor* proctor, DtMessage& msg);
109 
110  };
111 }
FunctionIDs
Definition: DtDeProctor.h:27
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
Definition: DtDeProctor.h:29
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtProctor class.
This owns a list of window configurations.
Definition: DtDisplayConfiguration.h:43
The de proctor is responsible for communication changes to slave DtDe instances running on separate p...
Definition: DtDeProctor.h:22
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

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)