40#ifdef OPENMRN_FEATURE_FD_CAN_DEVICE
64#if defined(OPENMRN_FEATURE_FD_CAN_DEVICE) || defined(GTEST)
69 int ret = write(
fd_, p,
sizeof(*p));
int ioctl(int fd, unsigned long int key,...)
Request and ioctl transaction.
#define STATE(_fn)
Turns a function name into an argument to be supplied to functions expecting a state.
Base class for all QMember types that hold data in an expandable format.
Collection of related state machines that pend on incoming messages.
Return type for a state flow callback.
State flow with a given typed input queue.
StateFlowSelectHelper helper_
Helper class for select() ing the target device.
Action entry() OVERRIDE
Entry into the StateFlow activity.
LocalTrackIf(Service *service, int pool_size)
Constructs a TrackInterface from an fd to the mainline.
Action entry() OVERRIDE
Entry into the StateFlow activity.
int fd_
Filedes of the device to which we are writing the generated packets.
#define CAN_IOC_WRITE_ACTIVE
write active ioctl.
#define HASSERT(x)
Checks that the value of expression x is true, else terminates the current process.
Represents a command to be sent to the track driver.