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
QAndroidEventDispatcherStopper Class Reference

#include <qandroideventdispatcher.h>

+ Collaboration diagram for QAndroidEventDispatcherStopper:

Public Member Functions

void startAll ()
 
void stopAll ()
 
void addEventDispatcher (QAndroidEventDispatcher *dispatcher)
 
void removeEventDispatcher (QAndroidEventDispatcher *dispatcher)
 
void goingToStop (bool stop)
 

Static Public Member Functions

static QAndroidEventDispatcherStopperinstance ()
 
static bool stopped ()
 

Detailed Description

Definition at line 31 of file qandroideventdispatcher.h.

Member Function Documentation

◆ addEventDispatcher()

void QAndroidEventDispatcherStopper::addEventDispatcher ( QAndroidEventDispatcher * dispatcher)

Definition at line 92 of file qandroideventdispatcher.cpp.

References lock, and QList< T >::push_back().

+ Here is the call graph for this function:

◆ goingToStop()

void QAndroidEventDispatcherStopper::goingToStop ( bool stop)

Definition at line 104 of file qandroideventdispatcher.cpp.

References d, and lock.

◆ instance()

QAndroidEventDispatcherStopper * QAndroidEventDispatcherStopper::instance ( )
static

Definition at line 66 of file qandroideventdispatcher.cpp.

Referenced by QAndroidEventDispatcher::QAndroidEventDispatcher(), QAndroidEventDispatcher::~QAndroidEventDispatcher(), stopped(), terminateQt(), and updateApplicationState().

+ Here is the caller graph for this function:

◆ removeEventDispatcher()

void QAndroidEventDispatcherStopper::removeEventDispatcher ( QAndroidEventDispatcher * dispatcher)

Definition at line 98 of file qandroideventdispatcher.cpp.

References QList< T >::begin(), QList< T >::end(), QList< T >::erase(), and lock.

+ Here is the call graph for this function:

◆ startAll()

void QAndroidEventDispatcherStopper::startAll ( )

Definition at line 72 of file qandroideventdispatcher.cpp.

References d, lock, and QBasicAtomicInteger< T >::testAndSetOrdered().

+ Here is the call graph for this function:

◆ stopAll()

void QAndroidEventDispatcherStopper::stopAll ( )

Definition at line 82 of file qandroideventdispatcher.cpp.

References d, lock, and QBasicAtomicInteger< T >::testAndSetOrdered().

+ Here is the call graph for this function:

◆ stopped()

static bool QAndroidEventDispatcherStopper::stopped ( )
inlinestatic

Definition at line 35 of file qandroideventdispatcher.h.

References instance().

Referenced by QAndroidPlatformOpenGLWindow::eglSurface(), and QAndroidPlatformVulkanWindow::vkSurface().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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