Template Class SequentialCommand

Inheritance Relationships

Base Type

Class Documentation

template<size_t COMMANDS>
class SequentialCommand : public tap::control::Command

A generic extendable class for implementing a command. Each command is attached to a subsystem. To create a new command, extend the Command class and instantiate the virtual functions in this class. See example_command.hpp for example of this.

Public Functions

inline SequentialCommand(std::array<Command*, COMMANDS> commands)
inline virtual const char *getName() const override
inline virtual bool isReady() override
inline virtual void initialize() override
inline virtual void execute() override
inline virtual void end(bool interrupted) override
inline virtual bool isFinished() const override