rtc
GraspController
GraspControllerService_impl.cpp
Go to the documentation of this file.
1
// -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
2
#include <iostream>
3
#include "
GraspControllerService_impl.h
"
4
#include "
GraspController.h
"
5
6
GraspControllerService_impl::GraspControllerService_impl
()
7
{
8
}
9
10
GraspControllerService_impl::~GraspControllerService_impl
()
11
{
12
}
13
14
bool
GraspControllerService_impl::startGrasp
(
const
char
*name,
double
target_error)
15
{
16
return
m_grasp
->
startGrasp
(name, target_error);
17
}
18
19
bool
GraspControllerService_impl::stopGrasp
(
const
char
*name)
20
{
21
return
m_grasp
->
stopGrasp
(name);
22
}
23
24
void
GraspControllerService_impl::grasp
(
GraspController
*i_grasp)
25
{
26
m_grasp
= i_grasp;
27
}
GraspControllerService_impl.h
GraspControllerService_impl::m_grasp
GraspController * m_grasp
Definition:
GraspControllerService_impl.h:29
GraspControllerService_impl::startGrasp
bool startGrasp(const char *name, double target_error)
Definition:
GraspControllerService_impl.cpp:14
GraspControllerService_impl::~GraspControllerService_impl
virtual ~GraspControllerService_impl()
destructor
Definition:
GraspControllerService_impl.cpp:10
GraspController.h
null component
GraspController
sample RT component which has one data input port and one data output port
Definition:
GraspController.h:39
GraspControllerService_impl::grasp
void grasp(GraspController *i_grasp)
Definition:
GraspControllerService_impl.cpp:24
GraspController::startGrasp
bool startGrasp(const char *name, double target_error)
Definition:
GraspController.cpp:323
GraspControllerService_impl::stopGrasp
bool stopGrasp(const char *name)
Definition:
GraspControllerService_impl.cpp:19
GraspControllerService_impl::GraspControllerService_impl
GraspControllerService_impl()
constructor
Definition:
GraspControllerService_impl.cpp:6
GraspController::stopGrasp
bool stopGrasp(const char *name)
Definition:
GraspController.cpp:334
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:20