A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
butterflow_ui
ButterflowWrapper Class
ButterflowWrapper Constructor
ButterflowWrapper Properties
ButterflowWrapper Methods
ButterflowWrapper Events
ButterflowWrapper Fields

# ButterflowWrapper Class

A butterflow wrapper. Provides interaction with the butterflow executable.
Inheritance Hierarchy
System
Object
butterflow_ui
PropertyChangedAlerter
butterflow_ui
ButterflowWrapper

Namespace: butterflow_ui
Assembly: butterflow-ui (in butterflow-ui.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy

    public class ButterflowWrapper : PropertyChangedAlerter

The ButterflowWrapper type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ButterflowWrapper | Initializes a new instance of the ButterflowWrapper class

Top
Properties

| Name | Description
--- | --- | ---
| ConsoleOutput | Gets the console output from butterflow.
| IsRunning | Gets a value indicating whether butterflow is currently running.
| ProgressPercentage | Gets the progress percentage as reported by butterflow.

Top
Methods

| Name | Description
--- | --- | ---
| AddConstantCallProperty | Adds a property that will always be called when any property is updated.. (Inherited from PropertyChangedAlerter.)
| Cancel | Kills the running instance of butterflow, cancelling its current operation.
| OnAllPropertiesChanged | Executes when all properties are changed and should be updated. (Inherited from PropertyChangedAlerter.)
| OnParsedConsoleOutputRecieved | Executes the parsed console output recieved action.
| OnPropertyChanged | Executes the property changed action. This alerts subscribers to its change in value. (Inherited from PropertyChangedAlerter.)
| ParseConsoleOutput | Parses console output and attempts to find known values. If a known value is found, the event is triggered.
| Probe | Probes a video file.
| Process_Exited | Event handler. Called by Process for exited events.
| Process_OutputDataReceived | Event handler. Called by Process for output data received events.
| Run(String) | Runs butterflow with the given arguments.
| Run(OptionsConfiguration) | Runs butterflow with the given optionsConfiguration.

Top
Events

| Name | Description
--- | --- | ---
| ParsedConsoleOutputRecieved | Event queue for all listeners interested in ParsedConsoleOutputRecieved events.
| PropertyChanged | Occurs when a property value changes. (Inherited from PropertyChangedAlerter.)

Top
Fields

| Name | Description
--- | --- | ---
| alwaysCall | A list of properties to always call as updated. Generally used for composite properties. (Inherited from PropertyChangedAlerter.)
| consoleOutput | The console output from butterflow.
| executablePath | Full pathname of the butterflow executable file.
| interpreter | An input interpreter used for converting string values to numeric values.
| isRunning | True if butterflow is running, false if not.
| progressPercentage | The progress percentage as reported by butterflow.
| REGEX_PROGRESS | The RegEx string for detecting progress made when rendering a video.
| REGEX_PROGRESS_ALT | An alternative RegEx string for detecting progress made when rendering a video.
| REGEX_RATE | The RegEx string for matching the probed playback rate.
| REGEX_RESOLUTION | The RegEx string for matching probed resolution.
| runningProcess | The running butterflow process.

Top
See Also

#### Reference

butterflow_ui Namespace