ros2_canopen  master
C++ ROS CANopen Library
Public Member Functions | List of all members
ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK > Class Template Reference

#include <mode_forward_helper.hpp>

Inheritance diagram for ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK >:
Inheritance graph
[legend]
Collaboration diagram for ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK >:
Collaboration graph
[legend]

Public Member Functions

 ModeForwardHelper (std::shared_ptr< LelyDriverBridge > driver)
 
virtual bool read (const uint16_t &sw)
 
virtual bool write (Mode::OpModeAccesser &cw)
 
- Public Member Functions inherited from ros2_canopen::ModeTargetHelper< TYPE >
 ModeTargetHelper (uint16_t mode)
 
bool hasTarget ()
 
TYPE getTarget ()
 
virtual bool setTarget (const double &val)
 
virtual bool start ()
 
- Public Member Functions inherited from ros2_canopen::Mode
 Mode (uint16_t id)
 
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

◆ ModeForwardHelper()

template<uint16_t ID, typename TYPE , uint16_t OBJ, uint8_t SUB, uint16_t CW_MASK>
ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK >::ModeForwardHelper ( std::shared_ptr< LelyDriverBridge driver)
inline

Member Function Documentation

◆ read()

template<uint16_t ID, typename TYPE , uint16_t OBJ, uint8_t SUB, uint16_t CW_MASK>
virtual bool ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK >::read ( const uint16_t &  sw)
inlinevirtual

Implements ros2_canopen::Mode.

◆ write()

template<uint16_t ID, typename TYPE , uint16_t OBJ, uint8_t SUB, uint16_t CW_MASK>
virtual bool ros2_canopen::ModeForwardHelper< ID, TYPE, OBJ, SUB, CW_MASK >::write ( Mode::OpModeAccesser cw)
inlinevirtual

Implements ros2_canopen::Mode.


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