|
automotive-message-broker
0.14.803
|
Interface. Receives notifications about the CAN bus traffic and errors. More...
#include <canobserver.h>
Public Types | |
| enum | CANError { GENERAL_ERROR = 0 } |
Public Member Functions | |
| virtual void | errorOccured (CANObserver::CANError error)=0 |
| virtual void | standardFrameReceived (const can_frame &frame)=0 |
| virtual void | extendedFrameReceived (const can_frame &frame)=0 |
| virtual void | errorFrameReceived (const can_frame &frame)=0 |
| virtual void | remoteTransmissionRequest (const can_frame &frame)=0 |
| virtual void | timeoutDetected (const can_frame &frame)=0 |
Interface. Receives notifications about the CAN bus traffic and errors.
CANBus user has to derive from this interface.
General CAN bus error. Currently only GENERAL_ERROR is specified.
|
pure virtual |
Called when error frame was received from the bus.
| frame | Error frame |
Implemented in CANGenPlugin, and CANSimPlugin.
|
pure virtual |
Called when error occurred on the bus.
| error | Bus error code |
Implemented in CANGenPlugin, and CANSimPlugin.
|
pure virtual |
Called when extended frame was is received from the bus.
| frame | Received frame |
Implemented in CANGenPlugin, and CANSimPlugin.
|
pure virtual |
Called when remote transmission frame was received from the bus.
| frame | RTR frame |
Implemented in CANGenPlugin, and CANSimPlugin.
|
pure virtual |
Called when standard frame was is received from the bus.
| frame | Received frame |
Implemented in CANGenPlugin, and CANSimPlugin.
|
pure virtual |
Called when timeout was detected for a cyclic message.
| frame |
Implemented in CANGenPlugin, and CANSimPlugin.
1.8.2