20 #ifndef EVORAL_PARAMETER_HPP
21 #define EVORAL_PARAMETER_HPP
46 : _type(type), _id(id), _channel(channel)
50 inline uint8_t
channel()
const {
return _channel; }
51 inline uint32_t
id()
const {
return _id; }
59 return (_type ==
id._type && _channel ==
id._channel && _id ==
id._id );
71 if (_type < other.
_type) {
73 }
else if (_type == other.
_type && _channel < other.
_channel) {
75 }
else if (_type == other.
_type && _channel == other.
_channel && _id < other.
_id ) {
82 inline operator bool()
const {
return (_type != 0); }
bool operator==(const Parameter &id) const
ParameterType type() const
Parameter(ParameterType type, uint8_t channel=0, uint32_t id=0)
bool operator!=(const Parameter &id) const
bool operator<(const Parameter &other) const
bool operator==(const ProcessorSelection &a, const ProcessorSelection &b)