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

Public Member Functions

 RpcServerThread (int inst, wpi::Logger &logger)
 
bool Matches (const RpcListenerData &listener, const RpcNotifierData &data)
 
void SetListener (RpcNotifierData *data, unsigned int listener_uid)
 
void DoCallback (std::function< void(const RpcAnswer &call)> callback, const RpcNotifierData &data)
 
- Public Member Functions inherited from nt::impl::CallbackThread< RpcServerThread, RpcAnswer, RpcListenerData, RpcNotifierData >
void Main () override
 
void SendPoller (unsigned int poller_uid, Args &&...args)
 

Public Attributes

int m_inst
 
wpi::Loggerm_logger
 
llvm::DenseMap< RpcIdPair, IRpcServer::SendResponseFunc > m_response_map
 
- Public Attributes inherited from nt::impl::CallbackThread< RpcServerThread, RpcAnswer, RpcListenerData, RpcNotifierData >
wpi::UidVector< ListenerData, 64 > m_listeners
 
std::queue< std::pair< unsigned int, NotifierData > > m_queue
 
wpi::condition_variable m_queue_empty
 
wpi::UidVector< std::shared_ptr< Poller >, 64 > m_pollers
 
- Public Attributes inherited from wpi::SafeThread
wpi::mutex m_mutex
 
std::atomic_bool m_active
 
wpi::condition_variable m_cond
 

Additional Inherited Members

- Public Types inherited from nt::impl::CallbackThread< RpcServerThread, RpcAnswer, RpcListenerData, RpcNotifierData >
typedef RpcAnswer UserInfo
 
typedef RpcNotifierData NotifierData
 
typedef RpcListenerData ListenerData
 

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