Nesta página

QAtomicInt Class

A classe QAtomicInt oferece operações atômicas independentes de plataforma sobre o tipo `int`. Mais...

Cabeçalho: #include <QAtomicInt>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Herdado de: QAtomicInteger

Funções públicas

QAtomicInt(int value = 0)

Descrição detalhada

Esta classe é equivalente à ` QAtomicInteger<int>`. Todas as demais funcionalidades são equivalentes. Consulte essa classe para obter mais informações.

Veja também QAtomicInteger e QAtomicPointer.

Documentação das funções de membro

[constexpr noexcept] QAtomicInt::QAtomicInt(int value = 0)

Cria um objeto `QAtomicInt` com o valor ` value` fornecido.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.