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_JOINT_PROXY_HH_INCLUDED 00012 #define PEEKABOT_CLIENT_JOINT_PROXY_HH_INCLUDED 00013 00014 00015 #include "ObjectProxy.hh" 00016 00017 00018 namespace peekabot 00019 { 00020 namespace client 00021 { 00025 class PEEKABOT_API JointProxyBase : public ObjectProxyBase 00026 { 00027 public: 00028 JointProxyBase(); 00029 00030 JointProxyBase(const JointProxyBase &p); 00031 00038 DelayedDispatch set_dof(float val); 00039 00043 DelayedDispatch set_min(float min); 00044 00048 DelayedDispatch set_max(float max); 00049 00054 DelayedDispatch set_offset(float offset); 00055 }; 00056 00057 00061 class PEEKABOT_API JointProxy : public JointProxyBase 00062 { 00063 public: 00064 JointProxy(); 00065 00066 JointProxy(const JointProxyBase &p); 00067 00068 JointProxy &operator=(const JointProxy &p); 00069 00070 JointProxy &operator=(const JointProxyBase &p); 00071 00075 DelayedDispatch assign(const ObjectProxyBase &p); 00076 00080 DelayedDispatch assign( 00081 PeekabotClient &client, 00082 const std::string &path); 00083 00088 DelayedDispatch assign( 00089 const ObjectProxyBase &parent, 00090 const std::string &rel_path); 00091 }; 00092 } 00093 } 00094 00095 00096 #endif // PEEKABOT_CLIENT_JOINT_PROXY_HH_INCLUDED
1.7.1