mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Made a toplevel directory for C++ and C++ tests Change-Id: I4bc2074a7036ec7fe79568b411637a5bee9eb5b3 Added the C++ testing framework and one test Change-Id: I1e80a1e16b251a49666820a9d4c8caa025da9785
30 lines
537 B
C++
30 lines
537 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_ */
|