]> git.donarmstrong.com Git - lilypond.git/blob - hdr/stcol.hh
release: 0.0.9
[lilypond.git] / hdr / stcol.hh
1 /*
2   stcol.hh -- part of LilyPond
3
4   (c) 1996 Han-Wen Nienhuys
5 */
6
7 #ifndef STCOL_HH
8 #define STCOL_HH
9 #include "proto.hh"
10 #include "vray.hh"
11
12 /// store simultaneous requests
13 struct Staff_column {
14     /// indirection
15     Score_column *score_column;
16
17     /// fields to collect data vertically.
18     svec<Voice_element *> v_elts;
19
20     /// idem
21     svec<Command *> s_commands;
22
23     /****************/
24     
25     Staff_column(Score_column*s); 
26     bool mus() const;
27     Real when() const;
28     void add(Voice_element*ve);
29     /****************************************************************
30       VIRTUAL
31     ****************************************************************/
32
33     virtual void process_requests()=0;
34
35     virtual ~Staff_column() { }
36 };
37
38
39 #endif // STCOL_HH
40