C# Class MCAEmotiv.GUI.Configurations.StimulusClass

Mostrar archivo Open project: madelson/Emotiv-Experimenter Class Usage Examples

Public Methods

Method 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

Method Description
StimulusClass ( string sourceFolder ) : System

Method Details

IsValidLoadPath() public static method

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

RefreshStimuli() public method

Reloads all stimuli from disk
public RefreshStimuli ( ) : void
return void

ToString() public method

Returns a loggable textual representation of this object
public ToString ( ) : string
return string

TryLoad() public static method

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

TrySave() public method

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

UsedStimuli() public method

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