IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Implements blocking until the specified file is created (becomes existent). File is specified in constructor or by setting the FilePath property. Waiting is performed by calling the Wait() function. It is implemented by successively checking whether unblocking condition is fulfilled and by sleeping between checks. Therefore it has some latency (i.e. unblocking is not always performed immediatley the condition is met) and spends some CPU time and system resources. More...
Public Member Functions | |
WaitFileCreationLatence (string filePath) | |
override bool | Condition () |
Returns true if the monitored file exists, and false if not. |
Implements blocking until the specified file is created (becomes existent). File is specified in constructor or by setting the FilePath property. Waiting is performed by calling the Wait() function. It is implemented by successively checking whether unblocking condition is fulfilled and by sleeping between checks. Therefore it has some latency (i.e. unblocking is not always performed immediatley the condition is met) and spends some CPU time and system resources.
$A Igor Jun10;
IG::Lib::WaitFileCreationLatence::WaitFileCreationLatence | ( | string | filePath | ) | [inline] |
override bool IG::Lib::WaitFileCreationLatence::Condition | ( | ) | [inline] |
Returns true if the monitored file exists, and false if not.
Reimplemented from IG::Lib::WaitFileEventLatenceBase.