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

#include <AngleWriter.hpp>

Inheritance diagram for ispike::AngleWriter:
ispike::Writer ispike::PropertyHolder ispike::ISpikeThread ispike::FileAngleWriter ispike::YarpAngleWriter

List of all members.

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

Detailed Description

Angle Writer, receives an angle as input and writes it to the designated output

Definition at line 9 of file AngleWriter.hpp.


Constructor & Destructor Documentation

Definition at line 11 of file AngleWriter.hpp.

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

Definition at line 12 of file AngleWriter.hpp.


Member Function Documentation

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.


Member Data Documentation

double ispike::AngleWriter::angle [protected]

The angle that is written by the writer

Definition at line 26 of file AngleWriter.hpp.

Degree of freedom of the joint

Definition at line 29 of file AngleWriter.hpp.


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