WPILibC++
unspecified
|
Public Types | |
typedef std::function< std::unique_ptr< wpi::NetworkStream >)> | Connector |
Public Member Functions | |
DispatcherBase (IStorage &storage, IConnectionNotifier ¬ifier, wpi::Logger &logger) | |
unsigned int | GetNetworkMode () const |
void | StartServer (llvm::StringRef persist_filename, std::unique_ptr< wpi::NetworkAcceptor > acceptor) |
void | StartClient () |
void | Stop () |
void | SetUpdateRate (double interval) |
void | SetIdentity (llvm::StringRef name) |
void | Flush () |
std::vector< ConnectionInfo > | GetConnections () const |
bool | IsConnected () const |
unsigned int | AddListener (std::function< void(const ConnectionNotification &event)> callback, bool immediate_notify) const |
unsigned int | AddPolledListener (unsigned int poller_uid, bool immediate_notify) const |
void | SetConnector (Connector connector) |
void | SetConnectorOverride (Connector connector) |
void | ClearConnectorOverride () |
bool | active () const |
DispatcherBase (const DispatcherBase &)=delete | |
DispatcherBase & | operator= (const DispatcherBase &)=delete |
![]() | |
IDispatcher (const IDispatcher &)=delete | |
IDispatcher & | operator= (const IDispatcher &)=delete |
Protected Attributes | |
wpi::Logger & | m_logger |
Friends | |
class | DispatcherTest |