![]() |
WPILibC++ 2025.3.2
|
This class is a non-template base class for SendableChooser. More...
#include <frc/smartdashboard/SendableChooserBase.h>
Public Member Functions | |
| SendableChooserBase () | |
| ~SendableChooserBase () override=default | |
| SendableChooserBase (SendableChooserBase &&oth) | |
| SendableChooserBase & | operator= (SendableChooserBase &&oth) |
Public Member Functions inherited from wpi::Sendable | |
| virtual constexpr | ~Sendable ()=default |
| virtual void | InitSendable (SendableBuilder &builder)=0 |
| Initializes this Sendable object. | |
Public Member Functions inherited from wpi::SendableHelper< SendableChooserBase > | |
| constexpr | SendableHelper (const SendableHelper &rhs)=default |
| constexpr | SendableHelper (SendableHelper &&rhs) |
| constexpr SendableHelper & | operator= (const SendableHelper &rhs)=default |
| constexpr SendableHelper & | operator= (SendableHelper &&rhs) |
Protected Attributes | |
| std::string | m_defaultChoice |
| std::string | m_selected |
| bool | m_haveSelected = false |
| wpi::mutex | m_mutex |
| int | m_instance |
| std::string | m_previousVal |
Static Protected Attributes | |
| static constexpr const char * | kDefault = "default" |
| static constexpr const char * | kOptions = "options" |
| static constexpr const char * | kSelected = "selected" |
| static constexpr const char * | kActive = "active" |
| static constexpr const char * | kInstance = ".instance" |
| static std::atomic_int | s_instances |
Additional Inherited Members | |
Protected Member Functions inherited from wpi::SendableHelper< SendableChooserBase > | |
| constexpr | SendableHelper ()=default |
| constexpr | ~SendableHelper () |
This class is a non-template base class for SendableChooser.
It contains static, non-templated variables to avoid their duplication in the template class.
| frc::SendableChooserBase::SendableChooserBase | ( | ) |
|
overridedefault |
| frc::SendableChooserBase::SendableChooserBase | ( | SendableChooserBase && | oth | ) |
| SendableChooserBase & frc::SendableChooserBase::operator= | ( | SendableChooserBase && | oth | ) |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
staticprotected |