blob: 0dd1b248d98025f81f9406b09ae0490b0aef4cec [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*
2 * NamedSendable.h
3 *
4 * Created on: Oct 19, 2012
5 * Author: Mitchell Wills
6 */
7
8#ifndef NAMEDSENDABLE_H_
9#define NAMEDSENDABLE_H_
10
11#include <string>
12#include "SmartDashboard/Sendable.h"
13
14/**
15 * The interface for sendable objects that gives the sendable a default name in
16 * the Smart Dashboard
17 *
18 */
19class NamedSendable : public Sendable {
20 public:
21 /**
22 * @return the name of the subtable of SmartDashboard that the Sendable object
23 * will use
24 */
25 virtual std::string GetName() const = 0;
26};
27
28#endif /* NAMEDSENDABLE_H_ */