summaryrefslogtreecommitdiff
path: root/hdr/stcol.hh
blob: 17469a4db54accd50a224a654c719fcd5136e195 (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
34
35
36
37
38
39
40
/*
  stcol.hh -- part of LilyPond

  (c) 1996 Han-Wen Nienhuys
*/

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

/// store simultaneous requests
struct Staff_column {
    /// indirection
    Score_column *score_column;

    /// fields to collect data vertically.
    svec<Voice_element *> v_elts;

    /// idem
    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 ~Staff_column() { }
};


#endif // STCOL_HH