Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker Struct Reference
+ Collaboration diagram for QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker:

Public Member Functions

 PRNGLocker (const QRandomGenerator *that)
 
 ~PRNGLocker ()
 

Public Attributes

const bool locked
 

Detailed Description

Definition at line 378 of file qrandom.cpp.

Constructor & Destructor Documentation

◆ PRNGLocker()

QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::PRNGLocker ( const QRandomGenerator that)
inline

Definition at line 381 of file qrandom.cpp.

References QRandomGenerator::SystemAndGlobalGenerators::globalPRNGMutex, QMutex::lock(), locked, and QRandomGenerator::SystemAndGlobalGenerators::self().

+ Here is the call graph for this function:

◆ ~PRNGLocker()

QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::~PRNGLocker ( )
inline

Definition at line 387 of file qrandom.cpp.

References QRandomGenerator::SystemAndGlobalGenerators::globalPRNGMutex, locked, QRandomGenerator::SystemAndGlobalGenerators::self(), and QMutex::unlock().

+ Here is the call graph for this function:

Member Data Documentation

◆ locked

const bool QRandomGenerator::SystemAndGlobalGenerators::PRNGLocker::locked

Definition at line 380 of file qrandom.cpp.

Referenced by PRNGLocker(), and ~PRNGLocker().


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