WPILibC++  trunk
Public Member Functions | List of all members
NetworkTableKeyListenerAdapter Class Reference
Inheritance diagram for NetworkTableKeyListenerAdapter:
Inheritance graph
[legend]
Collaboration diagram for NetworkTableKeyListenerAdapter:
Collaboration graph
[legend]

Public Member Functions

 NetworkTableKeyListenerAdapter (std::string relativeKey, std::string fullKey, NetworkTable *targetSource, ITableListener *targetListener)
 
void ValueChanged (ITable *source, const std::string &key, EntryValue value, bool isNew)
 

Detailed Description

Definition at line 21 of file NetworkTableKeyListenerAdapter.h.

Member Function Documentation

void NetworkTableKeyListenerAdapter::ValueChanged ( ITable source,
const std::string &  key,
EntryValue  value,
bool  isNew 
)
virtual

Called when a key-value pair is changed in a ITable WARNING: If a new key-value is put in this method value changed will immediatly be called which could lead to recursive code

Parameters
sourcethe table the key-value pair exists in
keythe key associated with the value that changed
valuethe new value
isNewtrue if the key did not previously exist in the table, otherwise it is false

Implements ITableListener.

Definition at line 17 of file NetworkTableKeyListenerAdapter.cpp.


The documentation for this class was generated from the following files: