#include <fdevent.h>
◆ ~fdevent_context()
virtual fdevent_context::~fdevent_context |
( |
| ) |
|
|
virtualdefault |
◆ Add()
void fdevent_context::Add |
( |
fdevent * |
fde, |
|
|
unsigned |
events |
|
) |
| |
◆ CalculatePollDuration()
std::optional< std::chrono::milliseconds > fdevent_context::CalculatePollDuration |
( |
| ) |
|
|
protected |
◆ CheckLooperThread()
void fdevent_context::CheckLooperThread |
( |
| ) |
const |
◆ CheckNotLooperThread()
void fdevent_context::CheckNotLooperThread |
( |
| ) |
const |
◆ Create()
◆ Del()
void fdevent_context::Del |
( |
fdevent * |
fde, |
|
|
unsigned |
events |
|
) |
| |
◆ Destroy()
◆ FlushRunQueue()
void fdevent_context::FlushRunQueue |
( |
| ) |
|
|
private |
◆ GUARDED_BY()
std::deque< std::function< void()> > run_queue_ fdevent_context::GUARDED_BY |
( |
run_queue_mutex_ |
| ) |
|
|
private |
◆ HandleEvents()
void fdevent_context::HandleEvents |
( |
const std::vector< fdevent_event > & |
events | ) |
|
|
protected |
◆ InstalledCount()
virtual size_t fdevent_context::InstalledCount |
( |
| ) |
|
|
pure virtual |
◆ Interrupt()
virtual void fdevent_context::Interrupt |
( |
| ) |
|
|
protectedpure virtual |
◆ Loop()
virtual void fdevent_context::Loop |
( |
| ) |
|
|
pure virtual |
◆ Register()
virtual void fdevent_context::Register |
( |
fdevent * |
| ) |
|
|
protectedpure virtual |
◆ Run()
void fdevent_context::Run |
( |
std::function< void()> |
fn | ) |
|
◆ Set()
virtual void fdevent_context::Set |
( |
fdevent * |
fde, |
|
|
unsigned |
events |
|
) |
| |
|
pure virtual |
◆ SetTimeout()
void fdevent_context::SetTimeout |
( |
fdevent * |
fde, |
|
|
std::optional< std::chrono::milliseconds > |
timeout |
|
) |
| |
◆ TerminateLoop()
void fdevent_context::TerminateLoop |
( |
| ) |
|
◆ Unregister()
virtual void fdevent_context::Unregister |
( |
fdevent * |
| ) |
|
|
protectedpure virtual |
◆ fdevent_id_
uint64_t fdevent_context::fdevent_id_ = 0 |
|
private |
◆ fdevent_set_
◆ installed_fdevents_
std::map<int, fdevent> fdevent_context::installed_fdevents_ |
|
protected |
◆ looper_thread_id_
std::optional<uint64_t> fdevent_context::looper_thread_id_ = std::nullopt |
|
protected |
◆ run_queue_mutex_
std::mutex fdevent_context::run_queue_mutex_ |
|
private |
◆ terminate_loop_
std::atomic<bool> fdevent_context::terminate_loop_ = false |
|
protected |
The documentation for this struct was generated from the following files: