libpandac
0.0.0
A library designed for a comm.ai Panda.
|
An abstract class for new data notifications for new CAN data. More...
#include <can.h>
Public Member Functions | |
void | addToBlacklistBus (const int &busToBlock) |
Adds a BUS number to the blacklist. More... | |
void | addToBlacklistMessageId (const int &idToBlock) |
Adds a message ID number to the blacklist. More... | |
Protected Member Functions | |
virtual void | newDataNotification (CanFrame *canFrame)=0 |
Called on a successful RMC message parse Overload this to get instant updates form freshly parsed CAN frames. Be efficient in this method! This will block further CAN reads and parsings. More... | |
void | newDataNotificationProxy (CanFrame *canFrame) |
Friends | |
class | Can |
An abstract class for new data notifications for new CAN data.
This is the intended methodology for reading CAN data.
void Panda::CanListener::addToBlacklistBus | ( | const int & | busToBlock | ) |
Adds a BUS number to the blacklist.
busToBlock | The bus to be blockes |
void Panda::CanListener::addToBlacklistMessageId | ( | const int & | idToBlock | ) |
Adds a message ID number to the blacklist.
idToBlock | The message ID to be blocked |
|
protectedpure virtual |
Called on a successful RMC message parse Overload this to get instant updates form freshly parsed CAN frames. Be efficient in this method! This will block further CAN reads and parsings.
canFrame | The most recent CAN frame. |