Base Module  VST 3.6.6
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
FCondition Class Reference

FCondition - wraps the signal and wait calls in win32. More...

#include <fthread.h>

Public Member Functions

 FCondition (const char8 *name=0)
 Condition constructor. More...
 
 ~FCondition ()
 Condition destructor. More...
 
void signal ()
 Signals one thread. More...
 
void signalAll ()
 Signals all threads. More...
 
void wait ()
 Waits for condition. More...
 
bool waitTimeout (int32 timeout=-1)
 Waits for condtion with timeout. More...
 
void reset ()
 Resets condition. More...
 

Detailed Description

FCondition - wraps the signal and wait calls in win32.

Constructor & Destructor Documentation

FCondition ( const char8 *  name = 0)

Condition constructor.

FCondition CTOR.

Parameters
namename of consition
name- can be used to set the name of the event.
~FCondition ( )

Condition destructor.

Member Function Documentation

void signal ( )

Signals one thread.

void signalAll ( )

Signals all threads.

void wait ( )

Waits for condition.

bool waitTimeout ( int32  timeout = -1)

Waits for condtion with timeout.

Parameters
timeouttime out in milliseconds
Returns
false if timed out
void reset ( )

Resets condition.

Empty

Copyright ©2016 Steinberg Media Technologies GmbH. All Rights Reserved.