12 #include <wpi/Twine.h>
14 #include "frc/commands/Command.h"
15 #include "frc/commands/CommandGroupEntry.h"
129 bool IsInterruptible()
const;
159 virtual void _Initialize();
160 virtual void _Execute();
162 virtual void _Interrupted();
165 void CancelConflicts(
Command* command);
168 std::vector<CommandGroupEntry> m_commands;
171 std::vector<CommandGroupEntry*> m_children;
174 int m_currentCommandIndex = -1;
Definition: SPIAccelerometerSim.h:18
void AddSequential(Command *command)
Adds a new Command to the group.
virtual void End()
Can be overridden by teams.
void AddParallel(Command *command)
Adds a new child Command to the group.
virtual void Execute()
Can be overridden by teams.
virtual void Initialize()
Can be overridden by teams.
virtual void Interrupted()
Can be overridden by teams.
A CommandGroup is a list of commands which are executed in sequence.
Definition: CommandGroup.h:36
virtual bool IsFinished()
Can be overridden by teams.
The Command class is at the very core of the entire command framework.
Definition: Command.h:48
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79