2 engraver-group.hh -- declare Engraver_group
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef ENGRAVER_GROUP_HH
10 #define ENGRAVER_GROUP_HH
12 #include "engraver.hh"
13 #include "translator-group.hh"
15 class Engraver_group : public virtual Translator_group
18 vector<Grob_info> announce_infos_;
19 Drul_array<SCM> acknowledge_hash_table_drul_;
20 DECLARE_LISTENER (override);
21 DECLARE_LISTENER (revert);
23 VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Engraver_group);
26 virtual void derived_mark () const;
28 virtual void connect_to_context (Context *c);
29 virtual void disconnect_from_context ();
30 virtual void announce_grob (Grob_info);
31 int pending_grob_count () const;
33 virtual void acknowledge_grobs ();
36 typedef void (Engraver:: *Engraver_method) (void);
38 void engraver_each (SCM list, Engraver_method method);
40 #endif /* ENGRAVERGROUP_HH */