Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_Timer::HandlerIface Class Referenceabstract

#include <cfx_timer.h>

+ Inheritance diagram for CFX_Timer::HandlerIface:
+ Collaboration diagram for CFX_Timer::HandlerIface:

Public Types

using TimerCallback = void (*)(int32_t idEvent)
 

Public Member Functions

virtual ~HandlerIface ()=default
 
virtual int32_t SetTimer (int32_t uElapse, TimerCallback lpTimerFunc)=0
 
virtual void KillTimer (int32_t nTimerID)=0
 
- Public Member Functions inherited from fxcrt::Observable
 Observable ()
 
 Observable (const Observable &that)=delete
 
Observableoperator= (const Observable &that)=delete
 
 ~Observable ()
 
void AddObserver (ObserverIface *pObserver)
 
void RemoveObserver (ObserverIface *pObserver)
 
void NotifyObservers ()
 

Static Public Attributes

static constexpr int32_t kInvalidTimerID = 0
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Observable
size_t ActiveObserversForTesting () const
 

Detailed Description

Definition at line 19 of file cfx_timer.h.

Member Typedef Documentation

◆ TimerCallback

using CFX_Timer::HandlerIface::TimerCallback = void (*)(int32_t idEvent)

Definition at line 22 of file cfx_timer.h.

Constructor & Destructor Documentation

◆ ~HandlerIface()

virtual CFX_Timer::HandlerIface::~HandlerIface ( )
virtualdefault

Member Function Documentation

◆ KillTimer()

virtual void CFX_Timer::HandlerIface::KillTimer ( int32_t nTimerID)
pure virtual

Implemented in CPDFSDK_FormFillEnvironment.

◆ SetTimer()

virtual int32_t CFX_Timer::HandlerIface::SetTimer ( int32_t uElapse,
TimerCallback lpTimerFunc )
pure virtual

Implemented in CPDFSDK_FormFillEnvironment.

Referenced by GlobalTimer::GlobalTimer().

+ Here is the caller graph for this function:

Member Data Documentation

◆ kInvalidTimerID

int32_t CFX_Timer::HandlerIface::kInvalidTimerID = 0
staticconstexpr

Definition at line 21 of file cfx_timer.h.

Referenced by CFX_Timer::HasValidID(), and CPDFSDK_FormFillEnvironment::SetTimer().


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