Struct IReceive#
Defined in File can.h
Struct Documentation#
-
struct IReceive#
Interface to receive CAN messages; callback interface.
Public Functions
-
virtual void Receive(const SMessage &sMsg, uint32_t uiIfcIndex) = 0#
Process a receive a CAN message.
- Parameters:
sMsg – [in] Message that was received.
uiIfcIndex – [in] Interface index of the received message.
-
virtual void Error(const SErrorFrame &sError, uint32_t uiIfcIndex) = 0#
Process an error frame.
- Parameters:
sError – [in] Error frame that was received.
uiIfcIndex – [in] Interface index of the received message.
- void Receive (in SMessage sMsg, in uint32 uiIfcIndex)
Process a receive a CAN message.
- Parameters:
sMsg – [in] Message that was received.
uiIfcIndex – [in] Interface index of the received message.
- void Error (in SErrorFrame sError, in uint32 uiIfcIndex)
Process an error frame.
- Parameters:
sError – [in] Error frame that was received.
uiIfcIndex – [in] Interface index of the received message.
Public Static Attributes
-
static ::sdv::interface_id _id = 0xFF054F70A01E17CC#
Interface ID.
-
virtual void Receive(const SMessage &sMsg, uint32_t uiIfcIndex) = 0#