ardour
Classes | Typedefs | Enumerations | Functions | Variables
Evoral Namespace Reference

Classes

class  Beats
 
class  Control
 
class  ControlEvent
 
struct  ControlEventTimeComparator
 
class  ControlIterator
 
class  ControlList
 
class  ControlSet
 
class  Curve
 
singleton  Event
 
class  EventList
 
singleton  EventSink
 
class  IdentityConverter
 
class  MIDIEvent
 
singleton  Note
 
class  Parameter
 
struct  ParameterDescriptor
 
class  PatchChange
 
struct  Range
 
class  RangeList
 
struct  RangeMove
 
class  Sequence
 
class  SMF
 
class  SMFReader
 
class  TimeConverter
 
class  TypeMap
 

Typedefs

typedef int32_t event_id_t
 
typedef uint32_t EventType
 

Enumerations

enum  OverlapType {
  OverlapNone, OverlapInternal, OverlapStart, OverlapEnd,
  OverlapExternal
}
 

Functions

std::ostream & operator<< (std::ostream &os, const Beats &t)
 
std::istream & operator>> (std::istream &is, Beats &t)
 
LIBEVORAL_API event_id_t event_id_counter ()
 
LIBEVORAL_API event_id_t next_event_id ()
 
LIBEVORAL_API void init_event_id_counter (event_id_t n)
 
template<typename Time >
std::ostream & operator<< (std::ostream &o, const Evoral::Event< Time > &ev)
 
static int midi_event_size (uint8_t status)
 
static int midi_event_size (const uint8_t *buffer)
 
static bool midi_event_is_valid (const uint8_t *buffer, size_t len)
 
LIBEVORAL_API std::string midi_note_name (uint8_t noteval)
 
template<typename Time >
std::ostream & operator<< (std::ostream &o, const Evoral::Note< Time > &n)
 
template<typename T >
OverlapType coverage (T sa, T ea, T sb, T eb)
 
template<typename T >
bool operator== (Range< T > a, Range< T > b)
 
template<typename T >
RangeList< T > subtract (Range< T > range, RangeList< T > sub)
 
bool event_time_less_than (ControlEvent *a, ControlEvent *b)
 

Variables

LIBEVORAL_API const Beats MaxBeats = Evoral::Beats(DBL_MAX)
 
LIBEVORAL_API const Beats MinBeats = Evoral::Beats(DBL_MIN)
 
static event_id_t _event_id_counter = 0
 

Typedef Documentation

typedef int32_t Evoral::event_id_t

ID of an event (note or other). This must be operable on by glib atomic ops

Definition at line 40 of file types.hpp.

typedef uint32_t Evoral::EventType

Type of an event (opaque, mapped by application)

Definition at line 43 of file types.hpp.

Enumeration Type Documentation

Enumerator
OverlapNone 
OverlapInternal 
OverlapStart 
OverlapEnd 
OverlapExternal 

Definition at line 31 of file Range.hpp.

Function Documentation

template<typename T >
OverlapType Evoral::coverage ( sa,
ea,
sb,
eb 
)

Definition at line 40 of file Range.hpp.

event_id_t Evoral::event_id_counter ( )

Definition at line 27 of file Event.cpp.

bool Evoral::event_time_less_than ( ControlEvent *  a,
ControlEvent *  b 
)
inline

Definition at line 48 of file ControlList.cpp.

void Evoral::init_event_id_counter ( event_id_t  n)

Definition at line 33 of file Event.cpp.

static bool Evoral::midi_event_is_valid ( const uint8_t *  buffer,
size_t  len 
)
inlinestatic

Return true iff the given buffer is a valid MIDI event. len must be exactly correct for the contents of buffer

Definition at line 113 of file midi_util.h.

static int Evoral::midi_event_size ( uint8_t  status)
inlinestatic

Return the size of the given event including the status byte, or -1 if unknown (e.g. sysex)

Definition at line 39 of file midi_util.h.

static int Evoral::midi_event_size ( const uint8_t *  buffer)
inlinestatic

Return the size of the given event including the status byte, or -1 if event is illegal.

Definition at line 84 of file midi_util.h.

std::string Evoral::midi_note_name ( uint8_t  noteval)

Definition at line 25 of file midi_util.cpp.

event_id_t Evoral::next_event_id ( )

Definition at line 39 of file Event.cpp.

template<typename Time >
std::ostream& Evoral::operator<< ( std::ostream &  o,
const Evoral::Note< Time > &  n 
)

Definition at line 113 of file Note.hpp.

template<typename Time >
std::ostream& Evoral::operator<< ( std::ostream &  o,
const Evoral::Event< Time > &  ev 
)

Definition at line 159 of file Event.hpp.

std::ostream& Evoral::operator<< ( std::ostream &  os,
const Beats &  t 
)
inline

Definition at line 216 of file Beats.hpp.

template<typename T >
bool Evoral::operator== ( Range< T >  a,
Range< T >  b 
)

Definition at line 144 of file Range.hpp.

std::istream& Evoral::operator>> ( std::istream &  is,
Beats &  t 
)
inline

Definition at line 223 of file Beats.hpp.

template<typename T >
RangeList<T> Evoral::subtract ( Range< T >  range,
RangeList< T >  sub 
)

Subtract the ranges in `sub' from that in `range', returning the result.

Definition at line 213 of file Range.hpp.

Variable Documentation

event_id_t Evoral::_event_id_counter = 0
static

Definition at line 24 of file Event.cpp.

const Beats Evoral::MaxBeats = Evoral::Beats(DBL_MAX)

Definition at line 26 of file types.cpp.

const Beats Evoral::MinBeats = Evoral::Beats(DBL_MIN)

Definition at line 27 of file types.cpp.