Ardour  9.0-pre0-582-g084a23a80d
NotePlayer Class Reference

#include <note_player.h>

Inheritance diagram for NotePlayer:
[legend]

Public Types

typedef Evoral::Note< Temporal::BeatsNoteType
 

Public Member Functions

 NotePlayer (std::shared_ptr< ARDOUR::MidiTrack >)
 
 ~NotePlayer ()
 
void add (std::shared_ptr< NoteType >)
 
void play ()
 

Private Types

typedef std::vector< std::shared_ptr< NoteType > > Notes
 

Private Member Functions

void on ()
 
void off ()
 

Static Private Member Functions

static bool _off (NotePlayer *)
 

Private Attributes

std::shared_ptr< ARDOUR::MidiTracktrack
 
Notes notes
 

Detailed Description

Definition at line 38 of file note_player.h.

Member Typedef Documentation

◆ Notes

typedef std::vector< std::shared_ptr<NoteType> > NotePlayer::Notes
private

Definition at line 52 of file note_player.h.

◆ NoteType

Definition at line 40 of file note_player.h.

Constructor & Destructor Documentation

◆ NotePlayer()

NotePlayer::NotePlayer ( std::shared_ptr< ARDOUR::MidiTrack )

◆ ~NotePlayer()

NotePlayer::~NotePlayer ( )

Member Function Documentation

◆ _off()

static bool NotePlayer::_off ( NotePlayer )
staticprivate

◆ add()

void NotePlayer::add ( std::shared_ptr< NoteType )

◆ off()

void NotePlayer::off ( )
private

◆ on()

void NotePlayer::on ( )
private

◆ play()

void NotePlayer::play ( )

Member Data Documentation

◆ notes

Notes NotePlayer::notes
private

Definition at line 55 of file note_player.h.

◆ track

std::shared_ptr<ARDOUR::MidiTrack> NotePlayer::track
private

Definition at line 54 of file note_player.h.


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