2 global-translator.hh -- declare Global_translator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef GLOBAL_TRANSLATOR_HH
11 #define GLOBAL_TRANSLATOR_HH
13 #include "translator-group.hh"
17 class Global_translator : public virtual Translator_group
19 PQueue<Moment> extra_mom_pq_;
21 VIRTUAL_COPY_CONS (Translator);
27 int get_moments_left () const;
28 Moment sneaky_insert_extra_moment (Moment);
29 void add_moment_to_process (Moment);
30 void run_iterator_on_me (Music_iterator*);
32 void apply_finalizations ();
33 void add_finalization (SCM);
35 virtual Music_output *get_output ();
36 virtual void prepare (Moment);
37 virtual void one_time_step ();
38 virtual void finish ();
39 virtual void start ();
41 virtual Moment now_mom () const;
50 #endif // GLOBAL_TRANSLATOR_HH