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
RunLoopSource< T > Class Template Reference

#include <qeventdispatcher_cf_p.h>

+ Collaboration diagram for RunLoopSource< T >:

Public Types

enum  { kHighestPriority = 0 }
 
typedef bool(T::* CallbackFunction) ()
 

Public Member Functions

 RunLoopSource (T *delegate, CallbackFunction callback)
 
 ~RunLoopSource ()
 
void addToMode (CFStringRef mode, CFRunLoopRef runLoop=0)
 
void signal ()
 

Public Attributes

enum RunLoopSource:: { ... }  RunLoopSourcePriority
 

Detailed Description

template<class T = QEventDispatcherCoreFoundation>
class RunLoopSource< T >

Definition at line 73 of file qeventdispatcher_cf_p.h.

Member Typedef Documentation

◆ CallbackFunction

template<class T = QEventDispatcherCoreFoundation>
typedef bool(T::* RunLoopSource< T >::CallbackFunction) ()

Definition at line 76 of file qeventdispatcher_cf_p.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T = QEventDispatcherCoreFoundation>
anonymous enum
Enumerator
kHighestPriority 

Definition at line 78 of file qeventdispatcher_cf_p.h.

Constructor & Destructor Documentation

◆ RunLoopSource()

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

Definition at line 80 of file qeventdispatcher_cf_p.h.

References context, RunLoopSource< T >::kHighestPriority, and Q_ASSERT.

◆ ~RunLoopSource()

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

Definition at line 91 of file qeventdispatcher_cf_p.h.

Member Function Documentation

◆ addToMode()

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

Definition at line 97 of file qeventdispatcher_cf_p.h.

◆ signal()

template<class T = QEventDispatcherCoreFoundation>
void RunLoopSource< T >::signal ( )
inline

Definition at line 105 of file qeventdispatcher_cf_p.h.

Member Data Documentation

◆ []

enum { ... } RunLoopSource< T >::RunLoopSourcePriority

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