2 request.hh -- declare Request baseclasses.
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
15 #include "virtual-methods.hh"
18 #include "direction.hh"
21 /** An atom of musical information. This is an abstract class for any
22 piece of music that does not contain other Music.
24 Hungarian postfix: req
27 class Request : public Music {
30 VIRTUAL_COPY_CONS (Music);
31 bool equal_b (Request const*) const;
33 virtual bool do_equal_b (Request const*) const;
39 class Script_req : public virtual Request
42 void set_direction (Direction d);
43 Direction get_direction () const;
45 VIRTUAL_COPY_CONS (Music);
51 Requests to start or stop something.
52 This type of request typically results in the creation of a #Spanner#
54 class Span_req : public virtual Request {
56 String get_span_type_str () const;
57 void set_span_type_str (String);
58 void set_span_dir (Direction d);
59 Direction get_span_dir () const;
64 virtual bool do_equal_b (Request const*) const;
66 VIRTUAL_COPY_CONS (Music);
70 Start a tie at this note, end it at the next
72 class Tie_req : public Request {
74 VIRTUAL_COPY_CONS (Music);