WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
NamedSendable.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2012-2016. 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 "SmartDashboard/Sendable.h"
13 
14 namespace frc {
15 
21 class NamedSendable : public Sendable {
22  public:
27  virtual std::string GetName() const = 0;
28 };
29 
30 } // namespace frc
Definition: Sendable.h:17
The interface for sendable objects that gives the sendable a default name in the Smart Dashboard...
Definition: NamedSendable.h:21
virtual std::string GetName() const =0