23 #ifndef __PLUGINS_FESTIVAL_SYNTH_THREAD_H_
24 #define __PLUGINS_FESTIVAL_SYNTH_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/logging.h>
29 #include <aspect/configurable.h>
30 #include <aspect/blackboard.h>
31 #include <aspect/clock.h>
32 #include <blackboard/interface_listener.h>
37 class SpeechSynthInterface;
56 void say(
const char *text);
61 protected:
virtual void run() { Thread::run(); }
66 std::string __cfg_voice;
67 std::string __cfg_extra_code;
Thread aspect to access to BlackBoard.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
Fawkes library namespace.
virtual void loop()
Code to execute in the thread.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
virtual void init()
Initialize the thread.
Festival Synthesis Thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void finalize()
Finalize the thread.
Thread aspect to log output.
Thread aspect to access configuration data.
FestivalSynthThread()
Constructor.
virtual bool bb_interface_message_received(fawkes::Interface *interface, fawkes::Message *message)
BlackBoard message received notification.
virtual void once()
Execute an action exactly once.
void say(const char *text)
Say something.
BlackBoard interface listener.
SpeechSynthInterface Fawkes BlackBoard Interface.