IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Lib::WaitFileRemovalLatence Class Reference

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...

Inheritance diagram for IG::Lib::WaitFileRemovalLatence:
Collaboration diagram for IG::Lib::WaitFileRemovalLatence:

List of all members.

Public Member Functions

 WaitFileRemovalLatence (string filePath)
override bool Condition ()
 Returns false if the monitored file exists, and true if not.

Detailed Description

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;


Constructor & Destructor Documentation

IG::Lib::WaitFileRemovalLatence::WaitFileRemovalLatence ( string  filePath) [inline]

Member Function Documentation

override bool IG::Lib::WaitFileRemovalLatence::Condition ( ) [inline]

Returns false if the monitored file exists, and true if not.

Reimplemented from IG::Lib::WaitFileEventLatenceBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events