summaryrefslogtreecommitdiff
path: root/stcol.hh
blob: 1d8b09c61ec557e4c4b1ed1204714913a9630472 (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
/*
  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 {
    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 Staff_column *clone() const=0;
    virtual void process_requests()=0;
    virtual void process_commands()=0;
    virtual ~Staff_column() { }
};


#endif // STCOL_HH