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