Now you can download a copy of these docs so you can use them offline! Download now
NetworkTableSubListenerAdapter.h
1 /*
2  * NetworkTableSubListenerAdapter.h
3  *
4  * Created on: Oct 17, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef NETWORKTABLESUBLISTENERADAPTER_H_
9 #define NETWORKTABLESUBLISTENERADAPTER_H_
10 
11 
13 
14 #include "tables/ITableListener.h"
15 #include "tables/ITable.h"
16 #include <string>
17 #include <set>
18 #include "networktables/NetworkTable.h"
19 
20 
21 using namespace std;
22 
24 private:
25  std::string& prefix;
26  NetworkTable* targetSource;
27  ITableListener* targetListener;
28  set<std::string> notifiedTables;
29 
30 public:
31  NetworkTableSubListenerAdapter(std::string& prefix, NetworkTable* targetSource, ITableListener* targetListener);
33  void ValueChanged(ITable* source, const std::string& key, EntryValue value, bool isNew);
34 };
35 
36 
37 
38 #endif /* NETWORKTABLESUBLISTENERADAPTER_H_ */
Definition: ITable.h:26
Definition: ITable.h:13

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6