lilypond-0.1.16
[lilypond.git] / lily / include / performer.hh
blob8335f87bc3c165b5fb1185f7403696012a9053a2
1 /*
2 performer.hh -- declare Performer
4 (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5 Jan Nieuwenhuizen <jan@digicash.com>
6 */
8 #ifndef PERFORMER_HH
9 #define PERFORMER_HH
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"
18 /**
19 Convert a music definition into a audio representation.
20 A baseclass
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; }
34 #endif // PERFORMER_HH