]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/beam-engraver.hh
release: 1.1.23
[lilypond.git] / lily / include / beam-engraver.hh
index ccb96d15bf52933adbce9e99448c99b41dda9980..834467858f9ec4c90d0e2202da7b1df08ecae357 100644 (file)
@@ -1,37 +1,39 @@
-/*
-  beam-engraver.hh -- declare Beam_engraver
-
+/*   
+  cbeam-engraver.hh -- declare Beam_engraver
+  
   source file of the GNU LilyPond music typesetter
+  
+  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef BEAM_GRAV_HH
-#define BEAM_GRAV_HH
+#ifndef CBEAM_ENGRAVER_HH
+#define CBEAM_ENGRAVER_HH
 
 #include "engraver.hh"
 #include "drul-array.hh"
 
-/**
-  Generate a beam. Eats stems.
- */
-class Beam_engraver : public Engraver
-{
-  Drul_array<Beam_req *> span_reqs_drul_;
+class Beam_engraver : public Engraver {
+  Drul_array<Beam_req*> reqs_drul_;
+
+  Beam *finished_beam_p_;
   Beam *beam_p_;
-  Rhythmic_grouping *current_grouping_p_;
 
-public:
-  TRANSLATOR_CLONE(Beam_engraver);
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  Beam_engraver();
+  Rhythmic_grouping*grouping_p_;
+  Rhythmic_grouping*finished_grouping_p_;
+  
+  void typeset_beam ();
 protected:
-  virtual void do_removal_processing();
-  virtual void do_process_requests();
-  virtual bool do_try_request (Request*);
+  virtual void do_pre_move_processing ();
+  virtual void do_post_move_processing ();
+  virtual void do_removal_processing ();
   virtual void acknowledge_element (Score_element_info);
-  virtual void do_pre_move_processing();
+  virtual bool do_try_music (Music*);
+  virtual void do_process_requests ();
+public:
+  Beam_engraver ();
+  VIRTUAL_COPY_CONS (Translator);
 };
 
-#endif // BEAM_GRAV_HH
+#endif /* CBEAM_ENGRAVER_HH */
+