#include <motor.h>
Public Member Functions | |
T | getTarget () |
bool | hasTarget () |
ModeTargetHelper (uint16_t mode) | |
virtual bool | setTarget (const double &val) |
virtual bool | start () |
Private Attributes | |
boost::atomic< bool > | has_target_ |
T | target_ |
canopen::ModeTargetHelper< T >::ModeTargetHelper | ( | uint16_t | mode | ) | [inline] |
T canopen::ModeTargetHelper< T >::getTarget | ( | ) | [inline] |
bool canopen::ModeTargetHelper< T >::hasTarget | ( | ) | [inline] |
virtual bool canopen::ModeTargetHelper< T >::setTarget | ( | const double & | val | ) | [inline, virtual] |
Reimplemented from canopen::Mode.
virtual bool canopen::ModeTargetHelper< T >::start | ( | ) | [inline, virtual] |
Implements canopen::Mode.
Reimplemented in canopen::ProfiledPositionMode.
boost::atomic<bool> canopen::ModeTargetHelper< T >::has_target_ [private] |
T canopen::ModeTargetHelper< T >::target_ [private] |