Public Types | Public Member Functions | Public Attributes | List of all members
canopen::Mode Class Referenceabstract

#include <motor.h>

Inheritance diagram for canopen::Mode:
Inheritance graph
[legend]

Public Types

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 Member Functions

 Mode (uint16_t id)
 
virtual bool read (const uint16_t &sw)=0
 
virtual bool setTarget (const double &val)
 
virtual bool start ()=0
 
virtual bool write (OpModeAccesser &cw)=0
 
virtual ~Mode ()
 

Public Attributes

const uint16_t mode_id_
 

Detailed Description

Definition at line 129 of file motor.h.

Member Typedef Documentation

Definition at line 133 of file motor.h.

Constructor & Destructor Documentation

canopen::Mode::Mode ( uint16_t  id)
inline

Definition at line 132 of file motor.h.

virtual canopen::Mode::~Mode ( )
inlinevirtual

Definition at line 138 of file motor.h.

Member Function Documentation

virtual bool canopen::Mode::read ( const uint16_t &  sw)
pure virtual
virtual bool canopen::Mode::setTarget ( const double &  val)
inlinevirtual
virtual bool canopen::Mode::start ( )
pure virtual
virtual bool canopen::Mode::write ( OpModeAccesser cw)
pure virtual

Member Data Documentation

const uint16_t canopen::Mode::mode_id_

Definition at line 131 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