Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
Parameter Class Reference

Class for holding user-definable processor parameters. More...

#include <Parameter.h>

List of all members.

Public Member Functions

 Parameter (const String &name_, bool defaultVal, int ID)
 Parameter (const String &name_, float low, float high, float defaultVal, int ID)
 Parameter (const String &name_, Array< var > a, int defaultVal, int ID)
 ~Parameter ()
const String & getName ()
const String & getDescription ()
void addDescription (const String &desc)
var getDefaultValue ()
int getID ()
Array< var > getPossibleValues ()
void setValue (float val, int chan)
var operator[] (int chan)
Parameteroperator= (const Parameter &other)
bool isBoolean ()
bool isContinuous ()
bool isDiscrete ()

Detailed Description

Class for holding user-definable processor parameters.

See also:
GenericProcessor, GenericEditor

Constructor & Destructor Documentation

Parameter::Parameter ( const String &  name_,
bool  defaultVal,
int  ID 
)
Parameter::Parameter ( const String &  name_,
float  low,
float  high,
float  defaultVal,
int  ID 
)
Parameter::Parameter ( const String &  name_,
Array< var >  a,
int  defaultVal,
int  ID 
)
Parameter::~Parameter ( )
inline

Member Function Documentation

void Parameter::addDescription ( const String &  desc)
inline
var Parameter::getDefaultValue ( )
inline
const String& Parameter::getDescription ( )
inline
int Parameter::getID ( )
inline
const String& Parameter::getName ( )
inline
Array<var> Parameter::getPossibleValues ( )
inline
bool Parameter::isBoolean ( )
inline
bool Parameter::isContinuous ( )
inline
bool Parameter::isDiscrete ( )
inline
Parameter& Parameter::operator= ( const Parameter other)
var Parameter::operator[] ( int  chan)
inline
void Parameter::setValue ( float  val,
int  chan 
)

The documentation for this class was generated from the following file: