Class BufferedVisualizer
Provides an abstract base class for type visualizers with an update frequency potentially much higher than the screen refresh rate.
public abstract class BufferedVisualizer : DialogTypeVisualizer
- Inheritance
-
BufferedVisualizer
- Derived
- Inherited Members
Properties
TargetInterval
Gets or sets the target interval, in milliseconds, between visualizer updates.
protected virtual int TargetInterval { get; }
Property Value
Methods
Show(DateTime, object)
Updates the type visualizer to display a buffered value object received at the specified time.
protected virtual void Show(DateTime time, object value)
Parameters
ShowBuffer(IList<Timestamped<object>>)
Updates the type visualizer with a new buffer of timestamped values.
protected virtual void ShowBuffer(IList<Timestamped<object>> values)
Parameters
values
IList<Timestamped<object>>A buffer of timestamped values where each timestamp indicates the time at which the value was received.
Visualize(IObservable<IObservable<object>>, IServiceProvider)
Creates an observable sequence used to visualize all notifications emitted by a workflow operator, using this type visualizer and the specified service provider.
public override IObservable<object> Visualize(IObservable<IObservable<object>> source, IServiceProvider provider)
Parameters
source
IObservable<IObservable<object>>An observable sequence that multicasts notifications from all the active subscriptions to the workflow operator.
provider
IServiceProviderA service provider object which can be used to obtain visualization, runtime inspection, or other editing services.
Returns
- IObservable<object>
An observable sequence where every notification updates the type visualizer object in the UI thread.