24 #ifndef __PARAMETER_H_62922AE5__
25 #define __PARAMETER_H_62922AE5__
27 #include "../../JuceLibraryCode/JuceHeader.h"
46 Parameter(
const String& name_,
bool defaultVal,
int ID);
47 Parameter(
const String& name_,
float low,
float high,
float defaultVal,
int ID);
48 Parameter(
const String& name_, Array<var> a,
int defaultVal,
int ID);
52 const String& getName() {
return name;}
53 const String& getDescription() {
return description;}
54 void addDescription(
const String& desc) {description = desc;}
56 var getDefaultValue() {
return defaultValue;}
58 int getID() {
return parameterId;}
60 Array<var> getPossibleValues() {
return possibleValues;}
61 void setValue(
float val,
int chan);
63 var operator[](
int chan) {
return values[chan];}
66 bool isBoolean() {
return isBool;}
67 bool isContinuous() {
return isCont;}
68 bool isDiscrete() {
return isDisc;}
78 bool isBool, isCont, isDisc;
82 Array<var> possibleValues;
167 #endif // __PARAMETER_H_62922AE5__