WPILibC++  unspecified
nt::impl::ConnectionNotifierThread Class Reference
Inheritance diagram for nt::impl::ConnectionNotifierThread:
Collaboration diagram for nt::impl::ConnectionNotifierThread:

Public Member Functions

 ConnectionNotifierThread (int inst)
 
bool Matches (const ListenerData &listener, const ConnectionNotification &data)
 
void SetListener (ConnectionNotification *data, unsigned int listener_uid)
 
void DoCallback (std::function< void(const ConnectionNotification &event)> callback, const ConnectionNotification &data)
 
- Public Member Functions inherited from nt::impl::CallbackThread< ConnectionNotifierThread, ConnectionNotification >
void Main () override
 
void SendPoller (unsigned int poller_uid, Args &&...args)
 

Public Attributes

int m_inst
 
- Public Attributes inherited from nt::impl::CallbackThread< ConnectionNotifierThread, ConnectionNotification >
wpi::UidVector< ListenerData, 64 > m_listeners
 
std::queue< std::pair< unsigned int, NotifierData > > m_queue
 
std::condition_variable m_queue_empty
 
wpi::UidVector< std::shared_ptr< Poller >, 64 > m_pollers
 
- Public Attributes inherited from wpi::SafeThread
std::mutex m_mutex
 
std::atomic_bool m_active
 
std::condition_variable m_cond
 

Additional Inherited Members

- Public Types inherited from nt::impl::CallbackThread< ConnectionNotifierThread, ConnectionNotification >
typedef ConnectionNotification UserInfo
 
typedef ConnectionNotification NotifierData
 
typedef ListenerData< std::function< void(const ConnectionNotification &info)>> ListenerData
 

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