Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
rl::hal::Gnuplot Class Reference

#include <Gnuplot.h>

Inheritance diagram for rl::hal::Gnuplot:
Inheritance graph
[legend]
Collaboration diagram for rl::hal::Gnuplot:
Collaboration graph
[legend]

Public Member Functions

 Gnuplot (const ::std::size_t &dof, const ::rl::math::Real &updateRate, const ::rl::math::Real &ymin, const ::rl::math::Real &ymax, const ::std::size_t &max=200)
virtual ~Gnuplot ()
void close ()
void open ()
void setJointPosition (const ::rl::math::Vector &q)
void setRange (const ::rl::math::Real &ymin, const ::rl::math::Real &ymax)
void start ()
void step ()
void stop ()
- Public Member Functions inherited from rl::hal::JointPositionActuator
 JointPositionActuator (const ::std::size_t &dof, const ::rl::math::Real &updateRate)
virtual ~JointPositionActuator ()
- Public Member Functions inherited from rl::hal::AxisController
 AxisController (const ::std::size_t &dof, const ::rl::math::Real &updateRate)
virtual ~AxisController ()
::std::size_t getDof () const
virtual ::rl::math::Real getUpdateRate () const
- Public Member Functions inherited from rl::hal::Device
 Device ()
virtual ~Device ()
bool isConnected () const
bool isRunning () const

Private Attributes

FILE * fp
::std::list< ::rl::math::Vectorhistory
::std::size_t max
::rl::math::Real ymax
::rl::math::Real ymin

Additional Inherited Members

- Protected Member Functions inherited from rl::hal::Device
void setConnected (const bool &connected)
void setRunning (const bool &running)

Constructor & Destructor Documentation

rl::hal::Gnuplot::Gnuplot ( const ::std::size_t &  dof,
const ::rl::math::Real updateRate,
const ::rl::math::Real ymin,
const ::rl::math::Real ymax,
const ::std::size_t &  max = 200 
)
rl::hal::Gnuplot::~Gnuplot ( )
virtual

Member Function Documentation

void rl::hal::Gnuplot::close ( )
virtual
Precondition
stop()

Implements rl::hal::Device.

void rl::hal::Gnuplot::open ( )
virtual

Implements rl::hal::Device.

void rl::hal::Gnuplot::setJointPosition ( const ::rl::math::Vector q)
virtual
void rl::hal::Gnuplot::setRange ( const ::rl::math::Real ymin,
const ::rl::math::Real ymax 
)
void rl::hal::Gnuplot::start ( )
virtual
Precondition
open()

Implements rl::hal::Device.

void rl::hal::Gnuplot::step ( )
virtual
Precondition
start()

Implements rl::hal::Device.

void rl::hal::Gnuplot::stop ( )
virtual
Precondition
open()

Implements rl::hal::Device.

Member Data Documentation

FILE* rl::hal::Gnuplot::fp
private
::std::list< ::rl::math::Vector > rl::hal::Gnuplot::history
private
::std::size_t rl::hal::Gnuplot::max
private
::rl::math::Real rl::hal::Gnuplot::ymax
private
::rl::math::Real rl::hal::Gnuplot::ymin
private

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