VR-Forces 4.1.1 Class Documentation
DtWindowProctor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtWindowProctor.h,v $ $Revision: 1.19 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 #ifndef DtWindowProctor_H_
14 #define DtWindowProctor_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtProctor.h>
18 
19 #include <string>
20 
21 namespace makVrv
22 {
23  class DtChannelConfiguration;
24 
29  {
30  public:
31 
32  friend class DtWindowProxy;
33 
36  static DtWindowProctor& instance(DtDe& de);
37 
39  DtWindowProctor(DtDe& de);
40 
42  virtual ~DtWindowProctor();
43 
44 
45  protected:
46 
48 
49  virtual void addChannel(const std::string& displayName, const std::string& windowName,
50  const DtChannelConfiguration& config) = 0;
51 
53  static void decode_addChannel(DtProctor* proctor,DtMessage& msg);
54 
56  static void serialize_addChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
57  DtChannelConfiguration& config);
59 
61 
62  virtual void destroyChannel(const std::string& displayName, const std::string& windowName,
63  const std::string& channelName) = 0;
64 
66  static void decode_destroyChannel(DtProctor* proctor,DtMessage& msg);
67 
69  static void serialize_destroyChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
70  std::string& channelName);
72 
74 
75  virtual void modifyChannel(const std::string& displayName, const std::string& windowName,
76  const std::string& channelName, const DtChannelConfiguration& config) = 0;
77 
79  static void decode_modifyChannel(DtProctor* proctor,DtMessage& msg);
80 
82  static void serialize_modifyChannel(DtMessage& msg, std::string& displayName, std::string& windowName,
83  std::string& channelName, DtChannelConfiguration& config);
85 
86  };
87 }
88 
89 #endif
90 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)