blob: 4f2023a11322441620188a356b356d83129184c7 [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
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 public:
19 /**
20 * Update the table for this sendable object with the latest
21 * values.
22 */
23 virtual void UpdateTable() = 0;
24
25 /**
26 * Start having this sendable object automatically respond to
27 * value changes reflect the value on the table.
28 */
29 virtual void StartLiveWindowMode() = 0;
30
31 /**
32 * Stop having this sendable object automatically respond to value
33 * changes.
34 */
35 virtual void StopLiveWindowMode() = 0;
36};
37
38#endif /* LIVEWINDOWSENDABLE_H_ */