13 #include <wpi/mutex.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";
Definition: Utility.cpp:119
SendableBase(bool addLiveWindow=true)
Creates an instance of the sensor base.
Definition: SendableBase.cpp:14
void SetSubsystem(const wpi::Twine &subsystem) final
Sets the subsystem name of this Sendable object.
Definition: SendableBase.cpp:35
void SetName(const wpi::Twine &name) final
Sets the name of this Sendable object.
Definition: SendableBase.cpp:25
virtual void SetName(const wpi::Twine &name)=0
Sets the name of this Sendable object.
std::string GetSubsystem() const final
Gets the subsystem name of this Sendable object.
Definition: SendableBase.cpp:30
Definition: SendableBase.h:19
void AddChild(std::shared_ptr< Sendable > child)
Add a child component.
Definition: SendableBase.cpp:40
Definition: Sendable.h:18
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
std::string GetName() const final
Gets the name of this Sendable object.
Definition: SendableBase.cpp:20