]> git.donarmstrong.com Git - lilypond.git/blob - stcol.hh
release: 0.0.6
[lilypond.git] / 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     Score_column *score_column;
15
16     /// fields to collect data vertically.
17     svec<Voice_element *> v_elts;
18     svec<Command *> s_commands;
19     
20     Staff_column(Score_column*s); 
21     bool mus() const;
22     Real when() const;
23     void add(Voice_element*ve);
24     /****************************************************************
25       VIRTUAL
26     ****************************************************************/
27     //virtual Staff_column *clone() const=0;
28     virtual void process_requests()=0;
29     virtual void process_commands()=0;
30     virtual ~Staff_column() { }
31 };
32
33
34 #endif // STCOL_HH
35