|
Fcitx
|


Public Member Functions | |
| SDEventSourceAsync (EventLoopInterfaceV2 *event, EventCallback callback) | |
| bool | isEnabled () const override |
| void | setEnabled (bool enabled) override |
| bool | isOneShot () const override |
| void | setOneShot () override |
| void | send () override |
| Trigger the event from other thread. More... | |
Protected Attributes | |
| UnixFD | fd_ [2] |
| std::unique_ptr< EventSourceIO > | ioEvent_ |
Definition at line 382 of file event_sdevent.cpp.
|
inlineoverridevirtual |
Trigger the event from other thread.
The callback is guranteed to be called send() if it is enabled. Multiple call to send() may only trigger the callback once.
Implements fcitx::EventSourceAsync.
Definition at line 408 of file event_sdevent.cpp.
1.8.13