blob: 16debcca5b8d84c53a1579214a1f5942872731a2 [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
Brian Silverman1a675112016-02-20 20:42:49 -05002/* Copyright (c) FIRST 2012-2016. All Rights Reserved. */
Brian Silverman26e4e522015-12-17 01:56:40 -05003/* Open Source Software - may be modified and shared by FRC teams. The code */
Brian Silverman1a675112016-02-20 20:42:49 -05004/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
Brian Silverman26e4e522015-12-17 01:56:40 -05006/*----------------------------------------------------------------------------*/
7
8#ifndef LIVEWINDOWSENDABLE_H_
9#define LIVEWINDOWSENDABLE_H_
10
11#include "SmartDashboard/Sendable.h"
12
13/**
14 * Live Window Sendable is a special type of object sendable to the live window.
15 *
16 * @author Patrick Plenefisch
17 */
18class LiveWindowSendable : public Sendable {
19 public:
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#endif /* LIVEWINDOWSENDABLE_H_ */