STM32Cube Expansion Pack CAN Stack
CanIfUpperLayer Class Reference

#include <CanIfUpperLayer.h>

Inheritance diagram for CanIfUpperLayer:

Public Member Functions

virtual Std_ReturnType RxIndication (ComStack_PduType rxPduId, const ComStack_CanMessageType *ptr2Sdu)
 virtual function declaration to have an indication function in all upper layer classes More...
 
virtual Std_ReturnType RxIndication (ComStack_PduType rxPduId, REF2CONST(ComStack_CanMsgHeader, AUTOMATIC) CanMsgHeader, REF2CONST(ComStack_PduInfoType, AUTOMATIC) PduInfo)
 virtual function declaration to have an indication function in all upper layer classes More...
 

Detailed Description

a class with the standard interface of the upper transport layer classes

Todo:
maybe we should bring this to a template

Definition at line 55 of file CanIfUpperLayer.h.

Member Function Documentation

◆ RxIndication() [1/2]

virtual Std_ReturnType CanIfUpperLayer::RxIndication ( ComStack_PduType  rxPduId,
const ComStack_CanMessageType ptr2Sdu 
)
inlinevirtual

virtual function declaration to have an indication function in all upper layer classes

Parameters
[in]rxPduIdnaming the incoming message
[in]ptr2Sdupointer to the data unit

Reimplemented in CanFT2p0, IsoTp, and CanFT2p0Stream.

Definition at line 63 of file CanIfUpperLayer.h.

References E_NOT_OK.

Referenced by RxIndication(), and CanIf::RxIndication().

◆ RxIndication() [2/2]

Std_ReturnType CanIfUpperLayer::RxIndication ( ComStack_PduType  rxPduId,
REF2CONST(ComStack_CanMsgHeader, AUTOMATIC CanMsgHeader,
REF2CONST(ComStack_PduInfoType, AUTOMATIC PduInfo 
)
virtual

virtual function declaration to have an indication function in all upper layer classes

Parameters
[in]rxPduIdnaming the incoming message
[in]CanMsgHeaderreference to the CanMsgHeader
[in]PduInforeference to the data unit

Definition at line 27 of file CanIfUpperLayer.cpp.

References AUTOMATIC, E_NOT_OK, RxIndication(), and VAR.

Here is the call graph for this function:

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