ReferenceForceUpdaterService_impl.cpp
Go to the documentation of this file.
1 // -*- C++ -*-
2 #include <iostream>
5 
7 {
8 }
9 
11 {
12 }
13 
14 CORBA::Boolean ReferenceForceUpdaterService_impl::setReferenceForceUpdaterParam(const char *i_name_, const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam& i_param)
15 {
16  return m_rfu->setReferenceForceUpdaterParam(std::string(i_name_), i_param);
17 };
18 
19 CORBA::Boolean ReferenceForceUpdaterService_impl::getReferenceForceUpdaterParam(const char *i_name_, OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out i_param)
20 {
21  i_param = new OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam();
22  i_param->motion_dir.length(3);
23  return m_rfu->getReferenceForceUpdaterParam(std::string(i_name_), i_param);
24 };
25 
27 {
28  return m_rfu->startReferenceForceUpdater(std::string(i_name_));
29 };
30 
32 {
33  return m_rfu->stopReferenceForceUpdater(std::string(i_name_));
34 };
35 
37 {
38  return m_rfu->startReferenceForceUpdaterNoWait(std::string(i_name_));
39 };
40 
42 {
43  return m_rfu->stopReferenceForceUpdaterNoWait(std::string(i_name_));
44 };
45 
47 {
48  return m_rfu->waitReferenceForceUpdaterTransition(std::string(i_name_));
49 };
50 
51 
52 CORBA::Boolean ReferenceForceUpdaterService_impl::getSupportedReferenceForceUpdaterNameSequence(OpenHRP::ReferenceForceUpdaterService::StrSequence_out o_names)
53 {
54  o_names = new OpenHRP::ReferenceForceUpdaterService::StrSequence();
56 };
57 
58 
60 {
61  m_rfu = i_rfu;
62 };
63 
CORBA::Boolean setReferenceForceUpdaterParam(const char *i_name_, const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam &i_param)
bool stopReferenceForceUpdaterNoWait(const std::string &i_name_)
CORBA::Boolean stopReferenceForceUpdater(const char *i_name_)
sample RT component which has one data input port and one data output port
CORBA::Boolean getSupportedReferenceForceUpdaterNameSequence(OpenHRP::ReferenceForceUpdaterService::StrSequence_out o_names)
CORBA::Boolean startReferenceForceUpdaterNoWait(const char *i_name_)
void waitReferenceForceUpdaterTransition(const std::string &i_name_)
bool stopReferenceForceUpdater(const std::string &i_name_)
CORBA::Boolean stopReferenceForceUpdaterNoWait(const char *i_name_)
bool startReferenceForceUpdaterNoWait(const std::string &i_name_)
bool getReferenceForceUpdaterParam(const std::string &i_name_, OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out i_param)
bool getSupportedReferenceForceUpdaterNameSequence(OpenHRP::ReferenceForceUpdaterService::StrSequence_out o_names)
bool startReferenceForceUpdater(const std::string &i_name_)
bool setReferenceForceUpdaterParam(const std::string &i_name_, const OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam &i_param)
ReferenceForceUpdater.
CORBA::Boolean getReferenceForceUpdaterParam(const char *i_name_, OpenHRP::ReferenceForceUpdaterService::ReferenceForceUpdaterParam_out i_param)
CORBA::Boolean startReferenceForceUpdater(const char *i_name_)


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51