Now you can download a copy of these docs so you can use them offline! Download now
NetworkTableClient Class Reference

#include <NetworkTableClient.h>

Inheritance diagram for NetworkTableClient:
Collaboration diagram for NetworkTableClient:

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
AbstractNetworkTableEntryStoreGetEntryStore ()
 
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
AbstractNetworkTableEntryStoreentryStore
 

Detailed Description

A client node in NetworkTables 2.0

Author
Mitchell

Definition at line 24 of file NetworkTableClient.h.

Constructor & Destructor Documentation

NetworkTableClient::NetworkTableClient ( IOStreamFactory streamFactory,
NetworkTableEntryTypeManager typeManager,
NTThreadManager threadManager 
)

Create a new NetworkTable Client

Parameters
streamFactory
threadManager
transactionPool

Definition at line 16 of file NetworkTableClient.cpp.

Member Function Documentation

void NetworkTableClient::Close ( )
virtual

close all networking activity related to this node

Implements NetworkTableNode.

Definition at line 42 of file NetworkTableClient.cpp.

bool NetworkTableClient::IsConnected ( )
virtual

Get the current state of the objects connection

Returns
the current connection state

Implements IRemote.

Definition at line 51 of file NetworkTableClient.cpp.

bool NetworkTableClient::IsServer ( )
virtual

If the object is acting as a server

Returns
if the object is 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.


The documentation for this class was generated from the following files:

Generated on Sat Apr 26 2014 12:26:46 for WPILibC++ by doxygen 1.8.6