Ardour  9.0-pre0-582-g084a23a80d
MySequence< Time > Class Template Reference

#include <SequenceTest.h>

Inheritance diagram for MySequence< Time >:
[legend]

Public Member Functions

 MySequence (DummyTypeMap &map)
 
 MySequence (const MySequence &copy)
 
virtual bool find_next_event (double start, double end, ControlEvent &ev, bool only_active) const
 
std::shared_ptr< Controlcontrol_factory (const Parameter &param)
 
- Public Member Functions inherited from Evoral::Sequence< Time >
 Sequence (const TypeMap &type_map)
 
 Sequence (const Sequence< Time > &other)
 
virtual ReadLock read_lock () const
 
virtual WriteLock write_lock ()
 
void clear ()
 
void start_write ()
 
bool writing () const
 
void end_write (StuckNoteOption, Time when=Time())
 
void append (const Event< Time > &ev, Evoral::event_id_t evid)
 
const TypeMaptype_map () const
 
size_t n_notes () const
 
bool empty () const
 
Notesnotes ()
 
const Notesnotes () const
 
void get_notes (Notes &, NoteOperator, uint8_t val, int chan_mask=0) const
 
void remove_overlapping_notes ()
 
void trim_overlapping_notes ()
 
void remove_duplicate_notes ()
 
bool overlapping_pitches_accepted () const
 
void overlapping_pitches_accepted (bool yn)
 
OverlapPitchResolution overlap_pitch_resolution () const
 
void set_overlap_pitch_resolution (OverlapPitchResolution opr)
 
void set_notes (const typename Sequence< Time >::Notes &n)
 
SysExessysexes ()
 
const SysExessysexes () const
 
PatchChangespatch_changes ()
 
const PatchChangespatch_changes () const
 
const_iterator begin (Time t=Time(), bool force_discrete=false, const std::set< Evoral::Parameter > &f=std::set< Evoral::Parameter >(), WeakActiveNotes const *active_notes=0) const
 
const const_iteratorend () const
 
void dump (std::ostream &, const_iterator x, uint32_t limit=0) const
 
Notes::const_iterator note_lower_bound (Time t) const
 
PatchChanges::const_iterator patch_change_lower_bound (Time t) const
 
SysExes::const_iterator sysex_lower_bound (Time t) const
 
Notes::iterator note_lower_bound (Time t)
 
PatchChanges::iterator patch_change_lower_bound (Time t)
 
SysExes::iterator sysex_lower_bound (Time t)
 
bool control_to_midi_event (std::shared_ptr< Event< Time > > &ev, const ControlIterator &iter) const
 
bool edited () const
 
void set_edited (bool yn)
 
bool contains (const NotePtr &ev) const
 
bool add_note_unlocked (const NotePtr note, void *arg=0)
 
void remove_note_unlocked (const constNotePtr note)
 
void add_patch_change_unlocked (const PatchChangePtr)
 
void remove_patch_change_unlocked (const constPatchChangePtr)
 
void add_sysex_unlocked (const SysExPtr)
 
void remove_sysex_unlocked (const SysExPtr)
 
uint8_t lowest_note () const
 
uint8_t highest_note () const
 
Time duration () const
 
void set_duration (Time const &)
 
- Public Member Functions inherited from Evoral::ControlSet
 ControlSet ()
 
 ControlSet (const ControlSet &)
 
virtual ~ControlSet ()
 
std::shared_ptr< Controlcontrol (const Parameter &id, bool create_if_missing=false)
 
std::shared_ptr< const Controlcontrol (const Parameter &id) const
 
Controlscontrols ()
 
const Controlscontrols () const
 
virtual void add_control (std::shared_ptr< Control >)
 
virtual bool controls_empty () const
 
virtual void clear_controls ()
 
void what_has_data (std::set< Parameter > &) const
 
Glib::Threads::Mutex & control_lock () const
 
void start_domain_bounce (Temporal::DomainBounceInfo &)
 
void finish_domain_bounce (Temporal::DomainBounceInfo &)
 
- Public Member Functions inherited from Temporal::TimeDomainSwapper
virtual ~TimeDomainSwapper ()
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Additional Inherited Members

