00001 /* 00002 * Copyright Staffan Gimåker 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_SLIDER_PROXY_HH_INCLUDED 00012 #define PEEKABOT_CLIENT_SLIDER_PROXY_HH_INCLUDED 00013 00014 00015 #include "JointProxy.hh" 00016 00017 00018 namespace peekabot 00019 { 00020 namespace client 00021 { 00025 class PEEKABOT_API SliderProxyBase : public JointProxyBase 00026 { 00027 public: 00028 SliderProxyBase(); 00029 00030 SliderProxyBase(const SliderProxyBase &p); 00031 00038 DelayedDispatch set_axis( 00039 float x, float y, float z, 00040 CoordinateSystem coord_sys = PARENT_COORDINATES); 00041 }; 00042 00043 00047 class PEEKABOT_API SliderProxy : public SliderProxyBase 00048 { 00049 public: 00050 SliderProxy(); 00051 00052 SliderProxy(const SliderProxyBase &p); 00053 00054 SliderProxy &operator=(const SliderProxy &p); 00055 00056 SliderProxy &operator=(const SliderProxyBase &p); 00057 00061 DelayedDispatch assign(const ObjectProxyBase &p); 00062 00066 DelayedDispatch assign( 00067 PeekabotClient &client, 00068 const std::string &path); 00069 00074 DelayedDispatch assign( 00075 const ObjectProxyBase &parent, 00076 const std::string &rel_path); 00077 00088 DelayedDispatch add( 00089 PeekabotClient &client, 00090 const std::string &path, 00091 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00092 00103 DelayedDispatch add( 00104 const ObjectProxyBase &parent, 00105 const std::string &name, 00106 NameConflictPolicy conflict_policy = AUTO_ENUMERATE_ON_CONFLICT); 00107 }; 00108 } 00109 } 00110 00111 00112 #endif // PEEKABOT_CLIENT_SLIDER_PROXY_HH_INCLUDED
1.7.1