- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QAtomicPointer< T > Class Template Reference

Search for all occurrences

## Detailed Description

### template<typename T>
class QAtomicPointer< T >

Definition at line 125 of file qatomic.h.

`#include <qatomic.h>`

Inheritance diagram for QAtomicPointer< T >:
[legend]

List of all members.

## Public Member Functions
| QAtomicPointer (T *value=0)
| QAtomicPointer (const QAtomicPointer< T > &other)
QAtomicPointer< T > & | operator= (T *value)
QAtomicPointer< T > & | operator= (const QAtomicPointer< T > &other)

## Constructor & Destructor Documentation

QAtomicPointer | ( | T * | value = `0` | ) | `[inline]`

Definition at line 128 of file qatomic.h.

        {
    #ifdef QT_ARCH_PARISC
            this->_q_lock[0] = this->_q_lock[1] = this->_q_lock[2] = this->_q_lock[3] = -1;
    #endif
            QBasicAtomicPointer<T>::_q_value = value;
        }

QAtomicPointer | ( | const QAtomicPointer< T > & | other | ) | `[inline]`

Definition at line 135 of file qatomic.h.

        {
    #ifdef QT_ARCH_PARISC
            this->_q_lock[0] = this->_q_lock[1] = this->_q_lock[2] = this->_q_lock[3] = -1;
    #endif
            QBasicAtomicPointer<T>::_q_value = other._q_value;
        }

## Member Function Documentation

QAtomicPointer<T>& operator= | ( | T * | value | ) | `[inline]`

Reimplemented from QBasicAtomicPointer< T >.

Definition at line 143 of file qatomic.h.

        {
            (void) QBasicAtomicPointer<T>::operator=(value);
            return *this;
        }

QAtomicPointer<T>& operator= | ( | const QAtomicPointer< T > & | other | ) | `[inline]`

Definition at line 149 of file qatomic.h.

        {
            (void) QBasicAtomicPointer<T>::operator=(other);
            return *this;
        }

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

- QtCore/qatomic.h