21#ifndef FLIGHT_SCHEDULER_H
22#define FLIGHT_SCHEDULER_H
Base class for object organization.
Definition GraphTreeObject.h:98
Wrapper to manage and convert time as timespce.
Definition Time.h:53
Base app class for derived implementation.
Definition App.h:55
Executive derivation specifically to run flight systems.
Definition FlightExecutive.h:46
virtual int16 step(const clockwerk::Time &step_val)
Function to step the scheduler by a single step.
Definition Scheduler.cpp:29
virtual int16 run()
Function to run the scheduler until pre-determined end conditions identified/calculated by the schedu...
Definition Scheduler.cpp:33
virtual int16 unregisterApp(int16 slot)
Function to unregister a certain schedule slot.
Definition Scheduler.cpp:41
bool isTerminated()
Get whether scheduler is terminated.
Definition Scheduler.h:77
Scheduler()
Constructor for the scheduler.
Definition Scheduler.cpp:21
FlightExecutive * _exc_ptr
Pointer to the executive which may optionally be registered with scheduler.
Definition Scheduler.h:87
void setExecutive(FlightExecutive *exc)
Set the flight executive for the scheduler.
Definition Scheduler.h:81
bool _is_terminated
Flag to indicate whether the scheduler is terminated.
Definition Scheduler.h:84
virtual int16 registerApp(App &app, int16 slot)
Function to register apps with the scheduler. Depending on the scheduler implementation these may be ...
Definition Scheduler.cpp:37
virtual int16 startup()
Function to start and configure the scheduler.
Definition Scheduler.cpp:25
void terminate()
Terminate the scheduler.
Definition Scheduler.h:74
Definition DeadReckon.cpp:20