IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Implements blocking until the specified file is deleted (becomes nonexistent). 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 | |
WaitFileRemovalLatence (string filePath) | |
override bool | Condition () |
Returns false if the monitored file exists, and true if not. |
Implements blocking until the specified file is deleted (becomes nonexistent). 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::WaitFileRemovalLatence::WaitFileRemovalLatence | ( | string | filePath | ) | [inline] |
override bool IG::Lib::WaitFileRemovalLatence::Condition | ( | ) | [inline] |
Returns false if the monitored file exists, and true if not.
Reimplemented from IG::Lib::WaitFileEventLatenceBase.