36#ifndef _OPENLCB_BOOTLOADERPORT_HXX_
37#define _OPENLCB_BOOTLOADERPORT_HXX_
70 bool read_can_frame(
struct can_frame *frame)
StateFlow< Buffer< CanHubData >, QList< 1 > > CanHubPort
Base class for a port to an CAN hub that is implemented as a stateflow.
#define STATE(_fn)
Turns a function name into an argument to be supplied to functions expecting a state.
See OSMutexLock in os/OS.hxx.
Collection of related state machines that pend on incoming messages.
Return type for a state flow callback.
Service * service()
Return a pointer to the service I am bound to.
Action wait_and_call(Callback c)
Wait for resource to become available before proceeding to next state.
void notify() override
Wakeup call arrived. Schedules *this on the executor.
Action release_and_exit()
Terminates the processing of the current message.
State flow with a given typed input queue.
Proxy class for sending canbus traffic to the Bootloader HAL.
bool is_waiting_
True if an incoming message is ready for dispatching and the current flow is waiting for a notify.
Action entry() override
Entry into the StateFlow activity.