Ardour  9.0-pre0-582-g084a23a80d
GhostEvent Class Reference

#include <ghost_event.h>

Inheritance diagram for GhostEvent:
[legend]

Public Types

typedef Evoral::Note< Temporal::BeatsNoteType
 
typedef std::unordered_map< std::shared_ptr< NoteType >, GhostEvent * > EventList
 

Public Member Functions

 GhostEvent (::NoteBase *, ArdourCanvas::Container *)
 
 GhostEvent (::NoteBase *, ArdourCanvas::Container *, ArdourCanvas::Item *i)
 
virtual ~GhostEvent ()
 

Static Public Member Functions

static GhostEventfind (std::shared_ptr< NoteType > parent, EventList &events, EventList::iterator &opti)
 

Public Attributes

NoteBaseevent
 
ArdourCanvas::Itemitem
 
bool is_hit
 
int velocity_while_editing
 

Detailed Description

Definition at line 18 of file ghost_event.h.

Member Typedef Documentation

◆ EventList

typedef std::unordered_map<std::shared_ptr<NoteType>, GhostEvent* > GhostEvent::EventList

Definition at line 32 of file ghost_event.h.

◆ NoteType

Definition at line 31 of file ghost_event.h.

Constructor & Destructor Documentation

◆ GhostEvent() [1/2]

GhostEvent::GhostEvent ( ::NoteBase ,
ArdourCanvas::Container  
)

◆ GhostEvent() [2/2]

GhostEvent::GhostEvent ( ::NoteBase ,
ArdourCanvas::Container ,
ArdourCanvas::Item i 
)

◆ ~GhostEvent()

virtual GhostEvent::~GhostEvent ( )
virtual

Member Function Documentation

◆ find()

static GhostEvent* GhostEvent::find ( std::shared_ptr< NoteType parent,
EventList events,
EventList::iterator &  opti 
)
static

Member Data Documentation

◆ event

NoteBase* GhostEvent::event

Definition at line 25 of file ghost_event.h.

◆ is_hit

bool GhostEvent::is_hit

Definition at line 27 of file ghost_event.h.

◆ item

ArdourCanvas::Item* GhostEvent::item

Definition at line 26 of file ghost_event.h.

◆ velocity_while_editing

int GhostEvent::velocity_while_editing

Definition at line 28 of file ghost_event.h.


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