13 #include <wpi/mutex.h>
15 #include "frc/smartdashboard/Sendable.h"
32 std::string
GetName()
const final;
43 void AddChild(std::shared_ptr<Sendable> child);
73 mutable wpi::mutex m_mutex;
75 std::string m_subsystem =
"Ungrouped";
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
SendableBase(bool addLiveWindow=true)
Creates an instance of the sensor base.
std::string GetName() const final
Gets the name of this Sendable object.
virtual void SetName(const wpi::Twine &name)=0
Sets the name of this Sendable object.
void SetSubsystem(const wpi::Twine &subsystem) final
Sets the subsystem name of this Sendable object.
void AddChild(std::shared_ptr< Sendable > child)
Add a child component.
Definition: SendableBase.h:19
void SetName(const wpi::Twine &name) final
Sets the name of this Sendable object.
Definition: Sendable.h:18
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
std::string GetSubsystem() const final
Gets the subsystem name of this Sendable object.