#include <CANDeviceInterface.hpp>

Public Types | |
| enum | NodeStatus { PowerOff, Initialisation, PreOperational, Stopped, Operational } |
| The CANOpen State Diagram of a Device. | |
Public Member Functions | |
| CANDeviceInterface () | |
| A CANDevice is in the PowerOff status after construction. | |
| virtual unsigned int | nodeId () const =0 |
| Returns the node ID of this device. | |
| virtual void | process (const CANMessage *msg)=0 |
| This method instructs the CANDeviceInterface instance to process a certain CANMessage. | |
Public Attributes | |
| NodeStatus | status |
| The state of this device. | |
This can be the controller or a normal slave. CANOpen devices on a CANOpenBus receive only CANMessage objects for their node id.
CANMessage for (de-)composing messages.
Definition at line 62 of file CANDeviceInterface.hpp.
| virtual void process | ( | const CANMessage * | msg | ) | [pure virtual, inherited] |
This method instructs the CANDeviceInterface instance to process a certain CANMessage.
You are not the owner of msg.
| msg | The message to be processed by this instance. |
Implemented in CANDummyDevice, CANPieController, CANRequest, NodeGuard, and PCANController.
Referenced by CANOpenBus::write().
1.5.8