IGLib  1.7.2
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Lib.WaitFileCreationByProxy 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. More...

+ Inheritance diagram for IG.Lib.WaitFileCreationByProxy:
+ Collaboration diagram for IG.Lib.WaitFileCreationByProxy:

Public Member Functions

 WaitFileCreationByProxy (string filePath)
 
- Public Member Functions inherited from IG.Lib.WaitFileEventBaseByProxyLatence
override bool Condition ()
 Returns true if unblocking condition is satisfied, and false otherwise. More...
 
override void CancelOne ()
 Cancels the current waiting for the condition (if one is going on) and unblocks the thread on which waiting was called (possibly with some latency). More...
 
override void Wait ()
 Blocks until the specified condition gets satisfied. See class description for details. More...
 
override string ToString ()
 
- Public Member Functions inherited from IG.Lib.WaitConditionBase
virtual void CancelAll ()
 Cancel the current waiting for the condition on all threads. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IG.Lib.WaitFileEventBaseByProxy
 WaitFileEventBaseByProxy ()
 
- Protected Member Functions inherited from IG.Lib.WaitFileEventBaseByProxyLatence
 WaitFileEventBaseByProxyLatence ()
 
- Protected Attributes inherited from IG.Lib.WaitFileEventBaseByProxyLatence
WaitFileEventLatenceBase _waiterLatence
 Proxy object that actually performs operations for derived classes of this class. More...
 
- Properties inherited from IG.Lib.WaitFileEventBaseByProxyLatence
virtual string Path [get, set]
 Path of the file or directory on which the particular event is waited for. Can be specified as relative path, but is internally stored as fully qualified path. More...
 
override bool IsWaiting [get]
 Returns true if waiting for unblocking condition is currently performed, and false otherwise. Setting should only be done within the waiting function. More...
 
override bool CancelFlag [get, set]
 If this flag is set then the current waiting (if one is going on) will be cancelled. More...
 
- Properties inherited from IG.Lib.WaitConditionBase
object Lock [get]
 This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More...
 
object InternalLock [get]
 Used internally for locking access to internal fields. More...
 
object WaitLock [get]
 Must be used only for locking waiting the Waiting() block (since it is potentially time consuming). More...
 
virtual bool IsWaiting [get, protected set]
 True if waiting for unblocking condition is currently performed, and false otherwise. Setting should only be done within the waiting function. More...
 
virtual bool CancelFlag [get, set]
 If this flag is set then the current waiting (if one is going on) will be cancelled. More...
 
- Properties inherited from IG.Lib.IWaitCondition
bool IsWaiting [get]
 Returns true if waiting for unblocking condition is currently performed, and false otherwise. Setting should only be done within the waiting function. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 
- Properties inherited from IG.Lib.IWaitFileEvent
string Path [get, set]
 Path of the file or directory on which the particular event is waited for. Can be specified as relative path, but is internally stored as fully qualified path. More...
 

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.

$A Igor Jun10; TODO: implement non-Latence vaiting (via file events)!

Constructor & Destructor Documentation

IG.Lib.WaitFileCreationByProxy.WaitFileCreationByProxy ( string  filePath)
inline

The documentation for this class was generated from the following file: