Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
IMCP2515Controller Class Referenceabstract

Interface for the MCP2515 CAN controller. QObject. More...

#include <IMCP2515Controller.hpp>

Signals

void speedUpdated (float newSpeed)
 Signal emitted when the speed is updated.
 
void rpmUpdated (int newRpm)
 Signal emitted when the RPM is updated.
 

Public Member Functions

virtual ~IMCP2515Controller ()=default
 
virtual bool init ()=0
 
virtual void processReading ()=0
 
virtual void stopReading ()=0
 
virtual bool isStopReadingFlagSet () const =0
 

Detailed Description

Interface for the MCP2515 CAN controller. QObject.

Definition at line 26 of file IMCP2515Controller.hpp.

Constructor & Destructor Documentation

◆ ~IMCP2515Controller()

virtual IMCP2515Controller::~IMCP2515Controller ( )
virtualdefault

Member Function Documentation

◆ init()

virtual bool IMCP2515Controller::init ( )
pure virtual

Implemented in MCP2515Controller.

Here is the caller graph for this function:

◆ isStopReadingFlagSet()

virtual bool IMCP2515Controller::isStopReadingFlagSet ( ) const
pure virtual

Implemented in MCP2515Controller.

Here is the caller graph for this function:

◆ processReading()

virtual void IMCP2515Controller::processReading ( )
pure virtual

Implemented in MCP2515Controller.

Here is the caller graph for this function:

◆ rpmUpdated

void IMCP2515Controller::rpmUpdated ( int newRpm)
signal

Signal emitted when the RPM is updated.

Parameters
newRpmThe new RPM value.
Here is the caller graph for this function:

◆ speedUpdated

void IMCP2515Controller::speedUpdated ( float newSpeed)
signal

Signal emitted when the speed is updated.

Parameters
newSpeedThe new speed value.
Here is the caller graph for this function:

◆ stopReading()

virtual void IMCP2515Controller::stopReading ( )
pure virtual

Implemented in MCP2515Controller.

Here is the caller graph for this function:

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