Speeduino
Loading...
Searching...
No Matches
Typedefs | Functions
schedule_state_machine.h File Reference
#include "scheduler.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* scheduleStateTranstionFunc) (Schedule *)
 The type of function that is called during a state transition. Captures the actions to take as a result of the state transition.
 

Functions

void movetoNextState (Schedule &schedule, scheduleStateTranstionFunc pendingToRunning, scheduleStateTranstionFunc runningToOff, scheduleStateTranstionFunc runningToPending)
 The engine/pump that moves a schedule through it's various timer driven states.
 
void defaultPendingToRunning (Schedule *schedule)
 Default action for PENDING to RUNNING state transition.
 
void defaultRunningToOff (Schedule *schedule)
 Default action for RUNNING to OFF state transition.
 
void defaultRunningToPending (Schedule *schedule)
 Default action for RUNNING to PENDING state transition.