INFM HIL Interface
Interface between Artery simulation and DuTs
|
The CAN Connector Codec defines the interface that each codec implementation must fulfill. More...
#include <CANConnectorCodec.h>
Public Member Functions | |
virtual std::pair< std::vector< __u8 >, std::string > | convertSimEventToFrame (SimEvent event)=0 |
virtual std::vector< SimEvent > | convertFrameToSimEvent (struct canfd_frame frame, bool isCanfd)=0 |
The CAN Connector Codec defines the interface that each codec implementation must fulfill.
|
pure virtual |
Converts a CAN/CANFD frame to the corresponding simulation events.
frame | - The frame that we want to transform. |
isCanfd | - Flag for CANFD frames. |
Implemented in sim_interface::dut_connector::can::BmwCodec.
|
pure virtual |
Converts an simulation event to a CAN/CANFD payload and determines the sendOperation name.
event | - The simulation event we want to transform into a CAN/CANFD frame payload. |
Implemented in sim_interface::dut_connector::can::BmwCodec.