Wrapper around a libevent event owned by an EventBase backend.
Synopsis
Declared in <folly/io/async/EventBaseBackendBase.h>
class EventBaseEvent;
Type Aliases
Name |
Description |
Callback type used to free the event's user data. |
Member Functions
Name |
Description |
|
Constructors |
|
Frees any user data still owned by the event. |
|
Deleted copy assignment. |
|
|
Returns the event flags of the event. |
|
Returns the file descriptor of the event. |
|
Returns the result flags of the event. |
|
Marks the event as active with the given result flags. |
|
Adds the event to its EventBase, optionally with a timeout. |
|
Associates the event with the given EventBase. |
|
Removes the event from its EventBase. |
|
Configures the event for a file descriptor and callback. |
|
Configures the event as a persistent signal handler. |
|
Configures the event as a timer. |
|
Returns the underlying libevent event. |
|
Returns the free function for the event's user data. |
|
Returns the user data pointer attached to the event. |
|
Returns whether the event is currently registered. |
|
Enables edge‐triggered mode for the event. |
|
|
Protected Member Functions
Name |
Description |
Returns the backend that owns this event. |
Protected Data Members
Name |
Description |
The EventBase that owns this event. |
|
The underlying libevent event. |
|
The function used to free the user data. |
|
The user data pointer attached to the event. |
Created with MrDocs