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_SPHERE_PROXY_HH_INCLUDED 00012 #define PEEKABOT_CLIENT_SPHERE_PROXY_HH_INCLUDED 00013 00014 00015 #include "ScalableProxy.hh" 00016 00017 00018 namespace peekabot 00019 { 00020 namespace client 00021 { 00025 class PEEKABOT_API SphereProxyBase : public ScalableProxyBase 00026 { 00027 public: 00028 SphereProxyBase(); 00029 00030 SphereProxyBase(const SphereProxyBase &p); 00031 }; 00032 00033 00037 class PEEKABOT_API SphereProxy : public SphereProxyBase 00038 { 00039 public: 00040 SphereProxy(); 00041 00042 SphereProxy(const SphereProxyBase &p); 00043 00044 SphereProxy &operator=(const SphereProxy &p); 00045 00046 SphereProxy &operator=(const SphereProxyBase &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 00079 DelayedDispatch add( 00080 PeekabotClient &client, 00081 const std::string &path, 00082 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00083 00096 DelayedDispatch add( 00097 const ObjectProxyBase &parent, 00098 const std::string &name, 00099 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00100 }; 00101 } 00102 } 00103 00104 00105 #endif // PEEKABOT_CLIENT_SPHERE_PROXY_HH_INCLUDED
1.7.1