summaryrefslogtreecommitdiff
path: root/stcol.hh
blob: 060d585fdedf8198d26abf03b011e58eb55ab713 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
  stcol.hh -- part of LilyPond

  (c) 1996 Han-Wen Nienhuys
*/

#ifndef STCOL_HH
#define STCOL_HH
#include "proto.hh"
#include "vray.hh"

struct Staff_column {
    Score_column *score_column;

    /// fields to collect data vertically.
    svec<Voice_element *> v_elts;
    svec<Command *> s_commands;
    
    Staff_column(Score_column*s); 
    bool mus() const;
    Real when() const;
    void add(Voice_element*ve);
    /****************************************************************
      VIRTUAL
    ****************************************************************/
    virtual void process_requests()=0;
    virtual void process_commands()=0;
    virtual ~Staff_column() { }
};


#endif // STCOL_HH