2 simple-music-iterator.hh -- declare Simple_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #ifndef SIMPLE_MUSIC_ITERATOR_HH
10 #define SIMPLE_MUSIC_ITERATOR_HH
12 #include "music-iterator.hh"
15 Iterator for atomic music objects: events are generated at the
16 beginning and at the end of the music.
19 class Simple_music_iterator : public Music_iterator
23 Moment last_processed_mom_;
25 DECLARE_SCHEME_CALLBACK(constructor, ());
26 Simple_music_iterator ();
27 virtual void process (Moment);
28 virtual bool ok ()const;
29 virtual Moment pending_moment ()const;
32 #endif /* SIMPLE_MUSIC_ITERATOR_HH */