C# Class MCAEmotiv.GUI.Animation.Animator

Animates a view provider in a seperate form
Inheritance: System.SafeDisposable
Mostrar archivo Open project: madelson/Emotiv-Experimenter Class Usage Examples

Public Methods

Method Description
Animator ( ) : System

Construct an animator

Start ( IViewProvider provider, System.Action onStop ) : void

Start an animation with the specified provider. The on stop action is executed when the animation completes or when the user closes the animation form

Stop ( ) : void

Stops the animation

Protected Methods

Method Description
DisposeOfManagedResources ( ) : void

Disposes of all resources associated with the animator

Private Methods

Method Description
AnimationLoop ( object viewProvider ) : void

Method Details

Animator() public method

Construct an animator
public Animator ( ) : System
return System

DisposeOfManagedResources() protected method

Disposes of all resources associated with the animator
protected DisposeOfManagedResources ( ) : void
return void

Start() public method

Start an animation with the specified provider. The on stop action is executed when the animation completes or when the user closes the animation form
public Start ( IViewProvider provider, System.Action onStop ) : void
provider IViewProvider
onStop System.Action
return void

Stop() public method

Stops the animation
public Stop ( ) : void
return void