Qt Cryptographic Architecture
Public Member Functions | List of all members
QCA::Synchronizer Class Reference

#include <QtCrypto>

Collaboration diagram for QCA::Synchronizer:
Collaboration graph
[legend]

Public Member Functions

void conditionMet ()
 
 Synchronizer (QObject *parent)
 
bool waitForCondition (int msecs=-1)
 

Detailed Description

Enable synchronization between two threads.

Constructor & Destructor Documentation

QCA::Synchronizer::Synchronizer ( QObject parent)

Standard constructor.

Parameters
parentthe parent object to this object

Member Function Documentation

bool QCA::Synchronizer::waitForCondition ( int  msecs = -1)

Call to pause execution in this thread.

This function will block until conditionMet() is called.

Parameters
msecsthe time to wait before proceeding. The default timeout value (-1) indicates to wait indefinitely.
void QCA::Synchronizer::conditionMet ( )

Call to continue execution in the paused thread.


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