iSpike
2.1
Spike conversion library for robotics
|
#include <AngleWriter.hpp>
Public Member Functions | |
AngleWriter () | |
virtual | ~AngleWriter () |
virtual void | setAngle (double angle)=0 |
double | getAngle () |
virtual void | setDegreeOfFreedom (int dof)=0 |
Protected Attributes | |
double | angle |
int | degreeOfFreedom |
Angle Writer, receives an angle as input and writes it to the designated output
Definition at line 9 of file AngleWriter.hpp.
ispike::AngleWriter::AngleWriter | ( | ) | [inline] |
Definition at line 11 of file AngleWriter.hpp.
virtual ispike::AngleWriter::~AngleWriter | ( | ) | [inline, virtual] |
Definition at line 12 of file AngleWriter.hpp.
double ispike::AngleWriter::getAngle | ( | ) | [inline] |
Retrieves the angle
Definition at line 18 of file AngleWriter.hpp.
virtual void ispike::AngleWriter::setAngle | ( | double | angle | ) | [pure virtual] |
Sets the angle to be output
Implemented in ispike::YarpAngleWriter, and ispike::FileAngleWriter.
virtual void ispike::AngleWriter::setDegreeOfFreedom | ( | int | dof | ) | [pure virtual] |
Sets the degree of freedom
Implemented in ispike::YarpAngleWriter, and ispike::FileAngleWriter.
double ispike::AngleWriter::angle [protected] |
The angle that is written by the writer
Definition at line 26 of file AngleWriter.hpp.
int ispike::AngleWriter::degreeOfFreedom [protected] |
Degree of freedom of the joint
Definition at line 29 of file AngleWriter.hpp.