WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Sendable.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2011-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 #ifndef __SMART_DASHBOARD_DATA__
9 #define __SMART_DASHBOARD_DATA__
10 
11 #include <string>
12 #include <memory>
13 #include "tables/ITable.h"
14 
15 class Sendable {
16  public:
21  virtual void InitTable(std::shared_ptr<ITable> subtable) = 0;
22 
26  virtual std::shared_ptr<ITable> GetTable() const = 0;
27 
32  virtual std::string GetSmartDashboardType() const = 0;
33 };
34 
35 #endif
virtual void InitTable(std::shared_ptr< ITable > subtable)=0
Initializes a table for this sendable object.
Definition: Sendable.h:15
virtual std::shared_ptr< ITable > GetTable() const =0
virtual std::string GetSmartDashboardType() const =0