ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
adtf::testing Namespace Reference

Namespace for the ADTF Testing SDK. More...

Namespaces

namespace  giant
 Namespace for all functionality provided since v3.6.
 
namespace  mega
 Namespace for all functionality provided since v3.12.
 

Classes

class  test_runtime
 

Functions

template<typename Callable>
bool wait_until (Callable &&oCallable, std::chrono::milliseconds tmTimeOut, std::chrono::milliseconds tmInterval=std::chrono::milliseconds{100})
 Repeateatly calls oCallable until either it returns true or the timeout expires.
 

Detailed Description

Namespace for the ADTF Testing SDK.

Within this namespace all interfaces, classes and functions always refer to their last revised implementation. When using types defined within this namespace it is guaranteed to always use the latest version of the types.

Function Documentation

◆ wait_until()

template<typename Callable>
bool wait_until ( Callable && oCallable,
std::chrono::milliseconds tmTimeOut,
std::chrono::milliseconds tmInterval = std::chrono::milliseconds{100} )

Repeateatly calls oCallable until either it returns true or the timeout expires.

Parameters
[in]oCallableThe condition that should be checked for.
[in]tmTimeOutThe timeout to wait for.
[in]tmIntervalThe interval at which the condition should be reevaluated.
Template Parameters
CallableA callable.

Definition at line 28 of file wait_until.h.