WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
LiveWindowStatusListener.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2012-2016. 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 the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #ifndef _LIVE_WINDOW_STATUS_LISTENER_H
9 #define _LIVE_WINDOW_STATUS_LISTENER_H
10 
11 #include "tables/ITable.h"
12 #include "tables/ITableListener.h"
13 
15  public:
16  virtual void ValueChanged(ITable* source, llvm::StringRef key,
17  std::shared_ptr<nt::Value> value, bool isNew);
18 };
19 
20 #endif
A table whose values can be read and written to.
Definition: ITable.h:43
Definition: LiveWindowStatusListener.h:14
A listener that listens to changes in values in a ITable.
Definition: ITableListener.h:18
virtual void ValueChanged(ITable *source, llvm::StringRef key, std::shared_ptr< nt::Value > value, bool isNew)
Called when a key-value pair is changed in a ITable.
Definition: LiveWindowStatusListener.cpp:11
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:39