]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/performer.hh
release: 0.1.13
[lilypond.git] / lily / include / performer.hh
1 /*
2   performer.hh -- declare Performer
3
4   (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5                  Jan Nieuwenhuizen <jan@digicash.com>
6  */
7
8 #ifndef PERFORMER_HH
9 #define PERFORMER_HH
10
11 #include "lily-proto.hh"
12 #include "varray.hh"
13 #include "request.hh"
14 #include "score-elem-info.hh"
15 #include "staff-info.hh"
16 #include "translator.hh"
17
18 /**
19   Convert a music definition into a audio representation.
20   A baseclass
21  */
22 class Performer : public virtual Translator{
23 public:
24   TRANSLATOR_CLONE(Performer);
25   DECLARE_MY_RUNTIME_TYPEINFO;
26   Performer_group_performer* daddy_perf_l() const;
27 protected:
28   virtual int get_tempo_i() const;
29   virtual void play (Audio_element * elem_p );
30   Performer * performer_l () { return this; }
31 };
32
33
34 #endif // PERFORMER_HH