ReferenceForceUpdaterService_impl.cpp
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #include <iostream>
00003 #include "ReferenceForceUpdaterService_impl.h"
00004 #include "ReferenceForceUpdater.h"
00005 
00006 ReferenceForceUpdaterService_impl::ReferenceForceUpdaterService_impl()
00007 {
00008 }
00009 
00010 ReferenceForceUpdaterService_impl::~ReferenceForceUpdaterService_impl()
00011 {
00012 }
00013 
00014 CORBA::Boolean ReferenceForceUpdaterService_impl::setReferenceForceUpdaterParam(const char *i_name_, const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam& i_param)
00015 {
00016     return m_rfu->setReferenceForceUpdaterParam(std::string(i_name_), i_param);
00017 };
00018 
00019 CORBA::Boolean ReferenceForceUpdaterService_impl::getReferenceForceUpdaterParam(const char *i_name_, OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out i_param)
00020 {
00021     i_param = new OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam();
00022     i_param->motion_dir.length(3);
00023     return m_rfu->getReferenceForceUpdaterParam(std::string(i_name_), i_param);
00024 };
00025 
00026 CORBA::Boolean ReferenceForceUpdaterService_impl::startReferenceForceUpdater(const char *i_name_)
00027 {
00028     return m_rfu->startReferenceForceUpdater(std::string(i_name_));
00029 };
00030 
00031 CORBA::Boolean ReferenceForceUpdaterService_impl::stopReferenceForceUpdater(const char *i_name_)
00032 {
00033     return m_rfu->stopReferenceForceUpdater(std::string(i_name_));
00034 };
00035 
00036 CORBA::Boolean ReferenceForceUpdaterService_impl::startReferenceForceUpdaterNoWait(const char *i_name_)
00037 {
00038     return m_rfu->startReferenceForceUpdaterNoWait(std::string(i_name_));
00039 };
00040 
00041 CORBA::Boolean ReferenceForceUpdaterService_impl::stopReferenceForceUpdaterNoWait(const char *i_name_)
00042 {
00043     return m_rfu->stopReferenceForceUpdaterNoWait(std::string(i_name_));
00044 };
00045 
00046 void ReferenceForceUpdaterService_impl::waitReferenceForceUpdaterTransition(const char* i_name_)
00047 {
00048     return m_rfu->waitReferenceForceUpdaterTransition(std::string(i_name_));
00049 };
00050 
00051 
00052 CORBA::Boolean ReferenceForceUpdaterService_impl::getSupportedReferenceForceUpdaterNameSequence(OpenHRP::ReferenceForceUpdaterService::StrSequence_out o_names)
00053 {
00054     o_names = new OpenHRP::ReferenceForceUpdaterService::StrSequence();
00055     return m_rfu->getSupportedReferenceForceUpdaterNameSequence(o_names);
00056 };
00057 
00058 
00059 void ReferenceForceUpdaterService_impl::rfu(ReferenceForceUpdater *i_rfu)
00060 {
00061     m_rfu = i_rfu;
00062 };
00063 


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:18