A base for subsystems that handles registration in the constructor, and provides a more intuitive met...
Definition: SubsystemBase.h:24
void SetSubsystem(std::string_view name)
Sets the subsystem name of this Subsystem.
void AddChild(std::string name, wpi::Sendable *child)
Associate a Sendable with this Subsystem.
void SetName(std::string_view name)
Sets the name of this Subsystem.
std::string GetSubsystem() const
Gets the subsystem name of this Subsystem.
std::string GetName() const
Gets the name of this Subsystem.
void InitSendable(wpi::SendableBuilder &builder) override
Initializes this Sendable object.
A robot subsystem.
Definition: Subsystem.h:39
Definition: SendableBuilder.h:18
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
Interface for Sendable objects.
Definition: Sendable.h:16
basic_string_view< char > string_view
Definition: core.h:520
Definition: InstantCommand.h:14