Robotics Library  0.7.0
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]

Public Member Functions

 Gnuplot (const ::std::size_t &dof, const ::std::chrono::nanoseconds &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::CyclicDevice
 CyclicDevice (const ::std::chrono::nanoseconds &updateRate)
 
virtual ~CyclicDevice ()
 
virtual ::std::chrono::nanoseconds getUpdateRate () const
 
- Public Member Functions inherited from rl::hal::Device
 Device ()
 
virtual ~Device ()
 
bool isConnected () const
 
bool isRunning () const
 
- Public Member Functions inherited from rl::hal::JointPositionActuator
 JointPositionActuator (const ::std::size_t &dof)
 
virtual ~JointPositionActuator ()
 
- Public Member Functions inherited from rl::hal::AxisController
 AxisController (const ::std::size_t &dof)
 
virtual ~AxisController ()
 
::std::size_t getDof () 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

◆ Gnuplot()

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

◆ ~Gnuplot()

rl::hal::Gnuplot::~Gnuplot ( )
virtual

Member Function Documentation

◆ close()

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

Implements rl::hal::Device.

◆ open()

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

Implements rl::hal::Device.

◆ setJointPosition()

void rl::hal::Gnuplot::setJointPosition ( const ::rl::math::Vector q)
virtual

◆ setRange()

void rl::hal::Gnuplot::setRange ( const ::rl::math::Real ymin,
const ::rl::math::Real ymax 
)

◆ start()

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

Implements rl::hal::Device.

◆ step()

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

Implements rl::hal::CyclicDevice.

◆ stop()

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

Implements rl::hal::Device.

Member Data Documentation

◆ fp

FILE* rl::hal::Gnuplot::fp
private

◆ history

::std::list< ::rl::math::Vector> rl::hal::Gnuplot::history
private

◆ max

::std::size_t rl::hal::Gnuplot::max
private

◆ ymax

::rl::math::Real rl::hal::Gnuplot::ymax
private

◆ ymin

::rl::math::Real rl::hal::Gnuplot::ymin
private

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