mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
C++ NetworkTable: Provide AddSubTableListener().
This matches the implementation provided by Java NetworkTable, with the exception that the subtable is not provided (because it's not a value). The listener still can get access to the subtable by calling source->getSubTable(key).
This commit is contained in:
@@ -139,6 +139,7 @@ class NetworkTable : public ITable {
|
||||
void AddTableListener(ITableListener* listener, bool immediateNotify);
|
||||
void AddTableListener(llvm::StringRef key, ITableListener* listener,
|
||||
bool immediateNotify);
|
||||
void AddSubTableListener(ITableListener* listener);
|
||||
void RemoveTableListener(ITableListener* listener);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user