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
 
yarp::os::Mutex mutex
 
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 263 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 287 of file iKinSlv.h.

◆ get_dof()

Vector InputPort::get_dof ( )

Definition at line 86 of file iKinSlv.cpp.

◆ get_pose()

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

Definition at line 286 of file iKinSlv.h.

◆ get_tokenPtr()

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

Definition at line 288 of file iKinSlv.h.

◆ get_xd()

Vector InputPort::get_xd ( )

Definition at line 96 of file iKinSlv.cpp.

◆ handleDOF()

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

Definition at line 147 of file iKinSlv.cpp.

◆ handleMode()

bool InputPort::handleMode ( const int  newMode)

Definition at line 193 of file iKinSlv.cpp.

◆ handlePose()

bool InputPort::handlePose ( const int  newPose)

Definition at line 169 of file iKinSlv.cpp.

◆ handleTarget()

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

Definition at line 129 of file iKinSlv.cpp.

◆ isNewDataEvent()

bool InputPort::isNewDataEvent ( )

Definition at line 116 of file iKinSlv.cpp.

◆ onRead()

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

Definition at line 215 of file iKinSlv.cpp.

◆ reset_xd()

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

Definition at line 106 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 270 of file iKinSlv.h.

◆ dof

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

Definition at line 278 of file iKinSlv.h.

◆ isNew

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

Definition at line 271 of file iKinSlv.h.

◆ maxLen

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

Definition at line 272 of file iKinSlv.h.

◆ mutex

yarp::os::Mutex iCub::iKin::InputPort::mutex
protected

Definition at line 268 of file iKinSlv.h.

◆ pose

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

Definition at line 273 of file iKinSlv.h.

◆ pToken

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

Definition at line 276 of file iKinSlv.h.

◆ slv

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

Definition at line 266 of file iKinSlv.h.

◆ token

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

Definition at line 275 of file iKinSlv.h.

◆ xd

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

Definition at line 279 of file iKinSlv.h.


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