![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: DtWindowProctor.h,v $ $Revision: 1.19 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00012 00013 #ifndef DtWindowProctor_H_ 00014 #define DtWindowProctor_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvCore/DtProctor.h> 00018 00019 #include <string> 00020 00021 namespace makVrv 00022 { 00023 class DtChannelConfiguration; 00024 00028 class DT_DLL_VRVCORE DtWindowProctor : public DtProctor 00029 { 00030 public: 00031 00032 friend class DtWindowProxy; 00033 00036 static DtWindowProctor& instance(DtDe& de); 00037 00039 DtWindowProctor(DtDe& de); 00040 00042 virtual ~DtWindowProctor(); 00043 00044 00045 protected: 00046 00048 00049 virtual void addChannel(const std::string& displayName, const std::string& windowName, 00050 const DtChannelConfiguration& config) = 0; 00051 00053 static void decode_addChannel(DtProctor* proctor,DtMessage& msg); 00054 00056 static void serialize_addChannel(DtMessage& msg, std::string& displayName, std::string& windowName, 00057 DtChannelConfiguration& config); 00059 00061 00062 virtual void destroyChannel(const std::string& displayName, const std::string& windowName, 00063 const std::string& channelName) = 0; 00064 00066 static void decode_destroyChannel(DtProctor* proctor,DtMessage& msg); 00067 00069 static void serialize_destroyChannel(DtMessage& msg, std::string& displayName, std::string& windowName, 00070 std::string& channelName); 00072 00074 00075 virtual void modifyChannel(const std::string& displayName, const std::string& windowName, 00076 const std::string& channelName, const DtChannelConfiguration& config) = 0; 00077 00079 static void decode_modifyChannel(DtProctor* proctor,DtMessage& msg); 00080 00082 static void serialize_modifyChannel(DtMessage& msg, std::string& displayName, std::string& windowName, 00083 std::string& channelName, DtChannelConfiguration& config); 00085 00086 }; 00087 } 00088 00089 #endif 00090