ardour
Public Member Functions | List of all members
Evoral::TypeMap Class Referenceabstract

#include <TypeMap.hpp>

Inheritance diagram for Evoral::TypeMap:
ARDOUR::EventTypeMap DummyTypeMap

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 uint32_t midi_event_type (uint8_t status) 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 36 of file TypeMap.hpp.

Constructor & Destructor Documentation

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

Definition at line 38 of file TypeMap.hpp.

Member Function Documentation

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

Return the description of a parameter.

Implemented in ARDOUR::EventTypeMap, and DummyTypeMap.

virtual uint32_t Evoral::TypeMap::midi_event_type ( uint8_t  status) const
pure virtual

The type ID for a MIDI event with the given status byte

Implemented in ARDOUR::EventTypeMap, and DummyTypeMap.

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 ARDOUR::EventTypeMap, and DummyTypeMap.

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

Implemented in ARDOUR::EventTypeMap, and DummyTypeMap.

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 ARDOUR::EventTypeMap, and DummyTypeMap.


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