Public Member Functions | Private Attributes | List of all members
canopen::ModeTargetHelper< T > Class Template Reference

#include <motor.h>

Inheritance diagram for canopen::ModeTargetHelper< T >:
Inheritance graph
[legend]

Public Member Functions

getTarget ()
 
bool hasTarget ()
 
 ModeTargetHelper (uint16_t mode)
 
virtual bool setTarget (const double &val)
 
virtual bool start ()
 
- Public Member Functions inherited from canopen::Mode
 Mode (uint16_t id)
 
virtual bool read (const uint16_t &sw)=0
 
virtual bool write (OpModeAccesser &cw)=0
 
virtual ~Mode ()
 

Private Attributes

boost::atomic< bool > has_target_
 
target_
 

Additional Inherited Members

- Public Types inherited from canopen::Mode
typedef WordAccessor<(1<< Command402::CW_Operation_mode_specific0)|(1<< Command402::CW_Operation_mode_specific1)|(1<< Command402::CW_Operation_mode_specific2)|(1<< Command402::CW_Operation_mode_specific3)> OpModeAccesser
 
- Public Attributes inherited from canopen::Mode
const uint16_t mode_id_
 

Detailed Description

template<typename T>
class canopen::ModeTargetHelper< T >

Definition at line 142 of file motor.h.

Constructor & Destructor Documentation

template<typename T>
canopen::ModeTargetHelper< T >::ModeTargetHelper ( uint16_t  mode)
inline

Definition at line 147 of file motor.h.

Member Function Documentation

template<typename T>
T canopen::ModeTargetHelper< T >::getTarget ( )
inline

Definition at line 149 of file motor.h.

template<typename T>
bool canopen::ModeTargetHelper< T >::hasTarget ( )
inline

Definition at line 148 of file motor.h.

template<typename T>
virtual bool canopen::ModeTargetHelper< T >::setTarget ( const double &  val)
inlinevirtual

Reimplemented from canopen::Mode.

Definition at line 150 of file motor.h.

template<typename T>
virtual bool canopen::ModeTargetHelper< T >::start ( )
inlinevirtual

Implements canopen::Mode.

Reimplemented in canopen::ProfiledPositionMode.

Definition at line 180 of file motor.h.

Member Data Documentation

template<typename T>
boost::atomic<bool> canopen::ModeTargetHelper< T >::has_target_
private

Definition at line 144 of file motor.h.

template<typename T>
T canopen::ModeTargetHelper< T >::target_
private

Definition at line 143 of file motor.h.


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


canopen_402
Author(s): Thiago de Freitas , Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:44