Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Member Functions | List of all members
utils::EventThread Class Reference

Public Member Functions

 EventThread (asio::io_service &io_service, bool detached=false)
 
 EventThread (bool detached=false)
 
 EventThread (const EventThread &)=delete
 
EventThreadoperator= (const EventThread &)=delete
 
 EventThread (EventThread &&other)
 
EventThreadoperator= (EventThread &&other)
 
void run ()
 
std::thread::id getThreadId () const
 
template<typename Func >
void add (Func &&f)
 
template<typename Func >
void tryRunHandlerNow (Func &&f)
 
void stop ()
 
bool stopped ()
 
asio::io_service & getIoService ()
 

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