@@ -58,79 +58,46 @@ class Parameter
5858 Parameter (const String& name_, Array<var> a, int defaultVal, int ID, bool t = false );
5959
6060 /* * Destructor.*/
61- ~Parameter () {}
61+ ~Parameter ();
6262
6363 /* * Returns the name of the parameter.*/
64- const String& getName ()
65- {
66- return name;
67- }
64+ const String& getName ();
6865
6966 /* * Returns a description of the parameter.*/
70- const String& getDescription ()
71- {
72- return description;
73- }
67+ const String& getDescription ();
7468
7569 /* * Sets the description of the parameter.*/
76- void addDescription (const String& desc)
77- {
78- description = desc;
79- }
70+ void addDescription (const String& desc);
8071
8172 /* * Returns the default value of a parameter (can be boolean, int, or float).*/
82- var getDefaultValue ()
83- {
84- return defaultValue;
85- }
73+ var getDefaultValue ();
8674
8775 /* * Returns the unique integer ID of a parameter.*/
88- int getID ()
89- {
90- return parameterId;
91- }
76+ int getID ();
9277
9378 /* * Returns all the possible values that a parameter can take.*/
94- Array<var> getPossibleValues ()
95- {
96- return possibleValues;
97- }
79+ Array<var> getPossibleValues ();
9880
9981 /* * Sets the value of a parameter for a given channel.*/
10082 void setValue (float val, int chan);
10183
10284 /* * Returns the value of a parameter for a given channel.*/
103- var operator [](int chan)
104- {
105- return values[chan];
106- }
85+ var operator [](int chan);
10786
10887 /* * Returns the value of a parameter for a given channel.*/
109- var getValue (int chan)
110- {
111- return values[chan];
112- }
88+ var getValue (int chan);
11389
11490 /* * Copies a parameter.*/
11591 Parameter& operator =(const Parameter& other);
11692
11793 /* * Returns true if a parameter is boolean, false otherwise.*/
118- bool isBoolean ()
119- {
120- return isBool;
121- }
94+ bool isBoolean ();
12295
12396 /* * Returns true if a parameter is continuous, false otherwise.*/
124- bool isContinuous ()
125- {
126- return isCont;
127- }
97+ bool isContinuous ();
12898
12999 /* * Returns true if a parameter is discrete, false otherwise.*/
130- bool isDiscrete ()
131- {
132- return isDisc;
133- }
100+ bool isDiscrete ();
134101
135102 /* * Certain parameters should not be changed while data acquisition is active.
136103
0 commit comments