LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1996--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1996--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 Jan Nieuwenhuizen <janneke@gnu.org> | 5 Jan Nieuwenhuizen <janneke@gnu.org> |
6 | 6 |
7 LilyPond is free software: you can redistribute it and/or modify | 7 LilyPond is free software: you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation, either version 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "moment.hh" | 24 #include "moment.hh" |
25 #include "performer-group.hh" | 25 #include "performer-group.hh" |
26 | 26 |
27 /** | 27 /** |
28 Top level performer. Completely takes care of MIDI output | 28 Top level performer. Completely takes care of MIDI output |
29 */ | 29 */ |
30 class Score_performer : public Performer_group | 30 class Score_performer : public Performer_group |
31 { | 31 { |
32 public: | 32 public: |
33 DECLARE_CLASSNAME (Score_performer); | 33 OVERRIDE_CLASS_NAME (Score_performer); |
34 Performance *performance_; | 34 Performance *performance_; |
35 | 35 |
36 ~Score_performer (); | 36 ~Score_performer (); |
37 Score_performer (); | 37 Score_performer (); |
38 | 38 |
39 protected: | 39 protected: |
40 void finish (SCM); | 40 void finish (SCM); |
41 void prepare (SCM); | 41 void prepare (SCM); |
42 void one_time_step (SCM); | 42 void one_time_step (SCM); |
43 | 43 |
44 /* Engraver_group_engraver interface */ | 44 /* Engraver_group_engraver interface */ |
45 virtual void connect_to_context (Context *); | 45 void connect_to_context (Context *) override; |
46 virtual void disconnect_from_context (); | 46 void disconnect_from_context () override; |
47 virtual void initialize (); | 47 void initialize () override; |
48 virtual void announce_element (Audio_element_info); | 48 void announce_element (Audio_element_info) override; |
49 virtual void derived_mark () const; | 49 void derived_mark () const override; |
50 virtual void acknowledge_audio_elements (); | 50 void acknowledge_audio_elements () override; |
51 private: | 51 private: |
52 void header (Midi_stream &); | 52 void header (Midi_stream &); |
53 | 53 |
54 Audio_column *audio_column_; | 54 Audio_column *audio_column_; |
55 bool skipping_; | 55 bool skipping_; |
56 Moment skip_start_mom_; | 56 Moment skip_start_mom_; |
57 Moment offset_mom_; | 57 Moment offset_mom_; |
58 }; | 58 }; |
59 | 59 |
60 #endif // SCORE_PERFORMER_HH | 60 #endif // SCORE_PERFORMER_HH |
LEFT | RIGHT |