Now you can download a copy of these docs so you can use them offline! Download now
#include <NetworkTableClient.h>
Public Member Functions | |
NetworkTableClient (IOStreamFactory &streamFactory, NetworkTableEntryTypeManager &typeManager, NTThreadManager &threadManager) | |
void | reconnect () |
void | Close () |
void | stop () |
bool | IsConnected () |
bool | IsServer () |
Public Member Functions inherited from NetworkTableNode | |
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) |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from NetworkTableNode | |
NetworkTableNode (AbstractNetworkTableEntryStore &entryStore) | |
Protected Attributes inherited from NetworkTableNode | |
AbstractNetworkTableEntryStore & | entryStore |
A client node in NetworkTables 2.0
Definition at line 24 of file NetworkTableClient.h.
NetworkTableClient::NetworkTableClient | ( | IOStreamFactory & | streamFactory, |
NetworkTableEntryTypeManager & | typeManager, | ||
NTThreadManager & | threadManager | ||
) |
Create a new NetworkTable Client
streamFactory | |
threadManager | |
transactionPool |
Definition at line 16 of file NetworkTableClient.cpp.
|
virtual |
close all networking activity related to this node
Implements NetworkTableNode.
Definition at line 42 of file NetworkTableClient.cpp.
|
virtual |
Get the current state of the objects connection
Implements IRemote.
Definition at line 51 of file NetworkTableClient.cpp.
|
virtual |
If the object is acting as a server
Implements IRemote.
Definition at line 55 of file NetworkTableClient.cpp.
void NetworkTableClient::reconnect | ( | ) |
force the client to disconnect and reconnect to the server again. Will connect if the client is currently disconnected
Definition at line 38 of file NetworkTableClient.cpp.