SEPIA
Software documentation for the APEX SEPIA receivers
Sync Struct Reference

Provide mutex and wait conditions for asynchronous methods. More...

#include <synchronize.h>

Public Member Functions

bool waitFor (QWaitCondition *waitcondition)
 Wait for the given condition. More...
 

Static Public Attributes

static QMutex mutex
 
static QWaitCondition cartridgeInitialized
 
static QWaitCondition cartridgeShutdown
 
static QWaitCondition tuningFinished
 
static QWaitCondition scanFinished
 

Detailed Description

Provide mutex and wait conditions for asynchronous methods.

Member Function Documentation

◆ waitFor()

bool Sync::waitFor ( QWaitCondition *  waitcondition)

Wait for the given condition.

Parameters
waitconditionthe QWaitCondition to wait for
Returns
bool true: wait was terminated by signal from another thread, false: timeout occured

Member Data Documentation

◆ cartridgeInitialized

QWaitCondition Sync::cartridgeInitialized
static

Wait condition for cartridge initialization.

◆ cartridgeShutdown

QWaitCondition Sync::cartridgeShutdown
static

Wait condition for cartridge shutdown.

◆ mutex

QMutex Sync::mutex
static

Common QMutex used by this struct.

◆ scanFinished

QWaitCondition Sync::scanFinished
static

Wait condition for mixer scan operation.

◆ tuningFinished

QWaitCondition Sync::tuningFinished
static

Wait condition for system tuning.


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