WPILibC++  unspecified
nt::ConnectionNotifier Class Reference
Inheritance diagram for nt::ConnectionNotifier:
Collaboration diagram for nt::ConnectionNotifier:

Public Member Functions

 ConnectionNotifier (int inst)
 
void Start ()
 
unsigned int Add (std::function< void(const ConnectionNotification &event)> callback) override
 
unsigned int AddPolled (unsigned int poller_uid) override
 
void NotifyConnection (bool connected, const ConnectionInfo &conn_info, unsigned int only_listener=UINT_MAX) override
 
- Public Member Functions inherited from nt::IConnectionNotifier
 IConnectionNotifier (const IConnectionNotifier &)=delete
 
IConnectionNotifieroperator= (const IConnectionNotifier &)=delete
 
- Public Member Functions inherited from nt::CallbackManager< Derived, Thread >
void Stop ()
 
void Remove (unsigned int listener_uid)
 
unsigned int CreatePoller ()
 
void RemovePoller (unsigned int poller_uid)
 
bool WaitForQueue (double timeout)
 
std::vector< typename Thread::UserInfo > Poll (unsigned int poller_uid)
 
std::vector< typename Thread::UserInfo > Poll (unsigned int poller_uid, double timeout, bool *timed_out)
 
void CancelPoll (unsigned int poller_uid)
 

Friends

class ConnectionNotifierTest
 
class CallbackManager< ConnectionNotifier, impl::ConnectionNotifierThread >
 

Additional Inherited Members

- Protected Member Functions inherited from nt::CallbackManager< Derived, Thread >
template<typename... Args>
void DoStart (Args &&...args)
 
template<typename... Args>
unsigned int DoAdd (Args &&...args)
 
template<typename... Args>
void Send (unsigned int only_listener, Args &&...args)
 
wpi::SafeThreadOwner< Thread >::Proxy GetThread () const
 

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