Now you can download a copy of these docs so you can use them offline! Download now
#include <ITableListener.h>
Public Member Functions | |
virtual void | ValueChanged (ITable *source, const std::string &key, EntryValue value, bool isNew)=0 |
A listener that listens to changes in values in a ITable
Definition at line 26 of file ITableListener.h.
|
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
source | the table the key-value pair exists in |
key | the key associated with the value that changed |
value | the new value |
isNew | true 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.