#include <CANBusInterface.hpp>

Public Member Functions | |
| virtual void | setController (CANControllerInterface *c)=0 |
| Specify the controller for this bus. | |
| virtual bool | addDevice (CANDeviceInterface *dev)=0 |
| Register a CANDeviceInterface instance to the bus. | |
| virtual void | removeDevice (CANDeviceInterface *dev)=0 |
| Remove a CANDeviceInterface from the bus. | |
| virtual bool | addListener (CANListenerInterface *dev)=0 |
| Register a CANListenerInterface instance to the bus. | |
| virtual void | removeListener (CANListenerInterface *dev)=0 |
| Remove a CANListenerInterface from the bus. | |
| virtual void | write (const CANMessage *msg)=0 |
| Write a CANMessage to the bus. | |
| virtual void | sync ()=0 |
| Put a sync message on the bus. | |
Definition at line 42 of file CANBusInterface.hpp.
| virtual bool addDevice | ( | CANDeviceInterface * | dev | ) | [pure virtual] |
Register a CANDeviceInterface instance to the bus.
| dev | The device to be added to the bus. |
Implemented in CANOpenBus.
Referenced by CANRequest::sendTo().
| virtual bool addListener | ( | CANListenerInterface * | dev | ) | [pure virtual] |
Register a CANListenerInterface instance to the bus.
| dev | The listener to be added to the bus. |
Implemented in CANOpenBus.
| virtual void removeDevice | ( | CANDeviceInterface * | dev | ) | [pure virtual] |
Remove a CANDeviceInterface from the bus.
| dev | The device to be removed from the bus. |
Implemented in CANOpenBus.
Referenced by CANRequest::abort().
| virtual void removeListener | ( | CANListenerInterface * | dev | ) | [pure virtual] |
Remove a CANListenerInterface from the bus.
| dev | The listener to be removed from the bus. |
Implemented in CANOpenBus.
| virtual void write | ( | const CANMessage * | msg | ) | [pure virtual] |
Write a CANMessage to the bus.
CANDevices can use this to put data on the CANBus. When this call returns, you are still the owner of msg.
| msg | A CANMessage which will be put on the bus. |
Implemented in CANOpenBus.
Referenced by CANPieController::receive(), and CANRequest::sendTo().
1.5.8