Ardour  9.8-93-g460ea8c013
GhostEvent Class Reference

#include <ghost_event.h>

Inheritance diagram for GhostEvent:
[legend]

Public Types

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

Public Member Functions

 GhostEvent (::NoteBase *, ArdourCanvas::Lollipop *lolli)
 
 GhostEvent (::NoteBase *, ArdourCanvas::Item *parent)
 
virtual ~GhostEvent ()
 
void set_sensitive (bool yn)
 

Static Public Member Functions

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

Public Attributes

NoteBase * event
 
ArdourCanvas::Item * item
 
bool is_hit
 
int velocity_while_editing
 

Detailed Description

Definition at line 20 of file ghost_event.h.

Member Typedef Documentation

◆ EventList

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

Definition at line 36 of file ghost_event.h.

◆ NoteType

Definition at line 35 of file ghost_event.h.

Constructor & Destructor Documentation

◆ GhostEvent() [1/2]

GhostEvent::GhostEvent ( ::NoteBase *  ,
ArdourCanvas::Lollipop *  lolli 
)

◆ GhostEvent() [2/2]

GhostEvent::GhostEvent ( ::NoteBase *  ,
ArdourCanvas::Item *  parent 
)

◆ ~GhostEvent()

virtual GhostEvent::~GhostEvent ( )
virtual

Member Function Documentation

◆ find()

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

◆ set_sensitive()

void GhostEvent::set_sensitive ( bool  yn)

Member Data Documentation

◆ event

NoteBase* GhostEvent::event

Definition at line 29 of file ghost_event.h.

◆ is_hit

bool GhostEvent::is_hit

Definition at line 31 of file ghost_event.h.

◆ item

ArdourCanvas::Item* GhostEvent::item

Definition at line 30 of file ghost_event.h.

◆ velocity_while_editing

int GhostEvent::velocity_while_editing

Definition at line 32 of file ghost_event.h.


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