35 static constexpr const char*
kDefault =
"default";
36 static constexpr const char*
kOptions =
"options";
37 static constexpr const char*
kSelected =
"selected";
38 static constexpr const char*
kActive =
"active";
39 static constexpr const char*
kInstance =
".instance";
This file defines the SmallVector class.
This class is a non-template base class for SendableChooser.
Definition: SendableChooserBase.h:26
static constexpr const char * kActive
Definition: SendableChooserBase.h:38
std::string m_defaultChoice
Definition: SendableChooserBase.h:41
~SendableChooserBase() override=default
static constexpr const char * kInstance
Definition: SendableChooserBase.h:39
wpi::mutex m_mutex
Definition: SendableChooserBase.h:46
static constexpr const char * kOptions
Definition: SendableChooserBase.h:36
static constexpr const char * kSelected
Definition: SendableChooserBase.h:37
wpi::SmallVector< nt::StringPublisher, 2 > m_activePubs
Definition: SendableChooserBase.h:45
std::string m_selected
Definition: SendableChooserBase.h:42
bool m_haveSelected
Definition: SendableChooserBase.h:43
static std::atomic_int s_instances
Definition: SendableChooserBase.h:48
int m_instance
Definition: SendableChooserBase.h:47
static constexpr const char * kDefault
Definition: SendableChooserBase.h:35
SendableChooserBase & operator=(SendableChooserBase &&oth)
SendableChooserBase(SendableChooserBase &&oth)
wpi::SmallVector< nt::IntegerPublisher, 2 > m_instancePubs
Definition: SendableChooserBase.h:44
Interface for NetworkTable Sendable objects.
Definition: NTSendable.h:16
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
Definition: AprilTagPoseEstimator.h:15
::std::mutex mutex
Definition: mutex.h:17