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

IG::Lib::WaitFileCreationLatence Class Reference

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

Inheritance diagram for IG::Lib::WaitFileCreationLatence:
Collaboration diagram for IG::Lib::WaitFileCreationLatence:

List of all members.

Public Member Functions

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

Detailed Description

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;


Constructor & Destructor Documentation

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

Member Function Documentation

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

Returns true if the monitored file exists, and false 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