Fcitx
Public Member Functions | List of all members
fcitx::LibUVSource< Interface, HandleType > Struct Template Referenceabstract
Inheritance diagram for fcitx::LibUVSource< Interface, HandleType >:
Inheritance graph
[legend]
Collaboration diagram for fcitx::LibUVSource< Interface, HandleType >:
Collaboration graph
[legend]

Public Member Functions

 LibUVSource (std::shared_ptr< UVLoop > loop)
 
bool isEnabled () const override
 
void setEnabled (bool enabled) override
 
void setOneShot () override
 
bool isOneShot () const override
 
HandleType * handle ()
 
void init (uv_loop_t *loop) override
 
virtual bool setup (uv_loop_t *loop, HandleType *handle)=0
 
- Public Member Functions inherited from fcitx::LibUVSourceBase
 LibUVSourceBase (const std::shared_ptr< UVLoop > &loop)
 
void cleanup ()
 
void resetEvent ()
 

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

template<typename Interface, typename HandleType>
struct fcitx::LibUVSource< Interface, HandleType >

Definition at line 78 of file event_libuv.h.


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