![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtChannelProxy.h,v $ $Revision: 1.15 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCore/vrvCore.h> 00015 #include <vrvUtil/DtProxy.h> 00016 #include <boost/shared_ptr.hpp> 00017 #include <string> 00018 00019 namespace makVrv 00020 { 00021 class DtChannelConfiguration; 00022 class DtChannelProctor; 00023 class DtDe; 00024 class DtWindowConfiguration; 00025 00028 class DT_DLL_VRVCORE DtChannelProxy : public DtProxy 00029 { 00030 friend class DtWindowProxy; 00031 public: 00032 00034 virtual ~DtChannelProxy(); 00035 00037 const DtChannelConfiguration& configuration() const; 00038 00040 00042 00044 00046 00048 00050 const std::string& displayName() const; 00051 00053 const std::string& windowName() const; 00054 00056 const std::string& channelName() const; 00057 00059 00060 protected: 00061 00063 DtChannelProxy(DtDe& de, const std::string& displayName, const std::string& windowName, 00064 DtChannelConfiguration& config); 00065 00067 DtChannelProctor* proctor(); 00068 00070 00071 00072 DtDe& myDe; 00073 std::string myDisplayName; 00074 std::string myViewName; 00075 DtChannelConfiguration& myConfiguration; 00076 DtChannelProctor* myProctorCache; 00077 00079 00080 }; 00081 00082 typedef DtBoost::shared_ptr<DtChannelProxy> DtChannelProxySP; 00083 typedef DtBoost::weak_ptr<DtChannelProxy> DtChannelProxyWP; 00084 }