INFM HIL Interface
Interface between Artery simulation and DuTs
|
Implements the Codec for the BMW DuT. More...
#include <BmwCodec.h>
Public Member Functions | |
BmwCodec () | |
std::pair< std::vector< __u8 >, std::string > | convertSimEventToFrame (SimEvent event) override |
std::vector< SimEvent > | convertFrameToSimEvent (struct canfd_frame frame, bool isCanfd) override |
Implements the Codec for the BMW DuT.
sim_interface::dut_connector::can::BmwCodec::BmwCodec | ( | ) |
Constructor.
|
overridevirtual |
Converts a CAN/CANFD frame to the corresponding simulation events.
frame | - The frame that we want to transform. |
isCanfd | - Flag for CANFD frames. |
Implements sim_interface::dut_connector::can::CANConnectorCodec.
|
overridevirtual |
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. |
Implements sim_interface::dut_connector::can::CANConnectorCodec.