iSpike  2.1
Spike conversion library for robotics
ispike::AngleReader Class Reference

#include <AngleReader.hpp>

Inheritance diagram for ispike::AngleReader:
ispike::Reader ispike::PropertyHolder ispike::ISpikeThread ispike::FileAngleReader ispike::YarpAngleReader

List of all members.

Public Member Functions

 AngleReader ()
virtual ~AngleReader ()
double getAngle ()
void setDegreeOfFreedom (unsigned dof)
void setAngle (double angle)

Protected Attributes

double angle
unsigned degreeOfFreedom

Detailed Description

AngleReader continuously fetches and retrieves joint angles upon request

Definition at line 9 of file AngleReader.hpp.


Constructor & Destructor Documentation

Definition at line 11 of file AngleReader.hpp.

virtual ispike::AngleReader::~AngleReader ( ) [inline, virtual]

Definition at line 12 of file AngleReader.hpp.


Member Function Documentation

double ispike::AngleReader::getAngle ( ) [inline]

Retrieves the angle

Definition at line 15 of file AngleReader.hpp.

void ispike::AngleReader::setAngle ( double  angle) [inline]

Sets the angle

Definition at line 21 of file AngleReader.hpp.

void ispike::AngleReader::setDegreeOfFreedom ( unsigned  dof) [inline]

Sets the degree of freedom

Definition at line 18 of file AngleReader.hpp.


Member Data Documentation

double ispike::AngleReader::angle [protected]

The angle that is read by the reader

Definition at line 26 of file AngleReader.hpp.

Degree of freedom of the joint

Definition at line 29 of file AngleReader.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines