8 #ifndef NETWORKTABLENODE_H_
9 #define NETWORKTABLENODE_H_
14 #include "networktables2/AbstractNetworkTableEntryStore.h"
15 #include "networktables2/client/ClientConnectionListenerManager.h"
16 #include "networktables2/type/NetworkTableEntryType.h"
17 #include "networktables2/type/ComplexData.h"
18 #include "networktables2/type/ComplexEntryType.h"
19 #include "tables/IRemote.h"
47 void PutBoolean(std::string& name,
bool value);
48 bool GetBoolean(std::string& name);
50 void PutDouble(std::string& name,
double value);
51 double GetDouble(std::string& name);
53 void PutString(std::string& name, std::string& value);
54 std::string& GetString(std::string& name);
56 void PutComplex(std::string& name,
ComplexData& value);
58 void retrieveValue(std::string& name,
ComplexData& externalData);
81 virtual void Close() = 0;
84 std::vector<IRemoteConnectionListener*> remoteListeners;
93 std::vector<ITableListener*> tableListeners;
95 void AddTableListener(
ITableListener* listener,
bool immediateNotify);
97 void FireTableListeners(std::string& key,
EntryValue value,
bool isNew);
void PutValue(std::string &name, NetworkTableEntryType *type, EntryValue value)
AbstractNetworkTableEntryStore & GetEntryStore()
void AddConnectionListener(IRemoteConnectionListener *listener, bool immediateNotify)
void FireConnectedEvent()
void RemoveConnectionListener(IRemoteConnectionListener *listener)
bool ContainsKey(std::string &key)
void FireDisconnectedEvent()