Fcitx
Public Member Functions | Public Attributes | List of all members
fcitx::LibUVSourceIO Struct Referencefinal
Inheritance diagram for fcitx::LibUVSourceIO:
Inheritance graph
[legend]
Collaboration diagram for fcitx::LibUVSourceIO:
Collaboration graph
[legend]

Public Member Functions

 LibUVSourceIO (IOCallback _callback, std::shared_ptr< UVLoop > loop, int fd, IOEventFlags flags)
 
virtual int fd () const override
 
virtual void setFd (int fd) override
 
virtual IOEventFlags events () const override
 
void setEvents (IOEventFlags flags) override
 
IOEventFlags revents () const override
 
bool setup (uv_loop_t *loop, uv_poll_t *poll) override
 
- Public Member Functions inherited from fcitx::LibUVSource< EventSourceIO, uv_poll_t >
 LibUVSource (std::shared_ptr< UVLoop > loop)
 
bool isEnabled () const override
 
void setEnabled (bool enabled) override
 
void setOneShot () override
 
bool isOneShot () const override
 
uv_poll_t * handle ()
 
void init (uv_loop_t *loop) override
 
- Public Member Functions inherited from fcitx::LibUVSourceBase
 LibUVSourceBase (const std::shared_ptr< UVLoop > &loop)
 
void cleanup ()
 
void resetEvent ()
 
- Public Member Functions inherited from fcitx::TrackableObject< LibUVSourceIO >
 TrackableObject (const TrackableObject &)=delete
 
TrackableObjectReference< LibUVSourceIOwatch ()
 
TrackableObjectReference< const LibUVSourceIOwatch () const
 

Public Attributes

int fd_
 
IOEventFlags flags_
 
IOEventFlags revents_
 
std::shared_ptr< IOCallback > callback_
 

Additional Inherited Members

- Protected Member Functions inherited from fcitx::LibUVSourceBase
void setState (LibUVSourceEnableState state)
 
- Protected Attributes inherited from fcitx::LibUVSourceBase
std::weak_ptr< UVLooploop_
 
uv_handle_t * handle_ = nullptr
 
LibUVSourceEnableState state_ = LibUVSourceEnableState::Disabled
 

Detailed Description

Definition at line 114 of file event_libuv.h.


The documentation for this struct was generated from the following files: