13 #include <support/mutex.h> 26 std::string
GetName()
const final;
32 void AddChild(std::shared_ptr<Sendable> child);
39 mutable wpi::mutex m_mutex;
41 std::string m_subsystem =
"Ungrouped";
virtual void SetName(const llvm::Twine &name)=0
Sets the name of this Sendable object.
Definition: RobotController.cpp:14
~SendableBase() override
Free the resources used by this object.
Definition: SendableBase.cpp:26
SendableBase(bool addLiveWindow=true)
Creates an instance of the sensor base.
Definition: SendableBase.cpp:19
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
void SetName(const llvm::Twine &name) final
Sets the name of this Sendable object.
Definition: SendableBase.cpp:33
std::string GetSubsystem() const final
Gets the subsystem name of this Sendable object.
Definition: SendableBase.cpp:38
Definition: SendableBase.h:19
void AddChild(std::shared_ptr< Sendable > child)
Add a child component.
Definition: SendableBase.cpp:53
Definition: Sendable.h:18
void SetSubsystem(const llvm::Twine &subsystem) final
Sets the subsystem name of this Sendable object.
Definition: SendableBase.cpp:43
std::string GetName() const final
Gets the name of this Sendable object.
Definition: SendableBase.cpp:28