IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
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. More...
Public Member Functions | |
WaitFileRemovalByProxy (string filePath) | |
![]() | |
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 () |
![]() | |
virtual void | CancelAll () |
Cancel the current waiting for the condition on all threads. More... | |
Additional Inherited Members | |
![]() | |
WaitFileEventBaseByProxy () | |
![]() | |
WaitFileEventBaseByProxyLatence () | |
![]() | |
WaitFileEventLatenceBase | _waiterLatence |
Proxy object that actually performs operations for derived classes of this class. More... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
object | Lock [get] |
![]() | |
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 deleted (becomes nonexistent). 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 |