WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
frc::ShuffleboardComponentBase Class Reference

A shim class to allow storing ShuffleboardComponents in arrays. More...

#include <ShuffleboardComponentBase.h>

Inheritance diagram for frc::ShuffleboardComponentBase:
frc::ShuffleboardValue frc::ShuffleboardComponent< Derived > frc::ShuffleboardComponent< ComplexWidget > frc::ShuffleboardComponent< ShuffleboardLayout > frc::ShuffleboardComponent< SimpleWidget > frc::ShuffleboardWidget< Derived > frc::ShuffleboardWidget< ComplexWidget > frc::ShuffleboardLayout frc::ShuffleboardWidget< SimpleWidget > frc::ComplexWidget frc::SimpleWidget

Public Member Functions

 ShuffleboardComponentBase (ShuffleboardContainer &parent, const wpi::Twine &title, const wpi::Twine &type="")
 
void SetType (const wpi::Twine &type)
 
void BuildMetadata (std::shared_ptr< nt::NetworkTable > metaTable)
 
ShuffleboardContainerGetParent ()
 
const std::string & GetType () const
 
- Public Member Functions inherited from frc::ShuffleboardValue
 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...
 

Protected Attributes

wpi::StringMap
< std::shared_ptr< nt::Value > > 
m_properties
 
bool m_metadataDirty = true
 
int m_column = -1
 
int m_row = -1
 
int m_width = -1
 
int m_height = -1
 

Detailed Description

A shim class to allow storing ShuffleboardComponents in arrays.


The documentation for this class was generated from the following file: