001 package edu.wpi.first.wpilibj; 002 003 import edu.wpi.first.wpilibj.tables.ITable; 004 005 006 /** 007 * The base interface for objects that can be sent over the network 008 * through network tables. 009 */ 010 public interface Sendable { 011 /** 012 * Initializes a table for this sendable object. 013 * @param subtable The table to put the values in. 014 */ 015 public void initTable(ITable subtable); 016 017 /** 018 * @return the table that is currently associated with the sendable 019 */ 020 public ITable getTable(); 021 022 /** 023 * @return the string representation of the named data type that will be used by the smart dashboard for this sendable 024 */ 025 public String getSmartDashboardType(); 026 }