IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
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...
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... | |
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)!
|
inline |