12 #include <wpi/Twine.h>
13 #include <wpi/deprecated.h>
15 #include "frc/smartdashboard/Sendable.h"
36 WPI_DEPRECATED(
"no longer required")
46 WPI_DEPRECATED(
"use Sendable::SetName() instead")
57 WPI_DEPRECATED(
"use Sendable::SetName() instead")
68 WPI_DEPRECATED(
"use Sendable::SetName() instead")
70 std::shared_ptr<Sendable> component);
80 WPI_DEPRECATED(
"use Sendable::SetName() instead")
92 WPI_DEPRECATED(
"use Sendable::SetName() instead")
104 WPI_DEPRECATED(
"use Sendable::SetName() instead")
106 std::shared_ptr<Sendable> component);
113 WPI_DEPRECATED(
"use SensorUtil::SetName() instead")
121 WPI_DEPRECATED(
"use SensorUtil::SetName() instead")
129 WPI_DEPRECATED(
"use SensorUtil::SetName() instead")
138 void Add(std::shared_ptr<Sendable> component);
189 bool IsEnabled()
const;
210 std::unique_ptr<Impl> m_impl;
215 void UpdateValuesUnsafe();
void AddChild(Sendable *parent, std::shared_ptr< Sendable > component)
Add a child component to a component.
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
void AddSensor(const wpi::Twine &subsystem, const wpi::Twine &name, Sendable *component)
Add a Sensor associated with the subsystem and call it by the given name.
void DisableTelemetry(Sendable *component)
Disable telemetry for a single component.
The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow...
Definition: LiveWindow.h:23
void DisableAllTelemetry()
Disable ALL telemetry.
void AddActuator(const wpi::Twine &subsystem, const wpi::Twine &name, Sendable *component)
Add an Actuator associated with the subsystem and call it by the given name.
static LiveWindow * GetInstance()
Get an instance of the LiveWindow main class.
void SetEnabled(bool enabled)
Change the enabled status of LiveWindow.
void Remove(Sendable *component)
Remove the component from the LiveWindow.
void UpdateValues()
Tell all the sensors to update (send) their values.
Definition: Sendable.h:18
void EnableTelemetry(Sendable *component)
Enable telemetry for a single component.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
void Add(std::shared_ptr< Sendable > component)
Add a component to the LiveWindow.