186 |
virtual void OnSetValue(bool b) throw (LinuxSamplerException) = 0; |
virtual void OnSetValue(bool b) throw (LinuxSamplerException) = 0; |
187 |
protected: |
protected: |
188 |
bool bVal; |
bool bVal; |
|
private: |
|
189 |
void InitWithDefault(); |
void InitWithDefault(); |
190 |
|
private: |
191 |
}; |
}; |
192 |
|
|
193 |
class DeviceCreationParameterInt : public DeviceCreationParameter { |
class DeviceCreationParameterInt : public DeviceCreationParameter { |
214 |
virtual void OnSetValue(int i) throw (LinuxSamplerException) = 0; |
virtual void OnSetValue(int i) throw (LinuxSamplerException) = 0; |
215 |
protected: |
protected: |
216 |
int iVal; |
int iVal; |
|
private: |
|
217 |
void InitWithDefault(); |
void InitWithDefault(); |
218 |
|
private: |
219 |
}; |
}; |
220 |
|
|
221 |
class DeviceCreationParameterFloat : public DeviceCreationParameter { |
class DeviceCreationParameterFloat : public DeviceCreationParameter { |
242 |
virtual void OnSetValue(float f) throw (LinuxSamplerException) = 0; |
virtual void OnSetValue(float f) throw (LinuxSamplerException) = 0; |
243 |
protected: |
protected: |
244 |
float fVal; |
float fVal; |
|
private: |
|
245 |
void InitWithDefault(); |
void InitWithDefault(); |
246 |
|
private: |
247 |
}; |
}; |
248 |
|
|
249 |
class DeviceCreationParameterString : public DeviceCreationParameter { |
class DeviceCreationParameterString : public DeviceCreationParameter { |
262 |
virtual void OnSetValue(String s) throw (LinuxSamplerException) = 0; |
virtual void OnSetValue(String s) throw (LinuxSamplerException) = 0; |
263 |
protected: |
protected: |
264 |
String sVal; |
String sVal; |
|
private: |
|
265 |
void InitWithDefault(); |
void InitWithDefault(); |
266 |
|
private: |
267 |
}; |
}; |
268 |
|
|
269 |
class DeviceCreationParameterStrings : public DeviceCreationParameter { |
class DeviceCreationParameterStrings : public DeviceCreationParameter { |
287 |
virtual void OnSetValue(std::vector<String> vS) throw (LinuxSamplerException) = 0; |
virtual void OnSetValue(std::vector<String> vS) throw (LinuxSamplerException) = 0; |
288 |
protected: |
protected: |
289 |
std::vector<String> sVals; |
std::vector<String> sVals; |
|
private: |
|
290 |
void InitWithDefault(); |
void InitWithDefault(); |
291 |
|
private: |
292 |
}; |
}; |
293 |
|
|
294 |
template <class T> |
template <class T> |