Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOhosMutexProtectedValue< T > Class Template Reference

#include <qohoscommon_p.h>

Collaboration diagram for QOhosMutexProtectedValue< T >:

Public Member Functions

 QOhosMutexProtectedValue ()
 QOhosMutexProtectedValue (const QOhosMutexProtectedValue< T > &other)=delete
QOhosMutexProtectedValueoperator= (const QOhosMutexProtectedValue< T > &other)=delete
 QOhosMutexProtectedValue (QOhosMutexProtectedValue< T > &&other)=delete
QOhosMutexProtectedValueoperator= (QOhosMutexProtectedValue< T > &&other)=delete
template<typename ProcessFunc>
void processValue (ProcessFunc &&processFunc)
template<typename EvalFunc>
auto evalWithValue (EvalFunc &&evalFunc) const -> decltype(evalFunc(std::declval< const T & >()))

Detailed Description

template<typename T>
class QOhosMutexProtectedValue< T >

Definition at line 88 of file qohoscommon_p.h.

Constructor & Destructor Documentation

◆ QOhosMutexProtectedValue() [1/3]

template<typename T>
QOhosMutexProtectedValue< T >::QOhosMutexProtectedValue ( )
default

◆ QOhosMutexProtectedValue() [2/3]

template<typename T>
QOhosMutexProtectedValue< T >::QOhosMutexProtectedValue ( const QOhosMutexProtectedValue< T > & other)
delete

◆ QOhosMutexProtectedValue() [3/3]

template<typename T>
QOhosMutexProtectedValue< T >::QOhosMutexProtectedValue ( QOhosMutexProtectedValue< T > && other)
delete

Member Function Documentation

◆ evalWithValue()

template<typename T>
template<typename EvalFunc>
auto QOhosMutexProtectedValue< T >::evalWithValue ( EvalFunc && evalFunc) const -> decltype(evalFunc(std::declval< const T & >()))

Definition at line 180 of file qohoscommon_p.h.

◆ operator=() [1/2]

template<typename T>
QOhosMutexProtectedValue & QOhosMutexProtectedValue< T >::operator= ( const QOhosMutexProtectedValue< T > & other)
delete

◆ operator=() [2/2]

template<typename T>
QOhosMutexProtectedValue & QOhosMutexProtectedValue< T >::operator= ( QOhosMutexProtectedValue< T > && other)
delete

◆ processValue()

template<typename T>
template<typename ProcessFunc>
void QOhosMutexProtectedValue< T >::processValue ( ProcessFunc && processFunc)

Definition at line 172 of file qohoscommon_p.h.


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