00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #include <iostream> 00003 #include "GraspControllerService_impl.h" 00004 #include "GraspController.h" 00005 00006 GraspControllerService_impl::GraspControllerService_impl() 00007 { 00008 } 00009 00010 GraspControllerService_impl::~GraspControllerService_impl() 00011 { 00012 } 00013 00014 bool GraspControllerService_impl::startGrasp(const char *name, double target_error) 00015 { 00016 return m_grasp->startGrasp(name, target_error); 00017 } 00018 00019 bool GraspControllerService_impl::stopGrasp(const char *name) 00020 { 00021 return m_grasp->stopGrasp(name); 00022 } 00023 00024 void GraspControllerService_impl::grasp(GraspController *i_grasp) 00025 { 00026 m_grasp = i_grasp; 00027 }