ardour
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
NotePlayer Class Reference

#include <note_player.h>

Inheritance diagram for NotePlayer:

Public Types

typedef Evoral::Note
< Evoral::Beats
NoteType
 

Public Member Functions

 NotePlayer (boost::shared_ptr< ARDOUR::MidiTrack >)
 
 ~NotePlayer ()
 
void add (boost::shared_ptr< NoteType >)
 
void play ()
 
void on ()
 
void off ()
 
void clear ()
 

Static Public Member Functions

static bool _off (NotePlayer *)
 

Private Types

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

Private Attributes

boost::shared_ptr
< ARDOUR::MidiTrack
track
 
Notes notes
 

Detailed Description

Definition at line 32 of file note_player.h.

Member Typedef Documentation

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

Definition at line 48 of file note_player.h.

Definition at line 34 of file note_player.h.

Constructor & Destructor Documentation

NotePlayer::NotePlayer ( boost::shared_ptr< ARDOUR::MidiTrack mt)

Definition at line 29 of file note_player.cc.

NotePlayer::~NotePlayer ( )

Definition at line 34 of file note_player.cc.

Member Function Documentation

bool NotePlayer::_off ( NotePlayer np)
static

Definition at line 75 of file note_player.cc.

void NotePlayer::add ( boost::shared_ptr< NoteType note)

Definition at line 40 of file note_player.cc.

void NotePlayer::clear ( )

Definition at line 46 of file note_player.cc.

void NotePlayer::off ( )

Definition at line 83 of file note_player.cc.

void NotePlayer::on ( )

Definition at line 53 of file note_player.cc.

void NotePlayer::play ( )

Definition at line 61 of file note_player.cc.

Member Data Documentation

Notes NotePlayer::notes
private

Definition at line 51 of file note_player.h.

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

Definition at line 50 of file note_player.h.


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