C# Class MyoSharp.Poses.PoseSequence

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
Myo_PoseChanged ( object sender, MyoSharp.Device.PoseEventArgs e ) : void
ObjectInvariant ( ) : void

Method Details

Create() public static méthode

public static Create ( IMyoEventGenerator myo ) : IPoseSequence
myo IMyoEventGenerator
Résultat IPoseSequence

Create() public static méthode

public static Create ( IMyoEventGenerator myo, IEnumerable sequence ) : IPoseSequence
myo IMyoEventGenerator
sequence IEnumerable
Résultat IPoseSequence

Dispose() public méthode

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

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnPoseSequenceCompleted() protected méthode

protected OnPoseSequenceCompleted ( IMyo myo, System.DateTime timestamp, IList poses ) : void
myo IMyo
timestamp System.DateTime
poses IList
Résultat void

PoseSequence() protected méthode

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

PoseSequence() protected méthode

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.
Résultat System