lilypond-0.1.14
[lilypond.git] / hdr / staff-column.hh
blobdd6303ea8c5be41784eed903904967a4c1995883
1 /*
2 staff-column.hh -- declare Staff_column
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef STAFFCOLUMN_HH
8 #define STAFFCOLUMN_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*> creationreq_l_arr_;
20 Array<Request*> musicalreq_l_arr_;
21 Array<Request*> commandreq_l_arr_;
22 Staff * staff_l_;
24 /// fields to collect timing data vertically.
25 Array<Timing_req*> timing_req_l_arr_;
26 Score_column *musical_column_l_, *command_column_l_;
28 /* *************** */
30 Staff_column();
32 Moment when() const;
33 void set_cols(Score_column *c1, Score_column *c2);
34 void add(Voice_element*ve);
35 void OK() const;
36 ~Staff_column();
37 void typeset_breakable_items(Array<Item *> &pre_p_arr,
38 Array<Item *> &nobreak_p_arr,
39 Array<Item *> &post_p_arr);
40 void typeset_musical_item(Item *i);
41 protected:
42 void setup_one_request(Request*);
47 #endif // STAFFCOLUMN_HH