Now you can download a copy of these docs so you can use them offline! Download now
ITableListener Class Referenceabstract

#include <ITableListener.h>

Inheritance diagram for ITableListener:

Public Member Functions

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

Detailed Description

A listener that listens to changes in values in a ITable

Author
Mitchell

Definition at line 26 of file ITableListener.h.

Member Function Documentation

virtual void ITableListener::ValueChanged ( ITable source,
const std::string &  key,
EntryValue  value,
bool  isNew 
)
pure 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

Implemented in Command, CANJaguar, PWM, Preferences, DigitalOutput, Relay, NetworkTableSubListenerAdapter, Servo, DoubleSolenoid, NetworkTableKeyListenerAdapter, Solenoid, NetworkTableListenerAdapter, and LiveWindowStatusListener.


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

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