12 #include <llvm/Twine.h> 13 #include <support/deprecated.h> 15 #include "SmartDashboard/Sendable.h" 30 WPI_DEPRECATED(
"no longer required")
33 WPI_DEPRECATED(
"use Sendable::SetName() instead")
36 WPI_DEPRECATED(
"use Sendable::SetName() instead")
39 WPI_DEPRECATED(
"use Sendable::SetName() instead")
41 std::shared_ptr<Sendable> component);
42 WPI_DEPRECATED(
"use Sendable::SetName() instead")
45 WPI_DEPRECATED(
"use Sendable::SetName() instead")
48 WPI_DEPRECATED(
"use Sendable::SetName() instead")
50 std::shared_ptr<Sendable> component);
52 WPI_DEPRECATED(
"use SensorBase::SetName() instead")
54 WPI_DEPRECATED(
"use SensorBase::SetName() instead")
56 WPI_DEPRECATED(
"use SensorBase::SetName() instead")
60 void Add(std::shared_ptr<Sendable> component);
70 bool IsEnabled()
const;
79 std::unique_ptr<Impl> m_impl;
Definition: RobotController.cpp:14
void AddChild(Sendable *parent, std::shared_ptr< Sendable > component)
Add a child component to a component.
Definition: LiveWindow.cpp:247
The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow...
Definition: LiveWindow.h:23
void SetEnabled(bool enabled)
Change the enabled status of LiveWindow.
Definition: LiveWindow.cpp:86
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
void DisableTelemetry(Sendable *component)
Disable telemetry for a single component.
Definition: LiveWindow.cpp:292
void AddSensor(const llvm::Twine &subsystem, const llvm::Twine &name, Sendable *component)
Use a raw pointer to the LiveWindow.
Definition: LiveWindow.cpp:139
void AddActuator(const llvm::Twine &subsystem, const llvm::Twine &name, Sendable *component)
Use a raw pointer to the LiveWindow.
Definition: LiveWindow.cpp:181
void UpdateValues()
Tell all the sensors to update (send) their values.
Definition: LiveWindow.cpp:313
void DisableAllTelemetry()
Disable ALL telemetry.
Definition: LiveWindow.cpp:301
void Remove(Sendable *component)
Remove the component from the LiveWindow.
Definition: LiveWindow.cpp:269
void EnableTelemetry(Sendable *component)
Enable telemetry for a single component.
Definition: LiveWindow.cpp:279
Definition: LiveWindow.cpp:27
static LiveWindow * GetInstance()
Get an instance of the LiveWindow main class.
Definition: LiveWindow.cpp:64
Definition: Sendable.h:18
void Add(std::shared_ptr< Sendable > component)
Add a component to the LiveWindow.
Definition: LiveWindow.cpp:226