INFM HIL Interface
Interface between Artery simulation and DuTs
CANConnectorSendOperation.h
1
26#ifndef SIM_TO_DUT_INTERFACE_CANCONNECTORSENDOPERATION_H
27#define SIM_TO_DUT_INTERFACE_CANCONNECTORSENDOPERATION_H
28
29// System includes
30#include <string>
31#include <stdexcept>
32#include <linux/can.h>
33#include <linux/can/bcm.h>
34
36
44
45 public:
46
59 bool isCANFD,
60 bool isCyclic,
61 bool announce = false,
62 __u32 count = 0,
63 struct bcm_timeval ival1 = {0},
64 struct bcm_timeval ival2 = {0});
65
66 // Data members
67 canid_t canID;
68 bool isCANFD;
69 bool isCyclic;
70 bool announce;
71 __u32 count;
72 struct bcm_timeval ival1;
73 struct bcm_timeval ival2;
74 };
75
76}
77
78#endif //SIM_TO_DUT_INTERFACE_CANCONNECTORSENDOPERATION_H
Contains the necessary information to configure a send operation for the configuration of the CAN Con...
Definition: CANConnectorSendOperation.h:43
bool announce
Definition: CANConnectorSendOperation.h:70
CANConnectorSendOperation(canid_t canID, bool isCANFD, bool isCyclic, bool announce=false, __u32 count=0, struct bcm_timeval ival1={0}, struct bcm_timeval ival2={0})
Definition: CANConnectorSendOperation.cpp:31
__u32 count
Definition: CANConnectorSendOperation.h:71
canid_t canID
Definition: CANConnectorSendOperation.h:67
struct bcm_timeval ival2
Definition: CANConnectorSendOperation.h:73
bool isCANFD
Definition: CANConnectorSendOperation.h:68
bool isCyclic
Definition: CANConnectorSendOperation.h:69
struct bcm_timeval ival1
Definition: CANConnectorSendOperation.h:72
Definition: CANConnector.cpp:29