12 #include "frc/ErrorBase.h"
13 #include "frc/smartdashboard/SendableBase.h"
17 class ButtonScheduler;
82 void SetEnabled(
bool enabled);
94 std::unique_ptr<Impl> m_impl;
void AddCommand(Command *command)
Add a command to be scheduled later.
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
void ResetAll()
Completely resets the scheduler.
Definition: Subsystem.h:23
void RegisterSubsystem(Subsystem *subsystem)
Registers a Subsystem to this Scheduler, so that the Scheduler might know if a default Command needs ...
Base class for most objects.
Definition: ErrorBase.h:74
Definition: SendableBase.h:19
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
static Scheduler * GetInstance()
Returns the Scheduler, creating it if one does not exist.
Definition: SendableBuilder.h:23
void Remove(Command *command)
Removes the Command from the Scheduler.
The Command class is at the very core of the entire command framework.
Definition: Command.h:48
void Run()
Runs a single iteration of the loop.
Definition: Scheduler.h:21