00001 #include <iostream> 00002 #include "EmergencyStopperService_impl.h" 00003 #include "EmergencyStopper.h" 00004 00005 EmergencyStopperService_impl::EmergencyStopperService_impl() 00006 { 00007 } 00008 00009 EmergencyStopperService_impl::~EmergencyStopperService_impl() 00010 { 00011 } 00012 00013 void EmergencyStopperService_impl::stopMotion() 00014 { 00015 m_emergencystopper->stopMotion(); 00016 } 00017 00018 void EmergencyStopperService_impl::releaseMotion() 00019 { 00020 m_emergencystopper->releaseMotion(); 00021 } 00022 00023 CORBA::Boolean EmergencyStopperService_impl::getEmergencyStopperParam(OpenHRP::EmergencyStopperService::EmergencyStopperParam& i_param) 00024 { 00025 return m_emergencystopper->getEmergencyStopperParam(i_param); 00026 }; 00027 00028 CORBA::Boolean EmergencyStopperService_impl::setEmergencyStopperParam(const OpenHRP::EmergencyStopperService::EmergencyStopperParam& i_param) 00029 { 00030 return m_emergencystopper->setEmergencyStopperParam(i_param); 00031 }; 00032 00033 void EmergencyStopperService_impl::emergencystopper(EmergencyStopper *i_emergencystopper) 00034 { 00035 m_emergencystopper = i_emergencystopper; 00036 }