ardour
|
#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 |
uint32_t | midi_event_type (uint8_t status) 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 40 of file event_type_map.h.
|
private |
Definition at line 58 of file event_type_map.h.
|
inlineprivate |
Definition at line 60 of file event_type_map.h.
|
virtual |
Return the description of a parameter.
Implements Evoral::TypeMap.
Definition at line 260 of file event_type_map.cc.
Evoral::Parameter ARDOUR::EventTypeMap::from_symbol | ( | const std::string & | str | ) | const |
Definition at line 125 of file event_type_map.cc.
|
static |
Definition at line 41 of file event_type_map.cc.
Evoral::ControlList::InterpolationStyle ARDOUR::EventTypeMap::interpolation_of | ( | const Evoral::Parameter & | param | ) |
Definition at line 72 of file event_type_map.cc.
|
virtual |
The type ID for a MIDI event with the given status byte
Implements Evoral::TypeMap.
Definition at line 66 of file event_type_map.cc.
|
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.
Definition at line 60 of file event_type_map.cc.
void ARDOUR::EventTypeMap::set_descriptor | ( | const Evoral::Parameter & | param, |
const Evoral::ParameterDescriptor & | desc | ||
) |
Definition at line 273 of file event_type_map.cc.
|
virtual |
Unique string representation, suitable as an XML property value. e.g. <AutomationList automation-id="whatthisreturns">
Implements Evoral::TypeMap.
Definition at line 206 of file event_type_map.cc.
|
virtual |
Return true iff the type is a MIDI event. The contents of the event will be used for specific ID
Implements Evoral::TypeMap.
Definition at line 54 of file event_type_map.cc.
|
private |
Definition at line 63 of file event_type_map.h.
|
private |
Definition at line 62 of file event_type_map.h.
|
staticprivate |
Definition at line 65 of file event_type_map.h.