ardour
Public Member Functions | List of all members
MySequence< Time > Class Template Reference

#include <SequenceTest.hpp>

Inheritance diagram for MySequence< Time >:
Evoral::Sequence< Time > Evoral::ControlSet

Public Member Functions

 MySequence (DummyTypeMap &map)
 
boost::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 ()
 
bool percussive () const
 
void set_percussive (bool p)
 
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
 
void dump (std::ostream &) const
 
const_iterator begin (Time t=Time(), bool force_discrete=false, const std::set< Evoral::Parameter > &f=std::set< Evoral::Parameter >(), const std::set< WeakNotePtr > *active_notes=NULL) const
 
const const_iteratorend () 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 (boost::shared_ptr< Event< Time > > &ev, const ControlIterator &iter) const
 
bool edited () const
 
void set_edited (bool yn)
 
bool overlaps (const NotePtr &ev, const NotePtr &ignore_this_note) const
 
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
 
- Public Member Functions inherited from Evoral::ControlSet
 ControlSet ()
 
 ControlSet (const ControlSet &)
 
virtual ~ControlSet ()
 
boost::shared_ptr< Controlcontrol (const Parameter &id, bool create_if_missing=false)
 
boost::shared_ptr< const Controlcontrol (const Parameter &id) const
 
Controlscontrols ()
 
const Controlscontrols () const
 
virtual void add_control (boost::shared_ptr< Control >)
 
bool find_next_event (double start, double end, ControlEvent &ev) const
 
virtual bool controls_empty () const
 
virtual void clear_controls ()
 
void what_has_data (std::set< Parameter > &) const
 
Glib::Threads::Mutex & control_lock () const
 

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 boost::shared_ptr
< Evoral::Note< Time > > 
NotePtr
 
typedef boost::weak_ptr
< Evoral::Note< Time > > 
WeakNotePtr
 
typedef boost::shared_ptr
< const Evoral::Note< Time > > 
constNotePtr
 
typedef boost::shared_ptr
< Glib::Threads::RWLock::ReaderLock > 
ReadLock
 
typedef boost::shared_ptr
< WriteLockImpl
WriteLock
 
typedef std::multiset< NotePtr,
EarlierNoteComparator
Notes
 
typedef boost::shared_ptr
< Event< Time > > 
SysExPtr
 
typedef boost::shared_ptr
< const Event< Time > > 
constSysExPtr
 
typedef std::multiset
< SysExPtr,
EarlierSysExComparator
SysExes
 
typedef boost::shared_ptr
< PatchChange< Time > > 
PatchChangePtr
 
typedef boost::shared_ptr
< const PatchChange< Time > > 
constPatchChangePtr
 
typedef std::multiset
< PatchChangePtr,
EarlierPatchChangeComparator
PatchChanges
 
- Public Types inherited from Evoral::ControlSet
typedef std::map< Parameter,
boost::shared_ptr< Control > > 
Controls
 
- Static Public Member Functions inherited from Evoral::Sequence< Time >
static bool note_time_comparator (const boost::shared_ptr< const Note< Time > > &a, const boost::shared_ptr< const Note< Time > > &b)
 
- Protected Types inherited from Evoral::Sequence< Time >
typedef std::multiset< NotePtr,
NoteNumberComparator
Pitches
 
- 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, 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 50 of file SequenceTest.hpp.

Constructor & Destructor Documentation

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

Definition at line 52 of file SequenceTest.hpp.

Member Function Documentation

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

Implements Evoral::ControlSet.

Definition at line 54 of file SequenceTest.hpp.


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