lilypond-0.1.27
[lilypond.git] / hdr / stcol.hh
blobb6ecdb18a6408010eae75e1f9a8a6c5193950d56
1 /*
2 stcol.hh -- declare Staff_column
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef STCOL_HH
8 #define STCOL_HH
9 #include "proto.hh"
10 #include "varray.hh"
11 #include "moment.hh"
13 /// store simultaneous requests
14 class Staff_column {
16 Staff_column(Staff_column const&);
18 public:
19 Array<Request*> musicalreq_l_arr_;
20 Array<Request*> commandreq_l_arr_;
21 Staff * staff_l_;
23 /// fields to collect timing data vertically.
24 Array<Timing_req*> timing_req_l_arr_;
25 Score_column *musical_column_l_, *command_column_l_;
27 /* *************** */
29 Staff_column();
31 Moment when() const;
32 void set_cols(Score_column *c1, Score_column *c2);
33 void add(Voice_element*ve);
34 void OK() const;
35 ~Staff_column();
36 void typeset_breakable_items(Array<Item *> &pre_p_arr,
37 Array<Item *> &nobreak_p_arr,
38 Array<Item *> &post_p_arr);
39 void typeset_musical_item(Item *i);
40 protected:
41 void setup_one_request(Request*);
45 #endif // STCOL_HH