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
()
override
=
default
;
27
28
protected
:
29
static
const
char
* kDefault;
30
static
const
char
* kOptions;
31
static
const
char
* kSelected;
32
33
std::string m_defaultChoice;
34
nt::NetworkTableEntry
m_selectedEntry;
35
};
36
37
}
// namespace frc
frc
Definition:
RobotController.cpp:14
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 Mon Jan 29 2018 16:02:20 for WPILibC++ by
1.8.11