C# Class MyoSharp.Poses.PoseSequence

A class that will monitor a Myo for a specified sequence of poses.
Inheritance: IPoseSequence
Mostrar archivo Open project: VuWall/VuWall-Motion

Public Methods

Method Description
Create ( IMyoEventGenerator myo ) : IPoseSequence
Create ( IMyoEventGenerator myo, IEnumerable sequence ) : IPoseSequence
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnPoseSequenceCompleted ( IMyo myo, System.DateTime timestamp, IList poses ) : void
PoseSequence ( IMyoEventGenerator myo ) : System

Initializes a new instance of the PoseSequence class.

PoseSequence ( IMyoEventGenerator myo, IEnumerable sequence ) : System

Initializes a new instance of the PoseSequence class.

Private Methods

Method Description
Myo_PoseChanged ( object sender, MyoSharp.Device.PoseEventArgs e ) : void
ObjectInvariant ( ) : void

Method Details

Create() public static method

public static Create ( IMyoEventGenerator myo ) : IPoseSequence
myo IMyoEventGenerator
return IPoseSequence

Create() public static method

public static Create ( IMyoEventGenerator myo, IEnumerable sequence ) : IPoseSequence
myo IMyoEventGenerator
sequence IEnumerable
return IPoseSequence

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnPoseSequenceCompleted() protected method

protected OnPoseSequenceCompleted ( IMyo myo, System.DateTime timestamp, IList poses ) : void
myo IMyo
timestamp System.DateTime
poses IList
return void

PoseSequence() protected method

Initializes a new instance of the PoseSequence class.
protected PoseSequence ( IMyoEventGenerator myo ) : System
myo IMyoEventGenerator The Myo.
return System

PoseSequence() protected method

Initializes a new instance of the PoseSequence class.
protected PoseSequence ( IMyoEventGenerator myo, IEnumerable sequence ) : System
myo IMyoEventGenerator The Myo.
sequence IEnumerable The sequence of poses to watch for. Cannot be null.
return System