00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #include <iostream> 00003 #include "ThermoLimiterService_impl.h" 00004 #include "ThermoLimiter.h" 00005 00006 ThermoLimiterService_impl::ThermoLimiterService_impl() : m_thermolimiter(NULL) 00007 { 00008 } 00009 00010 ThermoLimiterService_impl::~ThermoLimiterService_impl() 00011 { 00012 } 00013 00014 CORBA::Boolean ThermoLimiterService_impl::setParameter(const OpenHRP::ThermoLimiterService::tlParam& i_param) 00015 { 00016 return m_thermolimiter->setParameter(i_param); 00017 }; 00018 00019 CORBA::Boolean ThermoLimiterService_impl::getParameter(OpenHRP::ThermoLimiterService::tlParam_out i_param) 00020 { 00021 i_param = OpenHRP::ThermoLimiterService::tlParam(); 00022 return m_thermolimiter->getParameter(i_param); 00023 }; 00024 00025 void ThermoLimiterService_impl::thermolimiter(ThermoLimiter *i_thermolimiter) 00026 { 00027 m_thermolimiter = i_thermolimiter; 00028 }