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

IG::Lib::WaitDirectoryRemovalLatence Class Reference

Implements blocking until the specified directory is deleted (becomes nonexistent). Directory is specified in constructor or by setting the DirectoryPath 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::WaitDirectoryRemovalLatence:
Collaboration diagram for IG::Lib::WaitDirectoryRemovalLatence:

List of all members.

Public Member Functions

 WaitDirectoryRemovalLatence (string directoryPath)
override bool Condition ()
 Returns false if the monitored directory exists, and true if not.

Detailed Description

Implements blocking until the specified directory is deleted (becomes nonexistent). Directory is specified in constructor or by setting the DirectoryPath 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::WaitDirectoryRemovalLatence::WaitDirectoryRemovalLatence ( string  directoryPath) [inline]

Member Function Documentation

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

Returns false if the monitored directory 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