Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes
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, bool t=false)
 Parameter (const String &name_, float low, float high, float defaultVal, int ID, bool t=false)
 Parameter (const String &name_, Array< var > a, int defaultVal, int ID, bool t=false)
 ~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 ()

Public Attributes

bool shouldDeactivateDuringAcquisition

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,
bool  t = false 
)
Parameter::Parameter ( const String &  name_,
float  low,
float  high,
float  defaultVal,
int  ID,
bool  t = false 
)
Parameter::Parameter ( const String &  name_,
Array< var >  a,
int  defaultVal,
int  ID,
bool  t = false 
)
Parameter::~Parameter ( )

Member Function Documentation

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

Member Data Documentation

bool Parameter::shouldDeactivateDuringAcquisition

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