00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #include <iostream> 00003 #include "VirtualForceSensorService_impl.h" 00004 #include "VirtualForceSensor.h" 00005 00006 VirtualForceSensorService_impl::VirtualForceSensorService_impl() : m_vfsensor(NULL) 00007 { 00008 } 00009 00010 VirtualForceSensorService_impl::~VirtualForceSensorService_impl() 00011 { 00012 } 00013 00014 CORBA::Boolean VirtualForceSensorService_impl::removeVirtualForceSensorOffset(const char *sensorName) 00015 { 00016 return m_vfsensor->removeVirtualForceSensorOffset(std::string(sensorName)); 00017 } 00018 00019 void VirtualForceSensorService_impl::vfsensor(VirtualForceSensor *i_vfsensor) 00020 { 00021 m_vfsensor = i_vfsensor; 00022 } 00023