Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
RunLoopObserver< T > Class Template Reference

#include <qeventdispatcher_cf_p.h>

+ Collaboration diagram for RunLoopObserver< T >:

Public Types

typedef void(T::* CallbackFunction) (CFRunLoopActivity activity)
 

Public Member Functions

 RunLoopObserver (T *delegate, CallbackFunction callback, CFOptionFlags activities)
 
 ~RunLoopObserver ()
 
void addToMode (CFStringRef mode, CFRunLoopRef runLoop=0)
 
void removeFromMode (CFStringRef mode, CFRunLoopRef runLoop=0)
 

Detailed Description

template<class T = QEventDispatcherCoreFoundation>
class RunLoopObserver< T >

Definition at line 120 of file qeventdispatcher_cf_p.h.

Member Typedef Documentation

◆ CallbackFunction

template<class T = QEventDispatcherCoreFoundation>
typedef void(T::* RunLoopObserver< T >::CallbackFunction) (CFRunLoopActivity activity)

Definition at line 123 of file qeventdispatcher_cf_p.h.

Constructor & Destructor Documentation

◆ RunLoopObserver()

template<class T = QEventDispatcherCoreFoundation>
RunLoopObserver< T >::RunLoopObserver ( T * delegate,
CallbackFunction callback,
CFOptionFlags activities )
inline

Definition at line 125 of file qeventdispatcher_cf_p.h.

References context, and Q_ASSERT.

◆ ~RunLoopObserver()

template<class T = QEventDispatcherCoreFoundation>
RunLoopObserver< T >::~RunLoopObserver ( )
inline

Definition at line 135 of file qeventdispatcher_cf_p.h.

Member Function Documentation

◆ addToMode()

template<class T = QEventDispatcherCoreFoundation>
void RunLoopObserver< T >::addToMode ( CFStringRef mode,
CFRunLoopRef runLoop = 0 )
inline

Definition at line 141 of file qeventdispatcher_cf_p.h.

Referenced by __attribute__().

+ Here is the caller graph for this function:

◆ removeFromMode()

template<class T = QEventDispatcherCoreFoundation>
void RunLoopObserver< T >::removeFromMode ( CFStringRef mode,
CFRunLoopRef runLoop = 0 )
inline

Definition at line 150 of file qeventdispatcher_cf_p.h.

Referenced by QIOSJumpingEventDispatcher::interruptEventLoopExec().

+ Here is the caller graph for this function:

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