2 global-translator.hh -- declare Global_translator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef GLOBAL_TRANSLATOR_HH
11 #define GLOBAL_TRANSLATOR_HH
13 #include "translator-group.hh"
18 class Global_translator : public virtual Translator_group{
19 PQueue<Moment> extra_mom_pq_;
21 VIRTUAL_COPY_CONS(Translator);
27 int moments_left_i() const;
28 Moment sneaky_insert_extra_moment (Moment);
29 void add_moment_to_process (Moment);
30 void run_iterator_on_me (Music_iterator*);
32 virtual Music_output *get_output_p ();
33 virtual void prepare (Moment);
34 virtual void one_time_step ();
35 virtual void finish();
38 virtual Moment now_mom () const;
47 #endif // GLOBAL_TRANSLATOR_HH