Classes | Public Types | Public Member Functions | Protected Member Functions
canopen::MotorBase Class Reference

#include <base.h>

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

List of all members.

Classes

class  Allocator

Public Types

enum  OperationMode {
  No_Mode = 0, Profiled_Position = 1, Velocity = 2, Profiled_Velocity = 3,
  Profiled_Torque = 4, Reserved = 5, Homing = 6, Interpolated_Position = 7,
  Cyclic_Synchronous_Position = 8, Cyclic_Synchronous_Velocity = 9, Cyclic_Synchronous_Torque = 10
}

Public Member Functions

virtual bool enterModeAndWait (uint16_t mode)=0
virtual uint16_t getMode ()=0
virtual bool isModeSupported (uint16_t mode)=0
virtual void registerDefaultModes (boost::shared_ptr< ObjectStorage > storage)
virtual bool setTarget (double val)=0

Protected Member Functions

 MotorBase (const std::string &name)

Detailed Description

Definition at line 9 of file base.h.


Member Enumeration Documentation

Enumerator:
No_Mode 
Profiled_Position 
Velocity 
Profiled_Velocity 
Profiled_Torque 
Reserved 
Homing 
Interpolated_Position 
Cyclic_Synchronous_Position 
Cyclic_Synchronous_Velocity 
Cyclic_Synchronous_Torque 

Definition at line 13 of file base.h.


Constructor & Destructor Documentation

canopen::MotorBase::MotorBase ( const std::string &  name) [inline, protected]

Definition at line 11 of file base.h.


Member Function Documentation

virtual bool canopen::MotorBase::enterModeAndWait ( uint16_t  mode) [pure virtual]

Implemented in canopen::Motor402.

virtual uint16_t canopen::MotorBase::getMode ( ) [pure virtual]

Implemented in canopen::Motor402.

virtual bool canopen::MotorBase::isModeSupported ( uint16_t  mode) [pure virtual]

Implemented in canopen::Motor402.

virtual void canopen::MotorBase::registerDefaultModes ( boost::shared_ptr< ObjectStorage storage) [inline, virtual]

Reimplemented in canopen::Motor402.

Definition at line 31 of file base.h.

virtual bool canopen::MotorBase::setTarget ( double  val) [pure virtual]

Implemented in canopen::Motor402.


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


canopen_402
Author(s): Thiago de Freitas , Mathias L├╝dtke
autogenerated on Sun Sep 3 2017 03:10:49