WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
frc::SendableChooserBase Class Reference

This class is a non-template base class for SendableChooser. More...

#include <SendableChooserBase.h>

Inheritance diagram for frc::SendableChooserBase:
frc::Sendable frc::SendableChooser< T >

Public Member Functions

std::shared_ptr< ITableGetTable () const override
 
std::string GetSmartDashboardType () const override
 
- Public Member Functions inherited from frc::Sendable
virtual void InitTable (std::shared_ptr< ITable > subtable)=0
 Initializes a table for this sendable object. More...
 

Protected Attributes

std::string m_defaultChoice
 
std::shared_ptr< ITablem_table
 

Static Protected Attributes

static const char * kDefault = "default"
 
static const char * kOptions = "options"
 
static const char * kSelected = "selected"
 

Detailed Description

This class is a non-template base class for SendableChooser.

It contains static, non-templated variables to avoid their duplication in the template class.

Member Function Documentation

std::string SendableChooserBase::GetSmartDashboardType ( ) const
overridevirtual
Returns
the string representation of the named data type that will be used by the smart dashboard for this sendable

Implements frc::Sendable.

std::shared_ptr< ITable > SendableChooserBase::GetTable ( ) const
overridevirtual
Returns
the table that is currently associated with the sendable

Implements frc::Sendable.


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