C# Class MCAEmotiv.GUI.Configurations.StimulusClass

Afficher le fichier Open project: madelson/Emotiv-Experimenter Class Usage Examples

Méthodes publiques

Méthode Description
IsValidLoadPath ( string path ) : bool

Might path be used to load a stimulus class?

RefreshStimuli ( ) : void

Reloads all stimuli from disk

ToString ( ) : string

Returns a loggable textual representation of this object

TryLoad ( string path, StimulusClass &stimulusClass ) : bool

Returns true if a stimulus class was successfully loaded from path

TrySave ( ) : bool

Returns true if this object was successfully saved to disk

UsedStimuli ( QuestionMode questionMode ) : IEnumerable

Retrieves the stimuli from this class that are valid when used with the given question mode

Private Methods

Méthode Description
StimulusClass ( string sourceFolder ) : System

Method Details

IsValidLoadPath() public static méthode

Might path be used to load a stimulus class?
public static IsValidLoadPath ( string path ) : bool
path string
Résultat bool

RefreshStimuli() public méthode

Reloads all stimuli from disk
public RefreshStimuli ( ) : void
Résultat void

ToString() public méthode

Returns a loggable textual representation of this object
public ToString ( ) : string
Résultat string

TryLoad() public static méthode

Returns true if a stimulus class was successfully loaded from path
public static TryLoad ( string path, StimulusClass &stimulusClass ) : bool
path string
stimulusClass StimulusClass
Résultat bool

TrySave() public méthode

Returns true if this object was successfully saved to disk
public TrySave ( ) : bool
Résultat bool

UsedStimuli() public méthode

Retrieves the stimuli from this class that are valid when used with the given question mode
public UsedStimuli ( QuestionMode questionMode ) : IEnumerable
questionMode QuestionMode
Résultat IEnumerable