+#include "performer-group.hh"
+#include "context.hh"
+
+/* Perform a staff. Individual notes should have their instrument
+ (staff-wide) set, so we override play_element ()
+*/
+class Staff_performer : public Performer
+{
+public:
+ TRANSLATOR_DECLARATIONS (Staff_performer);
+ ~Staff_performer ();
+
+ string new_instrument_string ();
+ string instrument_string_;
+
+protected:
+ virtual void acknowledge_audio_element (Audio_element_info info);
+ virtual void finalize ();
+ virtual void initialize ();
+ void process_music ();
+ void stop_translation_timestep ();
+
+private:
+ Audio_staff *audio_staff_;
+ Audio_instrument *instrument_;
+ Audio_text *instrument_name_;
+ Audio_text *name_;
+ Audio_tempo *tempo_;
+};