WPILibC++ 2023.4.3
|
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 nt::NTSendable | |
virtual void | InitSendable (NTSendableBuilder &builder)=0 |
Initializes this Sendable object. More... | |
void | InitSendable (wpi::SendableBuilder &builder) override |
Initializes this Sendable object. More... | |
Public Member Functions inherited from wpi::Sendable | |
virtual | ~Sendable ()=default |
virtual void | InitSendable (SendableBuilder &builder)=0 |
Initializes this Sendable object. More... | |
Public Member Functions inherited from wpi::SendableHelper< SendableChooserBase > | |
SendableHelper (const SendableHelper &rhs)=default | |
SendableHelper (SendableHelper &&rhs) | |
SendableHelper & | operator= (const SendableHelper &rhs)=default |
SendableHelper & | operator= (SendableHelper &&rhs) |
Protected Attributes | |
std::string | m_defaultChoice |
std::string | m_selected |
bool | m_haveSelected = false |
wpi::SmallVector< nt::IntegerPublisher, 2 > | m_instancePubs |
wpi::SmallVector< nt::StringPublisher, 2 > | m_activePubs |
wpi::mutex | m_mutex |
int | m_instance |
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 > | |
SendableHelper ()=default | |
~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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |