Ardour  9.0-pre0-582-g084a23a80d
Evoral::TypeMap Class Referenceabstract

#include <TypeMap.h>

Inheritance diagram for Evoral::TypeMap:
[legend]

Public Member Functions

virtual ~TypeMap ()
 
virtual bool type_is_midi (uint32_t type) const =0
 
virtual uint8_t parameter_midi_type (const Parameter &param) const =0
 
virtual ParameterType midi_parameter_type (const uint8_t *buf, uint32_t len) const =0
 
virtual ParameterDescriptor descriptor (const Parameter &param) const =0
 
virtual std::string to_symbol (const Parameter &param) const =0
 

Detailed Description

The applications passes one of these which provide the implementation with required information about event types in an opaque, type neutral way

Definition at line 37 of file TypeMap.h.

Constructor & Destructor Documentation

◆ ~TypeMap()

virtual Evoral::TypeMap::~TypeMap ( )
inlinevirtual

Definition at line 39 of file TypeMap.h.

Member Function Documentation

◆ descriptor()

virtual ParameterDescriptor Evoral::TypeMap::descriptor ( const Parameter param) const
pure virtual

Return the description of a parameter.

Implemented in DummyTypeMap, and ARDOUR::EventTypeMap.

◆ midi_parameter_type()

virtual ParameterType Evoral::TypeMap::midi_parameter_type ( const uint8_t *  buf,
uint32_t  len 
) const
pure virtual

The parameter type for the given MIDI event.

Implemented in DummyTypeMap, and ARDOUR::EventTypeMap.

◆ parameter_midi_type()

virtual uint8_t Evoral::TypeMap::parameter_midi_type ( const Parameter param) const
pure 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

Implemented in DummyTypeMap, and ARDOUR::EventTypeMap.

◆ to_symbol()

virtual std::string Evoral::TypeMap::to_symbol ( const Parameter param) const
pure virtual

Implemented in DummyTypeMap, and ARDOUR::EventTypeMap.

◆ type_is_midi()

virtual bool Evoral::TypeMap::type_is_midi ( uint32_t  type) const
pure virtual

Return true iff the type is a MIDI event. The contents of the event will be used for specific ID

Implemented in DummyTypeMap, and ARDOUR::EventTypeMap.


The documentation for this class was generated from the following file: