WPILibC++
2018.4.1-1235-g11e5faf
|
Public Member Functions | |
ShuffleboardValue (const wpi::Twine &title) | |
wpi::StringRef | GetTitle () const |
Gets the title of this Shuffleboard value. | |
virtual void | BuildInto (std::shared_ptr< nt::NetworkTable > parentTable, std::shared_ptr< nt::NetworkTable > metaTable)=0 |
Builds the entries for this value. More... | |
virtual void | EnableIfActuator () |
Enables user control of this widget in the Shuffleboard application. More... | |
virtual void | DisableIfActuator () |
Disables user control of this widget in the Shuffleboard application. More... | |
|
pure virtual |
Builds the entries for this value.
parentTable | The table containing all the data for the parent. Values that require a complex entry or table structure should call parentTable.getSubtable(getTitle())
parentTable.getEntry(getTitle())
|
metaTable | The table containing all the metadata for this value and its sub-values |
Implemented in frc::ComplexWidget, frc::SimpleWidget, frc::ShuffleboardTab, and frc::ShuffleboardLayout.
|
inlinevirtual |
Disables user control of this widget in the Shuffleboard application.
This method is package-private to prevent users from enabling control themselves. Has no effect if the sendable is not marked as an actuator with SendableBuilder#setActuator.
Reimplemented in frc::ShuffleboardContainer, and frc::ComplexWidget.
|
inlinevirtual |
Enables user control of this widget in the Shuffleboard application.
This method is package-private to prevent users from enabling control themselves. Has no effect if the sendable is not marked as an actuator with SendableBuilder#setActuator.
Reimplemented in frc::ShuffleboardContainer, and frc::ComplexWidget.