WPILibC++ 2024.3.2
|
A shim class to allow storing ShuffleboardComponents in arrays. More...
#include <frc/shuffleboard/ShuffleboardComponentBase.h>
Public Member Functions | |
ShuffleboardComponentBase (ShuffleboardContainer &parent, std::string_view title, std::string_view type="") | |
void | SetType (std::string_view type) |
void | BuildMetadata (std::shared_ptr< nt::NetworkTable > metaTable) |
ShuffleboardContainer & | GetParent () |
const std::string & | GetType () const |
Public Member Functions inherited from frc::ShuffleboardValue | |
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... | |
Protected Attributes | |
wpi::StringMap< nt::Value > | m_properties |
bool | m_metadataDirty = true |
int | m_column = -1 |
int | m_row = -1 |
int | m_width = -1 |
int | m_height = -1 |
A shim class to allow storing ShuffleboardComponents in arrays.
frc::ShuffleboardComponentBase::ShuffleboardComponentBase | ( | ShuffleboardContainer & | parent, |
std::string_view | title, | ||
std::string_view | type = "" |
||
) |
void frc::ShuffleboardComponentBase::BuildMetadata | ( | std::shared_ptr< nt::NetworkTable > | metaTable | ) |
ShuffleboardContainer & frc::ShuffleboardComponentBase::GetParent | ( | ) |
const std::string & frc::ShuffleboardComponentBase::GetType | ( | ) | const |
void frc::ShuffleboardComponentBase::SetType | ( | std::string_view | type | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |