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

Public Member Functions

 LibUVSourceTime (TimeCallback _callback, std::shared_ptr< UVLoop > loop, uint64_t time, clockid_t clockid, uint64_t accuracy)
 
uint64_t time () const override
 
void setTime (uint64_t time) override
 
uint64_t accuracy () const override
 
void setAccuracy (uint64_t time) override
 
void setClock (clockid_t clockid)
 
clockid_t clock () const override
 
bool setup (uv_loop_t *loop, uv_timer_t *timer) override
 
- Public Member Functions inherited from fcitx::LibUVSource< EventSourceTime, uv_timer_t >
 LibUVSource (std::shared_ptr< UVLoop > loop)
 
bool isEnabled () const override
 
void setEnabled (bool enabled) override
 
void setOneShot () override
 
bool isOneShot () const override
 
uv_timer_t * handle ()
 
void init (uv_loop_t *loop) override
 
- Public Member Functions inherited from fcitx::EventSourceTime
virtual void setNextInterval (uint64_t time)
 
- 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< LibUVSourceTime >
 TrackableObject (const TrackableObject &)=delete
 
TrackableObjectReference< LibUVSourceTimewatch ()
 
TrackableObjectReference< const LibUVSourceTimewatch () const
 

Public Attributes

uint64_t time_
 
clockid_t clock_
 
uint64_t accuracy_
 
std::shared_ptr< TimeCallback > 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 151 of file event_libuv.h.


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