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
NetworkTableKeyListenerAdapter.h
1
/*
2
* NetworkTableKeyListenerAdapter.h
3
*
4
* Created on: Oct 17, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef NETWORKTABLEKEYLISTENERADAPTER_H_
9
#define NETWORKTABLEKEYLISTENERADAPTER_H_
10
11
12
class
NetworkTableKeyListenerAdapter
;
13
14
#include "tables/ITableListener.h"
15
#include "tables/ITable.h"
16
#include <string>
17
#include "networktables/NetworkTable.h"
18
19
20
21
class
NetworkTableKeyListenerAdapter
:
public
ITableListener
{
22
private
:
23
std::string relativeKey;
24
std::string fullKey;
25
NetworkTable
* targetSource;
26
ITableListener
* targetListener;
27
public
:
28
NetworkTableKeyListenerAdapter
(std::string relativeKey, std::string fullKey,
NetworkTable
* targetSource,
ITableListener
* targetListener);
29
virtual
~
NetworkTableKeyListenerAdapter
();
30
void
ValueChanged
(
ITable
* source,
const
std::string& key,
EntryValue
value,
bool
isNew);
31
};
32
33
34
#endif
/* NETWORKTABLEKEYLISTENERADAPTER_H_ */
ITable
Definition:
ITable.h:26
NetworkTableKeyListenerAdapter::ValueChanged
void ValueChanged(ITable *source, const std::string &key, EntryValue value, bool isNew)
Definition:
NetworkTableKeyListenerAdapter.cpp:17
NetworkTableKeyListenerAdapter
Definition:
NetworkTableKeyListenerAdapter.h:21
NetworkTable
Definition:
NetworkTable.h:53
EntryValue
Definition:
ITable.h:13
ITableListener
Definition:
ITableListener.h:26
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.