WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
LiveWindowStatusListener.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2012-2017. 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 #pragma once
9 
10 #include <memory>
11 
12 #include "tables/ITable.h"
13 #include "tables/ITableListener.h"
14 
15 namespace frc {
16 
18  public:
19  virtual void ValueChanged(ITable* source, llvm::StringRef key,
20  std::shared_ptr<nt::Value> value, bool isNew);
21 };
22 
23 } // namespace frc
A table whose values can be read and written to.
Definition: ITable.h:22
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:14
Definition: LiveWindowStatusListener.h:17