- virtual bool do_try_music (Music*);
- virtual void do_process_requests();
- virtual void acknowledge_element (Score_element_info);
- virtual void do_pre_move_processing();
- virtual void do_post_move_processing();
- virtual void do_removal_processing ();
+ struct Event_info {
+ Stream_event *slur_, *note_;
+ Event_info (Stream_event *slur, Stream_event *note)
+ : slur_ (slur), note_ (note)
+ { }
+ };
+ // protected so that subclasses can see them
+ vector<Event_info> start_events_;
+ vector<Event_info> stop_events_;
+
+ typedef std::multimap<Stream_event *, Spanner *> Note_slurs;
+ Drul_array<Note_slurs> note_slurs_;
+ vector<Grob *> slurs_;
+ vector<Grob *> end_slurs_;
+ vector<Grob_info> objects_to_acknowledge_;
+
+ virtual SCM event_symbol () const;
+ virtual bool double_property () const;
+ virtual SCM grob_symbol () const;
+ virtual const char* object_name () const;
+
+ void acknowledge_note_column (Grob_info);
+ void acknowledge_script (Grob_info);
+
+ void listen_note (Stream_event *ev);
+ // A slur on an in-chord note is not actually announced as an event
+ // but rather produced by the note listener.
+ void listen_note_slur (Stream_event *ev, Stream_event *note);
+ void listen_slur (Stream_event *ev) { listen_note_slur (ev, 0); }
+ void acknowledge_extra_object (Grob_info);
+ void stop_translation_timestep ();
+ void process_music ();
+
+ bool can_create_slur (SCM, vsize, vsize *, Stream_event *);
+ void create_slur (SCM spanner_id, Event_info evi, Grob *g_cause, Direction dir, bool left_broken);
+ bool try_to_end (Event_info evi);
+
+ virtual void set_melisma (bool);
+ virtual void finalize ();
+ virtual void derived_mark () const;