iCub-main
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iCub::iKin::InputPort Class Reference

#include <iKinSlv.h>

+ Inheritance diagram for iCub::iKin::InputPort:

Public Member Functions

 InputPort (CartesianSolver *_slv)
 
int & get_pose ()
 
bool & get_contMode ()
 
double * get_tokenPtr ()
 
yarp::sig::Vector get_dof ()
 
yarp::sig::Vector get_xd ()
 
void set_dof (const yarp::sig::Vector &_dof)
 
void reset_xd (const yarp::sig::Vector &_xd)
 
bool isNewDataEvent ()
 
bool handleTarget (yarp::os::Bottle *b)
 
bool handleDOF (yarp::os::Bottle *b)
 
bool handlePose (const int newPose)
 
bool handleMode (const int newMode)
 

Protected Member Functions

virtual void onRead (yarp::os::Bottle &b)
 

Protected Attributes

CartesianSolverslv
 
std::mutex mtx
 
bool contMode
 
bool isNew
 
size_t maxLen
 
int pose
 
double token
 
double * pToken
 
yarp::sig::Vector dof
 
yarp::sig::Vector xd
 

Detailed Description

Definition at line 276 of file iKinSlv.h.

Constructor & Destructor Documentation

◆ InputPort()

InputPort::InputPort ( CartesianSolver _slv)

Definition at line 60 of file iKinSlv.cpp.

Member Function Documentation

◆ get_contMode()

bool& iCub::iKin::InputPort::get_contMode ( )
inline

Definition at line 300 of file iKinSlv.h.

◆ get_dof()

Vector InputPort::get_dof ( )

Definition at line 85 of file iKinSlv.cpp.

◆ get_pose()

int& iCub::iKin::InputPort::get_pose ( )
inline

Definition at line 299 of file iKinSlv.h.

◆ get_tokenPtr()

double* iCub::iKin::InputPort::get_tokenPtr ( )
inline

Definition at line 301 of file iKinSlv.h.

◆ get_xd()

Vector InputPort::get_xd ( )

Definition at line 94 of file iKinSlv.cpp.

◆ handleDOF()

bool InputPort::handleDOF ( yarp::os::Bottle *  b)

Definition at line 141 of file iKinSlv.cpp.

◆ handleMode()

bool InputPort::handleMode ( const int  newMode)

Definition at line 186 of file iKinSlv.cpp.

◆ handlePose()

bool InputPort::handlePose ( const int  newPose)

Definition at line 162 of file iKinSlv.cpp.

◆ handleTarget()

bool InputPort::handleTarget ( yarp::os::Bottle *  b)

Definition at line 125 of file iKinSlv.cpp.

◆ isNewDataEvent()

bool InputPort::isNewDataEvent ( )

Definition at line 112 of file iKinSlv.cpp.

◆ onRead()

void InputPort::onRead ( yarp::os::Bottle &  b)
protectedvirtual

Definition at line 208 of file iKinSlv.cpp.

◆ reset_xd()

void InputPort::reset_xd ( const yarp::sig::Vector &  _xd)

Definition at line 103 of file iKinSlv.cpp.

◆ set_dof()

void InputPort::set_dof ( const yarp::sig::Vector &  _dof)

Definition at line 77 of file iKinSlv.cpp.

Member Data Documentation

◆ contMode

bool iCub::iKin::InputPort::contMode
protected

Definition at line 283 of file iKinSlv.h.

◆ dof

yarp::sig::Vector iCub::iKin::InputPort::dof
protected

Definition at line 291 of file iKinSlv.h.

◆ isNew

bool iCub::iKin::InputPort::isNew
protected

Definition at line 284 of file iKinSlv.h.

◆ maxLen

size_t iCub::iKin::InputPort::maxLen
protected

Definition at line 285 of file iKinSlv.h.

◆ mtx

std::mutex iCub::iKin::InputPort::mtx
protected

Definition at line 281 of file iKinSlv.h.

◆ pose

int iCub::iKin::InputPort::pose
protected

Definition at line 286 of file iKinSlv.h.

◆ pToken

double* iCub::iKin::InputPort::pToken
protected

Definition at line 289 of file iKinSlv.h.

◆ slv

CartesianSolver* iCub::iKin::InputPort::slv
protected

Definition at line 279 of file iKinSlv.h.

◆ token

double iCub::iKin::InputPort::token
protected

Definition at line 288 of file iKinSlv.h.

◆ xd

yarp::sig::Vector iCub::iKin::InputPort::xd
protected

Definition at line 292 of file iKinSlv.h.


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