]> git.donarmstrong.com Git - lilypond.git/blob - lily/performer.cc
lilypond-0.0.76
[lilypond.git] / lily / performer.cc
1 /*
2   performer.cc -- declare Performer
3
4   (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5                  Jan Nieuwenhuizen <jan@digicash.com>
6  */
7
8
9 #include "performer-group-performer.hh"
10 #include "debug.hh"
11
12 IMPLEMENT_STATIC_NAME(Performer);
13 IMPLEMENT_IS_TYPE_B(Performer);
14
15 Performer::Performer()
16 {
17     daddy_perf_l_ = 0;
18 }
19
20 Performer::~Performer()
21 {
22 }
23
24 void
25 Performer::do_print() const
26 {
27 }
28
29 Moment
30 Performer::get_mom() const
31 {
32     return daddy_perf_l_->get_mom();
33 }
34
35 void
36 Performer::midi_output( Midi_stream* )
37 {
38 }
39
40 void 
41 Performer::play_event( Midi_item* l ) 
42
43     daddy_perf_l_->play_event( l ); 
44 }
45
46 void
47 Performer::print() const
48 {
49 #ifndef NPRINT
50     mtor << "\n" << name() << " {";
51 //    do_print();
52     mtor << "}";
53 #endif
54 }
55
56 void
57 Performer::process_requests()
58 {
59 }
60
61 void
62 Performer::set( Moment )
63 {
64
65
66 void
67 Performer::set_track( Midi_def*, int& )
68 {
69
70
71 bool 
72 Performer::try_request( Request* req_l )
73 {
74 // huh?
75 //    return daddy_perf_l_->try_request( req_l_ );
76     return false;
77 }
78