VR-Forces 4.7 Class Documentation
 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 /*******************************************************************************
6 ** $RCSfile: DtDisplayProctor.h,v $ $Revision: 1.17 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 #ifndef DtDisplayProctor_H_
14 #define DtDisplayProctor_H_
15 
16 #include <vrvCore/DtProctor.h>
17 
18 #include <string>
19 
20 #include <makArchives/portable_binary_iarchive.hpp>
21 #include <makArchives/portable_binary_oarchive.hpp>
22 
23 namespace makVrv
24 {
25 
26  class DtWindowConfiguration;
27 
31  {
32 
33  public:
34 
35  friend class DtDisplayProxy;
36 
39  static DtDisplayProctor& instance(DtDe& de);
40 
43 
45  virtual ~DtDisplayProctor();
46 
47  protected:
48 
50 
51  virtual bool addWindow( const std::string& displayName, const DtWindowConfiguration& configuration) = 0;
52 
54  static void decode_addWindow(DtProctor* proctor, DtMessage& msg);
55 
57  static void serialize_addWindow(DtMessage& msg, std::string& displayName,
58  DtWindowConfiguration& configuration);
60 
61 
63 
64  virtual void destroyWindow( const std::string& displayName, const std::string& windowName ) = 0;
65 
67  static void decode_destroyWindow(DtProctor* proctor, DtMessage& msg);
68 
70  static void serialize_destroyWindow(DtMessage& msg, std::string& displayName,
71  std::string& windowName);
73 
75 
76  virtual void modifyWindow( const std::string& displayName, const std::string& windowName,
77  const DtWindowConfiguration& configuration) = 0;
78 
80  static void decode_modifyWindow(DtProctor* proctor, DtMessage& msg);
81 
83  static void serialize_modifyWindow(DtMessage& msg, std::string& displayName,
84  std::string& windowName, DtWindowConfiguration& configuration);
86 
87  };
88 }
89 
90 #endif
91 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)