- Public Types inherited from Evoral::Sequence< Time >
enum  StuckNoteOption { Relax , DeleteStuckNotes , ResolveStuckNotes }
 
enum  NoteOperator {
  PitchEqual , PitchLessThan , PitchLessThanOrEqual , PitchGreater ,
  PitchGreaterThanOrEqual , VelocityEqual , VelocityLessThan , VelocityLessThanOrEqual ,
  VelocityGreater , VelocityGreaterThanOrEqual
}
 
enum  OverlapPitchResolution { LastOnFirstOff , FirstOnFirstOff }
 
typedef std::shared_ptr< Evoral::Note< Time > > NotePtr
 
typedef std::weak_ptr< Evoral::Note< Time > > WeakNotePtr
 
typedef std::shared_ptr< const Evoral::Note< Time > > constNotePtr
 
typedef std::set< WeakNotePtr, std::owner_less< WeakNotePtr > > WeakActiveNotes
 
typedef std::shared_ptr< Glib::Threads::RWLock::ReaderLock > ReadLock
 
typedef std::shared_ptr< WriteLockImplWriteLock
 
typedef std::multiset< NotePtr, EarlierNoteComparatorNotes
 
typedef std::shared_ptr< Event< Time > > SysExPtr
 
typedef std::shared_ptr< const Event< Time > > constSysExPtr
 
typedef std::multiset< SysExPtr, EarlierSysExComparatorSysExes
 
typedef std::shared_ptr< PatchChange< Time > > PatchChangePtr
 
typedef std::shared_ptr< const PatchChange< Time > > constPatchChangePtr
 
typedef std::multiset< PatchChangePtr, EarlierPatchChangeComparatorPatchChanges
 
- Public Types inherited from Evoral::ControlSet
typedef std::map< Parameter, std::shared_ptr< Control > > Controls
 
- Static Public Member Functions inherited from Evoral::Sequence< Time >
static bool note_time_comparator (const std::shared_ptr< const Note< Time > > &a, const std::shared_ptr< const Note< Time > > &b)
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 
- Protected Types inherited from Evoral::Sequence< Time >
typedef std::multiset< NotePtr, NoteNumberComparatorPitches
 
- Protected Member Functions inherited from Evoral::Sequence< Time >
virtual int resolve_overlaps_unlocked (const NotePtr, void *=0)
 
Pitchespitches (uint8_t chan)
 
const Pitchespitches (uint8_t chan) const
 
virtual void control_list_marked_dirty ()
 
- Protected Member Functions inherited from Evoral::ControlSet
virtual void control_list_interpolation_changed (Parameter const &, ControlList::InterpolationStyle)
 
- Protected Attributes inherited from Evoral::Sequence< Time >
bool _edited
 
bool _overlapping_pitches_accepted
 
OverlapPitchResolution _overlap_pitch_resolution
 
Glib::Threads::RWLock _lock
 
bool _writing
 
- Protected Attributes inherited from Evoral::ControlSet
Glib::Threads::Mutex _control_lock
 
Controls _controls
 
PBD::ScopedConnectionList _list_connections
 

Detailed Description

template<typename Time>
class MySequence< Time >

Definition at line 55 of file SequenceTest.h.

Constructor & Destructor Documentation

◆ MySequence() [1/2]

template<typename Time >
MySequence< Time >::MySequence ( DummyTypeMap map)
inline

Definition at line 57 of file SequenceTest.h.

◆ MySequence() [2/2]

template<typename Time >
MySequence< Time >::MySequence ( const MySequence< Time > &  copy)
inline

Definition at line 58 of file SequenceTest.h.

Member Function Documentation

◆ control_factory()

template<typename Time >
std::shared_ptr<Control> MySequence< Time >::control_factory ( const Parameter param)
inlinevirtual

Implements Evoral::ControlSet.

Definition at line 62 of file SequenceTest.h.

◆ find_next_event()

template<typename Time >
virtual bool MySequence< Time >::find_next_event ( double  start,
double  end,
ControlEvent ev,
bool  only_active 
) const
inlinevirtual

Definition at line 60 of file SequenceTest.h.


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