10 #include "HAL/HAL.hpp"
11 #include "SensorBase.h"
12 #include "LiveWindow/LiveWindowSendable.h"
31 void InitTable(std::shared_ptr<ITable> subTable)
override;
32 std::shared_ptr<ITable>
GetTable()
const override;
38 std::shared_ptr<ITable> m_table;
void StartLiveWindowMode() override
Start having this sendable object automatically respond to value changes reflect the value on the tab...
Definition: AnalogOutput.cpp:97
Live Window Sendable is a special type of object sendable to the live window.
Definition: LiveWindowSendable.h:18
std::shared_ptr< ITable > GetTable() const override
Definition: AnalogOutput.cpp:110
void UpdateTable() override
Update the table for this sendable object with the latest values.
Definition: AnalogOutput.cpp:91
Base class for all sensors.
Definition: SensorBase.h:20
void StopLiveWindowMode() override
Stop having this sendable object automatically respond to value changes.
Definition: AnalogOutput.cpp:99
float GetVoltage() const
Get the voltage of the analog output.
Definition: AnalogOutput.cpp:82
MXP analog output class.
Definition: AnalogOutput.h:19
void SetVoltage(float voltage)
Set the value of the analog output.
Definition: AnalogOutput.cpp:70
AnalogOutput(uint32_t channel)
Construct an analog output on the given channel.
Definition: AnalogOutput.cpp:24
void InitTable(std::shared_ptr< ITable > subTable) override
Initializes a table for this sendable object.
Definition: AnalogOutput.cpp:105
virtual ~AnalogOutput()
Destructor.
Definition: AnalogOutput.cpp:60
std::string GetSmartDashboardType() const override
Definition: AnalogOutput.cpp:101