8namespace ctre {
namespace phoenix {
namespace tasking {
namespace schedulers {
Interface for loopable objects.
Definition: ILoopable.h:9
Interface for processable objects.
Definition: IProcessable.h:8
Scheduler that will run its ILoopables in sequence.
Definition: SequentialScheduler.h:13
void RemoveAll()
Remove all ILoopables.
void Stop()
Stop every ILoopable.
bool _iterated
should be private
Definition: SequentialScheduler.h:22
bool _running
should be private
Definition: SequentialScheduler.h:16
void Add(ILoopable *aLoop)
Add ILoopable to scheduler.
void Process()
Process the currently active ILoopable.
void OnLoop()
Process currently active ILoopable.
std::vector< ILoopable * > _loops
should be private
Definition: SequentialScheduler.h:18
void OnStart()
Start next ILoopable.
virtual ~SequentialScheduler()
void OnStop()
Stop all ILoopables.
void Start()
Start next ILoopable.
ILoopable * GetCurrent()
Get the currently running ILoopable.
unsigned int _idx
should be private
Definition: SequentialScheduler.h:20
namespace ctre
Definition: paramEnum.h:5