]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/timing-translator.hh
1b2fe054eaca9887c4a5ccfd98beb7d963bba7e9
[lilypond.git] / lily / include / timing-translator.hh
1 /*
2   timing-translator.hh -- declare Timing_translator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef TIMING_TRANSLATOR_HH
11 #define TIMING_TRANSLATOR_HH
12
13 #include "translator.hh"
14 #include "time-description.hh"
15 #include "grouping.hh"
16 #include "parray.hh"
17
18 class Timing_translator : public virtual Translator
19 {
20 public:
21   TRANSLATOR_CLONE(Timing_translator);
22   Meter_change_req * meter_req_l () const;
23   Timing_translator ();
24   DECLARE_MY_RUNTIME_TYPEINFO;
25   Time_description time_;
26   Rhythmic_grouping  default_grouping_;
27   Link_array<Timing_req> timing_req_l_arr_;
28 protected: 
29   virtual void do_print () const;
30   virtual void do_creation_processing ();
31   virtual bool do_try_request (Request *req_l);
32   virtual void do_process_requests();
33   virtual void do_pre_move_processing();
34   virtual void do_post_move_processing();
35
36 };
37 #endif // TIMING_TRANSLATOR_HH