OnlineBodySchemaAdaptation  2.0
Public Member Functions
handPoseEstimation_IDL Class Reference

handPoseEstimation_IDL IDL Interface to handPoseEstimation-module services. More...

#include <handPoseEstimation_IDL.h>

Inheritance diagram for handPoseEstimation_IDL:
handPoseEstimationModule

Public Member Functions

virtual bool start ()
 Start (re-start) the hand pose estimation. More...
 
virtual bool stop ()
 Stop the hand pose estimation. More...
 
virtual bool pause ()
 Pause the hand pose estimation. More...
 
virtual bool resume ()
 Resume the hand pose estimation. More...
 
virtual yarp::os::Bottle lastOffsets ()
 Ask for the last estimated angular Offsets on the arm (7DoF) More...
 
virtual bool quit ()
 Quit the module. More...
 
virtual bool read (yarp::os::ConnectionReader &connection) YARP_OVERRIDE
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 

Detailed Description

handPoseEstimation_IDL IDL Interface to handPoseEstimation-module services.

This is a fake thrift service, just to show how to structure your repo and how to document your code.

Definition at line 20 of file handPoseEstimation_IDL.h.

Member Function Documentation

yarp::os::Bottle handPoseEstimation_IDL::lastOffsets ( )
virtual

Ask for the last estimated angular Offsets on the arm (7DoF)

Returns
Bottle with last angular Offsets

Reimplemented in handPoseEstimationModule.

Definition at line 225 of file handPoseEstimation_IDL.cpp.

225  {
226  yarp::os::Bottle _return;
227  handPoseEstimation_IDL_lastOffsets helper;
228  helper.init();
229  if (!yarp().canWrite()) {
230  yError("Missing server method '%s'?","yarp::os::Bottle handPoseEstimation_IDL::lastOffsets()");
231  }
232  bool ok = yarp().write(helper,helper);
233  return ok?helper._return:_return;
234 }
bool handPoseEstimation_IDL::pause ( )
virtual

Pause the hand pose estimation.

The filter stop the generation of particles and waits for a resume command

Returns
true/false on success/failure

Reimplemented in handPoseEstimationModule.

Definition at line 205 of file handPoseEstimation_IDL.cpp.

205  {
206  bool _return = false;
207  handPoseEstimation_IDL_pause helper;
208  helper.init();
209  if (!yarp().canWrite()) {
210  yError("Missing server method '%s'?","bool handPoseEstimation_IDL::pause()");
211  }
212  bool ok = yarp().write(helper,helper);
213  return ok?helper._return:_return;
214 }
bool handPoseEstimation_IDL::quit ( )
virtual

Quit the module.

Returns
true/false on success/failure

Reimplemented in handPoseEstimationModule.

Definition at line 235 of file handPoseEstimation_IDL.cpp.

235  {
236  bool _return = false;
237  handPoseEstimation_IDL_quit helper;
238  helper.init();
239  if (!yarp().canWrite()) {
240  yError("Missing server method '%s'?","bool handPoseEstimation_IDL::quit()");
241  }
242  bool ok = yarp().write(helper,helper);
243  return ok?helper._return:_return;
244 }
bool handPoseEstimation_IDL::resume ( )
virtual

Resume the hand pose estimation.

The filter resumes the generation of particles after a pause command

Returns
true/false on success/failure

Reimplemented in handPoseEstimationModule.

Definition at line 215 of file handPoseEstimation_IDL.cpp.

215  {
216  bool _return = false;
217  handPoseEstimation_IDL_resume helper;
218  helper.init();
219  if (!yarp().canWrite()) {
220  yError("Missing server method '%s'?","bool handPoseEstimation_IDL::resume()");
221  }
222  bool ok = yarp().write(helper,helper);
223  return ok?helper._return:_return;
224 }
bool handPoseEstimation_IDL::start ( )
virtual

Start (re-start) the hand pose estimation.

The filter generates particles and update the particle distribution accordingly

Returns
true/false on success/failure

Reimplemented in handPoseEstimationModule.

Definition at line 185 of file handPoseEstimation_IDL.cpp.

185  {
186  bool _return = false;
187  handPoseEstimation_IDL_start helper;
188  helper.init();
189  if (!yarp().canWrite()) {
190  yError("Missing server method '%s'?","bool handPoseEstimation_IDL::start()");
191  }
192  bool ok = yarp().write(helper,helper);
193  return ok?helper._return:_return;
194 }
bool handPoseEstimation_IDL::stop ( )
virtual

Stop the hand pose estimation.

The filter stop the generation of particles and waits for a start command

Returns
true/false on success/failure

Reimplemented in handPoseEstimationModule.

Definition at line 195 of file handPoseEstimation_IDL.cpp.

195  {
196  bool _return = false;
197  handPoseEstimation_IDL_stop helper;
198  helper.init();
199  if (!yarp().canWrite()) {
200  yError("Missing server method '%s'?","bool handPoseEstimation_IDL::stop()");
201  }
202  bool ok = yarp().write(helper,helper);
203  return ok?helper._return:_return;
204 }

The documentation for this class was generated from the following files: