|
| ShuffleboardTab (ShuffleboardRoot &root, std::string_view title) |
|
ShuffleboardRoot & | GetRoot () |
|
void | BuildInto (std::shared_ptr< nt::NetworkTable > parentTable, std::shared_ptr< nt::NetworkTable > metaTable) override |
| Builds the entries for this value. More...
|
|
| ShuffleboardContainer (std::string_view title) |
|
| ShuffleboardContainer (ShuffleboardContainer &&rhs)=default |
|
| ~ShuffleboardContainer () override=default |
|
const std::vector< std::unique_ptr< ShuffleboardComponentBase > > & | GetComponents () const |
| Gets the components that are direct children of this container. More...
|
|
ShuffleboardLayout & | GetLayout (std::string_view title, BuiltInLayouts type) |
| Gets the layout with the given type and title, creating it if it does not already exist at the time this method is called. More...
|
|
ShuffleboardLayout & | GetLayout (std::string_view title, const LayoutType &type) |
| Gets the layout with the given type and title, creating it if it does not already exist at the time this method is called. More...
|
|
ShuffleboardLayout & | GetLayout (std::string_view title, std::string_view type) |
| Gets the layout with the given type and title, creating it if it does not already exist at the time this method is called. More...
|
|
ShuffleboardLayout & | GetLayout (std::string_view title) |
| Gets the already-defined layout in this container with the given title. More...
|
|
ComplexWidget & | Add (std::string_view title, wpi::Sendable &sendable) |
| Adds a widget to this container to display the given sendable. More...
|
|
ComplexWidget & | Add (std::string_view title, const cs::VideoSource &video) |
| Adds a widget to this container to display the given video stream. More...
|
|
ComplexWidget & | AddCamera (std::string_view title, std::string_view cameraName, std::span< const std::string > cameraUrls) |
| Adds a widget to this container to display a video stream. More...
|
|
ComplexWidget & | Add (wpi::Sendable &sendable) |
| Adds a widget to this container to display the given sendable. More...
|
|
ComplexWidget & | Add (const cs::VideoSource &video) |
| Adds a widget to this container to display the given video stream. More...
|
|
SimpleWidget & | Add (std::string_view title, const nt::Value &defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, bool defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, double defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, float defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, int defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::string_view defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, const char *defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::span< const bool > defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::span< const double > defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::span< const float > defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::span< const int64_t > defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SimpleWidget & | Add (std::string_view title, std::span< const std::string > defaultValue) |
| Adds a widget to this container to display the given data. More...
|
|
SuppliedValueWidget< std::string > & | AddString (std::string_view title, std::function< std::string()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< double > & | AddNumber (std::string_view title, std::function< double()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< double > & | AddDouble (std::string_view title, std::function< double()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< float > & | AddFloat (std::string_view title, std::function< float()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< int64_t > & | AddInteger (std::string_view title, std::function< int64_t()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< bool > & | AddBoolean (std::string_view title, std::function< bool()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< std::string > > & | AddStringArray (std::string_view title, std::function< std::vector< std::string >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< double > > & | AddNumberArray (std::string_view title, std::function< std::vector< double >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< double > > & | AddDoubleArray (std::string_view title, std::function< std::vector< double >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< float > > & | AddFloatArray (std::string_view title, std::function< std::vector< float >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< int64_t > > & | AddIntegerArray (std::string_view title, std::function< std::vector< int64_t >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< int > > & | AddBooleanArray (std::string_view title, std::function< std::vector< int >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< uint8_t > > & | AddRaw (std::string_view title, std::function< std::vector< uint8_t >()> supplier) |
| Adds a widget to this container. More...
|
|
SuppliedValueWidget< std::vector< uint8_t > > & | AddRaw (std::string_view title, std::string_view typeString, std::function< std::vector< uint8_t >()> supplier) |
| Adds a widget to this container. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, const nt::Value &defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, bool defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, double defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, float defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, int defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::string_view defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::span< const bool > defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::span< const double > defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::span< const float > defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::span< const int64_t > defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
SimpleWidget & | AddPersistent (std::string_view title, std::span< const std::string > defaultValue) |
| Adds a widget to this container to display a simple piece of data. More...
|
|
void | EnableIfActuator () override |
| Enables user control of this widget in the Shuffleboard application. More...
|
|
void | DisableIfActuator () override |
| Disables user control of this widget in the Shuffleboard application. More...
|
|
| ShuffleboardValue (std::string_view title) |
|
virtual | ~ShuffleboardValue ()=default |
|
| ShuffleboardValue (const ShuffleboardValue &)=delete |
|
ShuffleboardValue & | operator= (const ShuffleboardValue &)=delete |
|
const std::string & | GetTitle () const |
| Gets the title of this Shuffleboard value. More...
|
|
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...
|
|
Represents a tab in the Shuffleboard dashboard.
Widgets can be added to the tab with Add(Sendable), Add(std::string_view, Object), and Add(String, Sendable). Widgets can also be added to layouts with GetLayout(std::string_view, std::string_view); layouts can be nested arbitrarily deep (note that too many levels may make deeper components unusable).