StabilizerService_impl.cpp
Go to the documentation of this file.
00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
00002 #include <iostream>
00003 #include "StabilizerService_impl.h"
00004 #include "Stabilizer.h"
00005 
00006 StabilizerService_impl::StabilizerService_impl() : m_stabilizer(NULL)
00007 {
00008 }
00009 
00010 StabilizerService_impl::~StabilizerService_impl()
00011 {
00012 }
00013 
00014 void StabilizerService_impl::startStabilizer(void)
00015 {
00016         m_stabilizer->startStabilizer();
00017 }
00018 
00019 void StabilizerService_impl::stopStabilizer(void)
00020 {
00021         m_stabilizer->stopStabilizer();
00022 }
00023 
00024 void StabilizerService_impl::getParameter(OpenHRP::StabilizerService::stParam_out i_param)
00025 {
00026   i_param = new OpenHRP::StabilizerService::stParam();
00027   return m_stabilizer->getParameter(*i_param);
00028 };
00029 
00030 void StabilizerService_impl::setParameter(const OpenHRP::StabilizerService::stParam& i_stp)
00031 {
00032         m_stabilizer->setParameter(i_stp);
00033 }
00034 
00035 bool StabilizerService_impl::dummy()
00036 {
00037         std::cout << "StabilizerService: " << std::endl;
00038 }
00039 
00040 void StabilizerService_impl::stabilizer(Stabilizer *i_stabilizer)
00041 {
00042   m_stabilizer = i_stabilizer;
00043 } 


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:56