Click or drag to resize

ExternalDrivenBackgroundMonitor Class

Background monitor that can be externally driven, for example by a timer, to set ShouldReportNow.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesExternalDrivenBackgroundMonitor
    Altaxo.Main.ServicesExternalDrivenTimeReportMonitor

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class ExternalDrivenBackgroundMonitor : IExternalDrivenBackgroundMonitor, 
	IProgressMonitor, INotifyPropertyChanged, IDisposable

The ExternalDrivenBackgroundMonitor type exposes the following members.

Constructors
 NameDescription
Public methodExternalDrivenBackgroundMonitor Initializes a new instance of the ExternalDrivenBackgroundMonitor class.
Top
Properties
 NameDescription
Public propertyIsDisposed Gets a flag indicating whether this instance is disposed.
Public propertyProgress Gets the progress. If the value changes, it must be notified through the INotifyPropertyChanged interface.
Public propertyProgressAndETA Gets the progress text including an estimated completion time, if possible.
Public propertyShouldReportNow Gets a value indicating whether the monitor should be queried for a progress update.
Public propertyShouldSetShouldReportAutomatically If true, ShouldReportNow is set automatically every time one of the properties (Progress, Text0, Text1, ..) is read.
Public propertyStatus Gets the overall status of the task.
Public propertyTaskName Gets the name of the task.
Public propertyText0 Gets the text at level 0. If the value changes, it must be notified through the INotifyPropertyChanged interface.
Public propertyText1 Gets or sets the progress text on level 1.
Public propertyText2 Gets or sets the progress text on level 2.
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetProgressReporter Gets a progress reporter for this monitor.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberNewMonitorAndReporter Creates a new monitor together with a matching progress reporter.
Public methodSetCancellationPendingHard Sets a flag that tries to interrupt the task hardly. This will typically leave a corrupted result.
Public methodSetCancellationPendingSoft Sets a flag that tries to interrupt the task softly. This will typically leave an incomplete, but not corrupted result.
Public methodSetShouldReportNow Sets the ShouldReportNow flag to true to indicate that the worker thread should report its progress.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
Top
Fields
 NameDescription
Protected field_shouldReport Indicates whether a progress update should be reported.
Top
See Also