|
proxygen
|
#include <EventBaseThread.h>
Public Member Functions | |
| EventBaseThread () | |
| EventBaseThread (bool autostart, EventBaseManager *ebm=nullptr, folly::StringPiece threadName=folly::StringPiece()) | |
| EventBaseThread (EventBaseManager *ebm) | |
| ~EventBaseThread () | |
| EventBaseThread (EventBaseThread &&) noexcept | |
| EventBaseThread & | operator= (EventBaseThread &&) noexcept |
| EventBase * | getEventBase () const |
| bool | running () const |
| void | start (folly::StringPiece threadName=folly::StringPiece()) |
| void | stop () |
Private Member Functions | |
| EventBaseThread (EventBaseThread const &)=default | |
| EventBaseThread & | operator= (EventBaseThread const &)=default |
Private Attributes | |
| EventBaseManager * | ebm_ |
| std::unique_ptr< ScopedEventBaseThread > | th_ |
Definition at line 28 of file EventBaseThread.h.
| folly::EventBaseThread::EventBaseThread | ( | ) |
|
explicit |
Definition at line 26 of file EventBaseThread.cpp.
References start().
|
explicit |
Definition at line 36 of file EventBaseThread.cpp.
References EventBaseThread(), folly::pushmi::__adl::noexcept(), operator=(), and ~EventBaseThread().
|
default |
Referenced by EventBaseThread().
|
defaultnoexcept |
|
privatedefault |
| EventBase * folly::EventBaseThread::getEventBase | ( | ) | const |
Definition at line 45 of file EventBaseThread.cpp.
References th_.
Referenced by TEST_F().
|
defaultnoexcept |
Referenced by EventBaseThread().
|
privatedefault |
| bool folly::EventBaseThread::running | ( | ) | const |
Definition at line 49 of file EventBaseThread.cpp.
References th_.
| void folly::EventBaseThread::start | ( | folly::StringPiece | threadName = folly::StringPiece() | ) |
Definition at line 53 of file EventBaseThread.cpp.
Referenced by EventBaseThread(), and TEST_F().
| void folly::EventBaseThread::stop | ( | ) |
Definition at line 60 of file EventBaseThread.cpp.
References th_.
Referenced by TEST_F().
|
private |
Definition at line 51 of file EventBaseThread.h.
Referenced by start().
|
private |
Definition at line 52 of file EventBaseThread.h.
Referenced by getEventBase(), running(), start(), and stop().