INFM HIL Interface
Interface between Artery simulation and DuTs
|
Contains the necessary information to configure a receive operation for the configuration of the CAN Connector. More...
#include <CANConnectorReceiveOperation.h>
Public Member Functions | |
CANConnectorReceiveOperation (std::string operation, bool isCANFD, bool hasMask, int maskLength=0, __u8 *maskData=nullptr) | |
Public Attributes | |
std::string | operation |
bool | isCANFD |
bool | hasMask |
int | maskLength |
struct canfd_frame | mask = {0} |
Contains the necessary information to configure a receive operation for the configuration of the CAN Connector.
sim_interface::dut_connector::can::CANConnectorReceiveOperation::CANConnectorReceiveOperation | ( | std::string | operation, |
bool | isCANFD, | ||
bool | hasMask, | ||
int | maskLength = 0 , |
||
__u8 * | maskData = nullptr |
||
) |
Constructor for an receive operation.
operation | - The operation name. |
isCANFD | - Flag for CANFD frames. |
hasMask | - Flag if a mask should be used. |
maskLength | - The length of the mask. |
maskData | - The mask data that should be used. |
bool sim_interface::dut_connector::can::CANConnectorReceiveOperation::hasMask |
Flag if a mask should be used to filter for content changes in the frames.
bool sim_interface::dut_connector::can::CANConnectorReceiveOperation::isCANFD |
Flag for CANFD frames.
struct canfd_frame sim_interface::dut_connector::can::CANConnectorReceiveOperation::mask = {0} |
The mask that should be used to filter for content changes in the frames.
int sim_interface::dut_connector::can::CANConnectorReceiveOperation::maskLength |
The length of the mask data.
std::string sim_interface::dut_connector::can::CANConnectorReceiveOperation::operation |
The operation name.