ros2_canopen  master
C++ ROS CANopen Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
ros2_canopen::ModeTargetHelper< T > Class Template Reference

#include <mode_target_helper.hpp>

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

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from ros2_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 ros2_canopen::Mode
const uint16_t mode_id_
 

Constructor & Destructor Documentation

◆ ModeTargetHelper()

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

Member Function Documentation

◆ hasTarget()

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

◆ getTarget()

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

◆ setTarget()

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

Reimplemented from ros2_canopen::Mode.

◆ start()

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

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