Ardour
9.0-pre0-582-g084a23a80d
|
#include <event_type_map.h>
Public Member Functions | |
bool | type_is_midi (uint32_t type) const |
uint8_t | parameter_midi_type (const Evoral::Parameter ¶m) const |
Evoral::ParameterType | midi_parameter_type (const uint8_t *buf, uint32_t len) const |
Evoral::ControlList::InterpolationStyle | interpolation_of (const Evoral::Parameter ¶m) |
Evoral::Parameter | from_symbol (const std::string &str) const |
std::string | to_symbol (const Evoral::Parameter ¶m) const |
Evoral::ParameterDescriptor | descriptor (const Evoral::Parameter ¶m) const |
void | set_descriptor (const Evoral::Parameter ¶m, const Evoral::ParameterDescriptor &desc) |
Public Member Functions inherited from Evoral::TypeMap | |
virtual | ~TypeMap () |
Static Public Member Functions | |
static EventTypeMap & | instance () |
Private Types | |
typedef std::map< Evoral::Parameter, Evoral::ParameterDescriptor > | Descriptors |
Private Member Functions | |
EventTypeMap (URIMap *uri_map) | |
Private Attributes | |
URIMap * | _uri_map |
Descriptors | _descriptors |
Static Private Attributes | |
static EventTypeMap * | event_type_map |
This is the interface Ardour provides to Evoral about what parameter and event types/ranges/names etc. to use.
Definition at line 39 of file event_type_map.h.
|
private |
Definition at line 59 of file event_type_map.h.
|
inlineprivate |
Definition at line 61 of file event_type_map.h.
|
virtual |
Return the description of a parameter.
Implements Evoral::TypeMap.
Evoral::Parameter ARDOUR::EventTypeMap::from_symbol | ( | const std::string & | str | ) | const |
|
static |
Evoral::ControlList::InterpolationStyle ARDOUR::EventTypeMap::interpolation_of | ( | const Evoral::Parameter & | param | ) |
|
virtual |
The parameter type for the given MIDI event.
Implements Evoral::TypeMap.
|
virtual |
Return the MIDI type (ie status byte with channel 0) for a parameter, or 0 if parameter can not be expressed as a MIDI event
Implements Evoral::TypeMap.
void ARDOUR::EventTypeMap::set_descriptor | ( | const Evoral::Parameter & | param, |
const Evoral::ParameterDescriptor & | desc | ||
) |
|
virtual |
Implements Evoral::TypeMap.
|
virtual |
Return true iff the type is a MIDI event. The contents of the event will be used for specific ID
Implements Evoral::TypeMap.
|
private |
Definition at line 64 of file event_type_map.h.
|
private |
Definition at line 63 of file event_type_map.h.
|
staticprivate |
Definition at line 66 of file event_type_map.h.