virtual void finalize ();
virtual void derived_mark () const;
+public:
void acknowledge_rest (Grob_info);
void acknowledge_beam (Grob_info);
void acknowledge_bar_line (Grob_info);
Grace_auto_beam_engraver::boot ()
{
ADD_LISTENER (Grace_auto_beam_engraver, beam_forbid);
- ADD_ACKNOWLEDGER (Grace_auto_beam_engraver, stem);
- ADD_ACKNOWLEDGER (Grace_auto_beam_engraver, bar_line);
- ADD_ACKNOWLEDGER (Grace_auto_beam_engraver, beam);
- ADD_ACKNOWLEDGER (Grace_auto_beam_engraver, breathing_sign);
- ADD_ACKNOWLEDGER (Grace_auto_beam_engraver, rest);
+ ADD_ACKNOWLEDGER (Auto_beam_engraver, stem);
+ ADD_ACKNOWLEDGER (Auto_beam_engraver, bar_line);
+ ADD_ACKNOWLEDGER (Auto_beam_engraver, beam);
+ ADD_ACKNOWLEDGER (Auto_beam_engraver, breathing_sign);
+ ADD_ACKNOWLEDGER (Auto_beam_engraver, rest);
}
ADD_TRANSLATOR (Grace_auto_beam_engraver,
Grace_beam_engraver::boot ()
{
ADD_LISTENER (Grace_beam_engraver, beam);
- ADD_ACKNOWLEDGER (Grace_beam_engraver, stem);
- ADD_ACKNOWLEDGER (Grace_beam_engraver, rest);
+ ADD_ACKNOWLEDGER (Beam_engraver, stem);
+ ADD_ACKNOWLEDGER (Beam_engraver, rest);
}
ADD_TRANSLATOR (Grace_beam_engraver,
Stream_event *pes_or_flexa_req_;
public:
+ void listen_pes_or_flexa (Stream_event *ev);
// no TRANSLATOR_DECLARATIONS (Gregorian_ligature_engraver) needed
// since this class is abstract
protected:
Gregorian_ligature_engraver ();
- virtual void listen_pes_or_flexa (Stream_event *ev);
virtual void build_ligature (Spanner *ligature,
vector<Grob_info> const &primitives);
virtual void transform_heads (Spanner *ligature,
void stop_translation_timestep ();
virtual void finalize ();
- void acknowledge_rest (Grob_info);
- void acknowledge_ligature_head (Grob_info);
- virtual void listen_ligature (Stream_event *ev);
void process_music ();
virtual Spanner *create_ligature_spanner () = 0;
virtual void typeset_ligature (Spanner *ligature,
SCM brew_ligature_primitive_proc;
public:
+ void acknowledge_rest (Grob_info);
+ void acknowledge_ligature_head (Grob_info);
+ void listen_ligature (Stream_event *ev);
// no TRANSLATOR_DECLARATIONS (Ligature_engraver) needed since this
// class is abstract
DECLARE_TRANSLATOR_CALLBACKS (Ligature_engraver);
const char* event_name_;
virtual SCM event_symbol () = 0;
- void acknowledge_inline_accidental (Grob_info);
- void acknowledge_fingering (Grob_info);
- void acknowledge_note_column (Grob_info);
- void acknowledge_script (Grob_info);
- void acknowledge_dots (Grob_info);
- void acknowledge_text_script (Grob_info);
- void acknowledge_end_tie (Grob_info);
- void acknowledge_tuplet_number (Grob_info);
-
- void listen_note (Stream_event *ev);
- void listen_slur (Stream_event *ev, Stream_event *note = 0);
void acknowledge_extra_object (Grob_info);
void stop_translation_timestep ();
void process_music ();
virtual void derived_mark () const;
public:
+ void acknowledge_inline_accidental (Grob_info);
+ void acknowledge_fingering (Grob_info);
+ void acknowledge_note_column (Grob_info);
+ void acknowledge_script (Grob_info);
+ void acknowledge_dots (Grob_info);
+ void acknowledge_text_script (Grob_info);
+ void acknowledge_end_tie (Grob_info);
+ void acknowledge_tuplet_number (Grob_info);
+ void listen_note (Stream_event *ev);
+ void listen_slur (Stream_event *ev, Stream_event *note);
+ // You'd think the following is the same as defaulting `note' to 0,
+ // but template resolution for trampolines disagrees. Huh.
+ void listen_slur (Stream_event *ev) { listen_slur (ev, 0); }
// no TRANSLATOR_DECLARATIONS (Slur_proto_engraver) needed since this
// class is abstract
DECLARE_TRANSLATOR_CALLBACKS (Slur_proto_engraver);
Kievan_ligature_engraver::boot ()
{
ADD_LISTENER (Kievan_ligature_engraver, ligature);
- ADD_ACKNOWLEDGER (Kievan_ligature_engraver, rest);
- ADD_ACKNOWLEDGER (Kievan_ligature_engraver, ligature_head);
+ ADD_ACKNOWLEDGER (Ligature_engraver, rest);
+ ADD_ACKNOWLEDGER (Ligature_engraver, ligature_head);
}
ADD_TRANSLATOR (Kievan_ligature_engraver,
Mensural_ligature_engraver::boot ()
{
ADD_LISTENER (Mensural_ligature_engraver, ligature);
- ADD_ACKNOWLEDGER (Mensural_ligature_engraver, rest);
- ADD_ACKNOWLEDGER (Mensural_ligature_engraver, ligature_head);
+ ADD_ACKNOWLEDGER (Ligature_engraver, rest);
+ ADD_ACKNOWLEDGER (Ligature_engraver, ligature_head);
}
ADD_TRANSLATOR (Mensural_ligature_engraver,
{
ADD_LISTENER (Phrasing_slur_engraver, phrasing_slur);
ADD_LISTENER (Phrasing_slur_engraver, note);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, inline_accidental);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, fingering);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, note_column);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, inline_accidental);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, fingering)
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, note_column);
ADD_ACKNOWLEDGER (Phrasing_slur_engraver, slur);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, script);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, dots);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, text_script);
- ADD_END_ACKNOWLEDGER (Phrasing_slur_engraver, tie);
- ADD_ACKNOWLEDGER (Phrasing_slur_engraver, tuplet_number);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, script);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, dots);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, text_script);
+ ADD_END_ACKNOWLEDGER (Slur_proto_engraver, tie);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, tuplet_number);
}
ADD_TRANSLATOR (Phrasing_slur_engraver,
{
ADD_LISTENER (Slur_engraver, slur);
ADD_LISTENER (Slur_engraver, note);
- ADD_ACKNOWLEDGER (Slur_engraver, inline_accidental);
- ADD_ACKNOWLEDGER (Slur_engraver, fingering);
- ADD_ACKNOWLEDGER (Slur_engraver, note_column);
- ADD_ACKNOWLEDGER (Slur_engraver, script);
- ADD_ACKNOWLEDGER (Slur_engraver, text_script);
- ADD_ACKNOWLEDGER (Slur_engraver, dots);
- ADD_END_ACKNOWLEDGER (Slur_engraver, tie);
- ADD_ACKNOWLEDGER (Slur_engraver, tuplet_number);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, inline_accidental);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, fingering);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, note_column);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, script);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, text_script);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, dots);
+ ADD_END_ACKNOWLEDGER (Slur_proto_engraver, tie);
+ ADD_ACKNOWLEDGER (Slur_proto_engraver, tuplet_number);
}
ADD_TRANSLATOR (Slur_engraver,
{
ADD_LISTENER (Vaticana_ligature_engraver, pes_or_flexa);
ADD_LISTENER (Vaticana_ligature_engraver, ligature);
- ADD_ACKNOWLEDGER (Vaticana_ligature_engraver, rest);
- ADD_ACKNOWLEDGER (Vaticana_ligature_engraver, ligature_head);
+ ADD_ACKNOWLEDGER (Ligature_engraver, rest);
+ ADD_ACKNOWLEDGER (Ligature_engraver, ligature_head);
}
ADD_TRANSLATOR (Vaticana_ligature_engraver,