blob: dd3039f15d2f20aa04dcb69f64890343191bed64 [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001/*----------------------------------------------------------------------------*/
2/* Copyright (c) Patrick Plenefisch 2012. 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 $(WIND_BASE)/WPILib. */
5/*----------------------------------------------------------------------------*/
6
7#ifndef LIVEWINDOWSENDABLE_H_
8#define LIVEWINDOWSENDABLE_H_
9
10#include "SmartDashboard/Sendable.h"
11
12/**
13 * Live Window Sendable is a special type of object sendable to the live window.
14 *
15 * @author Patrick Plenefisch
16 */
17class LiveWindowSendable: public Sendable
18{
19public:
20 /**
21 * Update the table for this sendable object with the latest
22 * values.
23 */
24 virtual void UpdateTable() = 0;
25
26 /**
27 * Start having this sendable object automatically respond to
28 * value changes reflect the value on the table.
29 */
30 virtual void StartLiveWindowMode() = 0;
31
32 /**
33 * Stop having this sendable object automatically respond to value
34 * changes.
35 */
36 virtual void StopLiveWindowMode() = 0;
37};
38
39
40#endif /* LIVEWINDOWSENDABLE_H_ */