Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
networktables
NetworkTableListenerAdapter.h
1
/*
2
* NetworkTableListenerAdapter.h
3
*
4
* Created on: Oct 17, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef NETWORKTABLELISTENERADAPTER_H_
9
#define NETWORKTABLELISTENERADAPTER_H_
10
11
class
NetworkTableListenerAdapter
;
12
13
#include "tables/ITableListener.h"
14
#include "tables/ITable.h"
15
#include <string>
16
17
18
class
NetworkTableListenerAdapter
:
public
ITableListener
{
19
private
:
20
std::string prefix;
21
ITable
* targetSource;
22
ITableListener
* targetListener;
23
public
:
24
NetworkTableListenerAdapter
(std::string prefix,
ITable
* targetSource,
ITableListener
* targetListener);
25
virtual
~
NetworkTableListenerAdapter
();
26
void
ValueChanged
(
ITable
* source,
const
std::string& key,
EntryValue
value,
bool
isNew);
27
};
28
29
30
#endif
/* NETWORKTABLELISTENERADAPTER_H_ */
ITable
Definition:
ITable.h:26
NetworkTableListenerAdapter::ValueChanged
void ValueChanged(ITable *source, const std::string &key, EntryValue value, bool isNew)
Definition:
NetworkTableListenerAdapter.cpp:18
EntryValue
Definition:
ITable.h:13
ITableListener
Definition:
ITableListener.h:26
NetworkTableListenerAdapter
Definition:
NetworkTableListenerAdapter.h:18
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.