WPILibC++
unspecified
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
SendableChooserBase.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#pragma once
9
10
#include <string>
11
12
#include <networktables/NetworkTableEntry.h>
13
14
#include "SmartDashboard/SendableBase.h"
15
16
namespace
frc
{
17
24
class
SendableChooserBase
:
public
SendableBase
{
25
public
:
26
SendableChooserBase
();
27
~
SendableChooserBase
()
override
=
default
;
28
29
protected
:
30
static
const
char
* kDefault;
31
static
const
char
* kOptions;
32
static
const
char
* kSelected;
33
34
std::string m_defaultChoice;
35
nt::NetworkTableEntry
m_selectedEntry;
36
};
37
38
}
// namespace frc
frc
Definition:
Utility.cpp:119
frc::SendableChooserBase
This class is a non-template base class for SendableChooser.
Definition:
SendableChooserBase.h:24
frc::SendableBase
Definition:
SendableBase.h:19
nt::NetworkTableEntry
NetworkTables Entry.
Definition:
NetworkTableEntry.h:35
build
cppSource
wpilibc
headers
SmartDashboard
SendableChooserBase.h
Generated on Sun Jul 1 2018 15:46:15 for WPILibC++ by
1.8.11