#include <NetworkTableNode.h>


Public Member Functions | |
| AbstractNetworkTableEntryStore & | GetEntryStore () |
| void | PutBoolean (std::string &name, bool value) |
| bool | GetBoolean (std::string &name) |
| void | PutDouble (std::string &name, double value) |
| double | GetDouble (std::string &name) |
| void | PutString (std::string &name, std::string &value) |
| std::string & | GetString (std::string &name) |
| void | PutComplex (std::string &name, ComplexData &value) |
| void | retrieveValue (std::string &name, ComplexData &externalData) |
| void | PutValue (std::string &name, NetworkTableEntryType *type, EntryValue value) |
| void | PutValue (NetworkTableEntry *entry, EntryValue value) |
| EntryValue | GetValue (std::string &name) |
| bool | ContainsKey (std::string &key) |
| virtual void | Close ()=0 |
| void | AddConnectionListener (IRemoteConnectionListener *listener, bool immediateNotify) |
| void | RemoveConnectionListener (IRemoteConnectionListener *listener) |
| void | FireConnectedEvent () |
| void | FireDisconnectedEvent () |
| void | AddTableListener (ITableListener *listener, bool immediateNotify) |
| void | RemoveTableListener (ITableListener *listener) |
| void | FireTableListeners (std::string &key, EntryValue value, bool isNew) |
Public Member Functions inherited from IRemote | |
| virtual bool | IsConnected ()=0 |
| virtual bool | IsServer ()=0 |
Protected Member Functions | |
| NetworkTableNode (AbstractNetworkTableEntryStore &entryStore) | |
Protected Attributes | |
| AbstractNetworkTableEntryStore & | entryStore |
represents a node (either a client or a server) in a network tables 2.0
implementers of the class must ensure that they call init(NetworkTableTransactionPool, AbstractNetworkTableEntryStore) before calling any other methods on this class
Definition at line 32 of file NetworkTableNode.h.
|
virtual |
Register an object to listen for connection and disconnection events
| listener | the listener to be register |
| immediateNotify | if the listener object should be notified of the current connection state |
Implements IRemote.
Definition at line 134 of file NetworkTableNode.cpp.
|
pure virtual |
close all networking activity related to this node
Implemented in NetworkTableServer, and NetworkTableClient.
| bool NetworkTableNode::ContainsKey | ( | std::string & | key | ) |
| key | the key to check for existence |
Definition at line 130 of file NetworkTableNode.cpp.
|
virtual |
called when something is connected
Implements ClientConnectionListenerManager.
Definition at line 146 of file NetworkTableNode.cpp.
|
virtual |
called when something is disconnected
Implements ClientConnectionListenerManager.
Definition at line 150 of file NetworkTableNode.cpp.
| AbstractNetworkTableEntryStore & NetworkTableNode::GetEntryStore | ( | ) |
Definition at line 22 of file NetworkTableNode.cpp.
| void NetworkTableNode::PutValue | ( | std::string & | name, |
| NetworkTableEntryType * | type, | ||
| EntryValue | value | ||
| ) |
Put a value with a specific network table type
| name | the name of the entry to associate with the given value |
| type | the type of the entry |
| value | the actual value of the entry |
Definition at line 85 of file NetworkTableNode.cpp.
|
virtual |
Unregister a listener from connection events
| listener | the listener to be unregistered |
Implements IRemote.
Definition at line 141 of file NetworkTableNode.cpp.
1.8.6