2 score-engraver.hh -- declare Score_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "engraver-group-engraver.hh"
14 #include "global-translator.hh"
17 Top level engraver. Puts elements into appropriate columns.
19 class Score_engraver
:
20 public Engraver_group_engraver
, public Global_translator
22 Line_of_score
* scoreline_l_
;
25 Link_array
<Score_element
> elem_p_arr_
;
27 Paper_column
* command_column_l_
;
28 Paper_column
* musical_column_l_
;
30 void set_columns (Paper_column
*,Paper_column
*);
34 VIRTUAL_COPY_CONS(Translator
);
35 Paper_score
* pscore_p_
;
37 void forbid_breaks ();
39 virtual Music_output
*get_output_p ();
41 virtual void prepare (Moment
);
42 virtual void finish();
43 virtual void process();
44 virtual int depth_i() const { return Global_translator::depth_i ();}
47 /* Engraver_group_engraver interface */
48 virtual Staff_info
get_staff_info() const;
49 virtual bool do_try_music (Music
*);
50 virtual void do_creation_processing();
51 virtual void do_removal_processing();
52 virtual void announce_element (Score_element_info
);
53 virtual void do_announces();
54 virtual void typeset_element (Score_element
*elem_p
);
56 virtual void do_pre_move_processing();
57 virtual void do_add_processing ();
60 #endif // SCORE_GRAV_HH