00001 /* 00002 * Copyright Staffan Gimåker 2008-2009. 00003 * 00004 * --- 00005 * 00006 * Distributed under the Boost Software License, Version 1.0. 00007 * (See accompanying file LICENSE_1_0.txt or copy at 00008 * http://www.boost.org/LICENSE_1_0.txt) 00009 */ 00010 00011 #ifndef PEEKABOT_CLIENT_CYLINDER_PROXY_HH_INCLUDED 00012 #define PEEKABOT_CLIENT_CYLINDER_PROXY_HH_INCLUDED 00013 00014 00015 #include "ScalableProxy.hh" 00016 00017 00018 namespace peekabot 00019 { 00020 namespace client 00021 { 00025 class PEEKABOT_API CylinderProxyBase : public ScalableProxyBase 00026 { 00027 public: 00028 CylinderProxyBase(); 00029 00030 CylinderProxyBase(const CylinderProxyBase &p); 00031 }; 00032 00033 00037 class PEEKABOT_API CylinderProxy : public CylinderProxyBase 00038 { 00039 public: 00040 CylinderProxy(); 00041 00042 CylinderProxy(const CylinderProxyBase &p); 00043 00044 CylinderProxy &operator=(const CylinderProxy &p); 00045 00046 CylinderProxy &operator=(const CylinderProxyBase &p); 00047 00051 DelayedDispatch assign(const ObjectProxyBase &p); 00052 00056 DelayedDispatch assign( 00057 PeekabotClient &client, 00058 const std::string &path); 00059 00064 DelayedDispatch assign( 00065 const ObjectProxyBase &parent, 00066 const std::string &rel_path); 00067 00080 DelayedDispatch add( 00081 PeekabotClient &client, 00082 const std::string &path, 00083 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00084 00097 DelayedDispatch add( 00098 const ObjectProxyBase &parent, 00099 const std::string &name, 00100 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00101 }; 00102 } 00103 } 00104 00105 00106 #endif // PEEKABOT_CLIENT_CYLINDER_PROXY_HH_INCLUDED
1.7.1