VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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/vrvCore.h>
17 #include <vrvCore/DtProctor.h>
18 
19 #include <string>
20 
21 #include <makArchives/portable_binary_iarchive.hpp>
22 #include <makArchives/portable_binary_oarchive.hpp>
23 
24 namespace makVrv
25 {
26 
27  class DtWindowConfiguration;
28 
32  {
33 
34  public:
35 
36  friend class DtDisplayProxy;
37 
40  static DtDisplayProctor& instance(DtDe& de);
41 
44 
46  virtual ~DtDisplayProctor();
47 
48  protected:
49 
51 
52  virtual bool addWindow( const std::string& displayName, const DtWindowConfiguration& configuration) = 0;
53 
55  static void decode_addWindow(DtProctor* proctor, DtMessage& msg);
56 
58  static void serialize_addWindow(DtMessage& msg, std::string& displayName,
59  DtWindowConfiguration& configuration);
61 
62 
64 
65  virtual void destroyWindow( const std::string& displayName, const std::string& windowName ) = 0;
66 
68  static void decode_destroyWindow(DtProctor* proctor, DtMessage& msg);
69 
71  static void serialize_destroyWindow(DtMessage& msg, std::string& displayName,
72  std::string& windowName);
74 
76 
77  virtual void modifyWindow( const std::string& displayName, const std::string& windowName,
78  const DtWindowConfiguration& configuration) = 0;
79 
81  static void decode_modifyWindow(DtProctor* proctor, DtMessage& msg);
82 
84  static void serialize_modifyWindow(DtMessage& msg, std::string& displayName,
85  std::string& windowName, DtWindowConfiguration& configuration);
87 
88  };
89 }
90 
91 #endif
92 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)