edu.wpi.first.wpilibj
Interface Sendable

All Known Subinterfaces:
LiveWindowSendable, NamedSendable
All Known Implementing Classes:
Accelerometer, AnalogChannel, AnalogIOButton, AnalogPotentiometer, Button, CANJaguar, Command, CommandGroup, Compressor, Counter, DigitalInput, DigitalIOButton, DigitalOutput, DoubleSolenoid, Encoder, GearTooth, Gyro, HiTechnicColorSensor, HiTechnicCompass, InternalButton, Jaguar, JoystickButton, NetworkButton, PIDCommand, PIDController, PIDSubsystem, PrintCommand, PWM, Relay, SafePWM, Scheduler, SendableChooser, Servo, Solenoid, StartCommand, Subsystem, Talon, Trigger, Ultrasonic, Victor, WaitCommand, WaitForChildren, WaitUntilCommand

public interface Sendable

The base interface for objects that can be sent over the network through network tables.


Method Summary
 java.lang.String getSmartDashboardType()
           
 ITable getTable()
           
 void initTable(ITable subtable)
          Initializes a table for this sendable object.
 

Method Detail

initTable

void initTable(ITable subtable)
Initializes a table for this sendable object.

Parameters:
subtable - The table to put the values in.

getTable

ITable getTable()
Returns:
the table that is currently associated with the sendable

getSmartDashboardType

java.lang.String getSmartDashboardType()
Returns:
the string representation of the named data type that will be used by the smart dashboard for this sendable