WPILibC++  unspecified
Sendable.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2011-2017 FIRST. 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 <memory>
11 #include <string>
12 
13 #include "networktables/NetworkTable.h"
14 
15 namespace frc {
16 
17 class Sendable {
18  public:
23  virtual void InitTable(std::shared_ptr<nt::NetworkTable> subtable) = 0;
24 
29  virtual std::string GetSmartDashboardType() const = 0;
30 };
31 
32 } // namespace frc
Definition: Timer.cpp:18
virtual std::string GetSmartDashboardType() const =0
Definition: Sendable.h:17
virtual void InitTable(std::shared_ptr< nt::NetworkTable > subtable)=0
Initializes a table for this sendable object.