Class WrapperCommand

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.WrapperCommand
All Implemented Interfaces:
Sendable

public abstract class WrapperCommand
extends Command
A class used internally to wrap commands while overriding a specific method; all other methods will call through to the wrapped command.

The rules for command compositions apply: command instances that are passed to it cannot be added to any other composition or scheduled individually, and the composition requires all subsystems its components require.