mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
The changes made in this commit do not affect any actual code,
they are purely aesthetic. I ran clang-format with google style
over all .h/.cpp files in wpilibc that weren't in wpilibC++Sim
or gtest, and the eclipse formatter over all of the Java files
using the Google eclipse formatting configuration.
Change-Id: I9627bca0bc103c398ecc1c5ba17467193291ae63
29 lines
538 B
C++
29 lines
538 B
C++
/*
|
|
* NamedSendable.h
|
|
*
|
|
* Created on: Oct 19, 2012
|
|
* Author: Mitchell Wills
|
|
*/
|
|
|
|
#ifndef NAMEDSENDABLE_H_
|
|
#define NAMEDSENDABLE_H_
|
|
|
|
#include <string>
|
|
#include "SmartDashboard/Sendable.h"
|
|
|
|
/**
|
|
* The interface for sendable objects that gives the sendable a default name in
|
|
* the Smart Dashboard
|
|
*
|
|
*/
|
|
class NamedSendable : public Sendable {
|
|
public:
|
|
/**
|
|
* @return the name of the subtable of SmartDashboard that the Sendable object
|
|
* will use
|
|
*/
|
|
virtual std::string GetName() = 0;
|
|
};
|
|
|
|
#endif /* NAMEDSENDABLE_H_ */
|