|  | Qt 6.x
    The Qt SDK | 
#include <qtimerinfo_unix_p.h>
 Inheritance diagram for QTimerInfoList:
 Inheritance diagram for QTimerInfoList: Collaboration diagram for QTimerInfoList:
 Collaboration diagram for QTimerInfoList:| Public Attributes | |
| std::chrono::steady_clock::time_point | currentTime | 
| Additional Inherited Members | |
|  Public Types inherited from QList< QTimerInfo * > | |
| using | Type = QTimerInfo * | 
| using | value_type = QTimerInfo * | 
| using | pointer = QTimerInfo * * | 
| using | const_pointer = const QTimerInfo * * | 
| using | reference = QTimerInfo * & | 
| using | const_reference = const QTimerInfo * & | 
| using | size_type = qsizetype | 
| using | difference_type = qptrdiff | 
| using | parameter_type = typename DataPointer::parameter_type | 
| using | rvalue_ref = typename std::conditional< DataPointer::pass_parameter_by_value, DisableRValueRefs, QTimerInfo * && >::type | 
| using | Iterator = iterator | 
| using | ConstIterator = const_iterator | 
| using | reverse_iterator = std::reverse_iterator< iterator > | 
| using | const_reverse_iterator = std::reverse_iterator< const_iterator > | 
|  Static Public Member Functions inherited from QList< QTimerInfo * > | |
| static QList< QTimerInfo * > | fromList (const QList< QTimerInfo * > &list) noexcept | 
| static QList< QTimerInfo * > | fromVector (const QList< QTimerInfo * > &vector) noexcept | 
| static QList< QTimerInfo * > | fromReadOnlyData (const QTimerInfo *(&t)[N]) noexcept | 
|  Protected Types inherited from QListSpecialMethodsBase< T > | |
| using | Self = QList< T > | 
|  Protected Member Functions inherited from QListSpecialMethods< T > | |
| ~QListSpecialMethods ()=default | |
|  Protected Member Functions inherited from QListSpecialMethodsBase< T > | |
| ~QListSpecialMethodsBase ()=default | |
| Self * | self () | 
| const Self * | self () const | 
Definition at line 37 of file qtimerinfo_unix_p.h.
| 
 | default | 
| int QTimerInfoList::activateTimers | ( | ) | 
Definition at line 388 of file qtimerinfo_unix.cpp.
References QTimerInfo::activateRef, calculateNextTimeout(), QList< QTimerInfo * >::cbegin(), QList< QTimerInfo * >::cend(), QList< QTimerInfo * >::constFirst(), e, QTimerInfo::id, QTimerInfo::interval, QList< QTimerInfo * >::isEmpty(), it, now, QTimerInfo::obj, qt_disable_lowpriority_timers, QList< QTimerInfo * >::removeFirst(), QCoreApplication::sendEvent(), and timerInsert().
Referenced by QEventDispatcherUNIXPrivate::activateTimers(), QCocoaEventDispatcherPrivate::processTimers(), and timerSourceDispatch().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Definition at line 63 of file qtimerinfo_unix_p.h.
References QList< T >::cbegin(), and QList< T >::cend().
Referenced by remainingDuration(), and unregisterTimer().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QTimerInfoList::hasPendingTimers | ( | ) | 
Updates the currentTime member to the current time, and returns true if the first timer's timeout is in the future (after currentTime).
The list is sorted by timeout, thus it's enough to check the first timer only.
Definition at line 42 of file qtimerinfo_unix.cpp.
References QList< QTimerInfo * >::constFirst(), QList< QTimerInfo * >::isEmpty(), and QTimerInfo::timeout.
 Here is the call graph for this function:
 Here is the call graph for this function:| QList< QAbstractEventDispatcher::TimerInfo > QTimerInfoList::registeredTimers | ( | QObject * | object | ) | const | 
Definition at line 375 of file qtimerinfo_unix.cpp.
References QList< T >::emplaceBack(), and list.
Referenced by QEventDispatcherWasm::registeredTimers().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QTimerInfoList::registerTimer | ( | int | timerId, | 
| qint64 | interval, | ||
| Qt::TimerType | timerType, | ||
| QObject * | object | ||
| ) | 
Definition at line 283 of file qtimerinfo_unix.cpp.
References registerTimer().
Referenced by registerTimer(), and QEventDispatcherWasm::registerTimer().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QTimerInfoList::registerTimer | ( | int | timerId, | 
| std::chrono::milliseconds | interval, | ||
| Qt::TimerType | timerType, | ||
| QObject * | object | ||
| ) | 
| milliseconds QTimerInfoList::remainingDuration | ( | int | timerId | ) | 
Definition at line 265 of file qtimerinfo_unix.cpp.
References QList< QTimerInfo * >::cend(), findTimerById(), it, now, qWarning, and roundToMillisecond().
Referenced by timerRemainingTime().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void QTimerInfoList::timerInsert | ( | QTimerInfo * | ti | ) | 
Definition at line 52 of file qtimerinfo_unix.cpp.
References at, QList< QTimerInfo * >::insert(), QList< QTimerInfo * >::size(), and QTimerInfo::timeout.
Referenced by activateTimers().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| qint64 QTimerInfoList::timerRemainingTime | ( | int | timerId | ) | 
Definition at line 260 of file qtimerinfo_unix.cpp.
References remainingDuration().
Referenced by QEventDispatcherWasm::remainingTime().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QTimerInfoList::timerWait | ( | timespec & | tm | ) | 
Definition at line 235 of file qtimerinfo_unix.cpp.
References QList< QTimerInfo * >::cbegin(), QList< QTimerInfo * >::cend(), durationToTimespec(), it, now, and roundToMillisecond().
Referenced by QCocoaEventDispatcherPrivate::maybeStartCFRunLoopTimer().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QTimerInfoList::unregisterTimer | ( | int | timerId | ) | 
Definition at line 337 of file qtimerinfo_unix.cpp.
References QList< QTimerInfo * >::cend(), QList< QTimerInfo * >::erase(), findTimerById(), and it.
Referenced by QEventDispatcherWasm::unregisterTimer().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| bool QTimerInfoList::unregisterTimers | ( | QObject * | object | ) | 
Definition at line 354 of file qtimerinfo_unix.cpp.
References at, i, QList< QTimerInfo * >::isEmpty(), QList< QTimerInfo * >::removeAt(), and QList< QTimerInfo * >::size().
Referenced by QEventDispatcherWasm::unregisterTimers().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| std::chrono::steady_clock::time_point QTimerInfoList::currentTime | 
Definition at line 45 of file qtimerinfo_unix_p.h.