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>
37class SpeechSynthInterface;
55 void say(
const char *text);
70 std::string cfg_voice_;
71 std::string cfg_extra_code_;
Festival Synthesis Thread.
virtual bool bb_interface_message_received(fawkes::Interface *interface, fawkes::Message *message) noexcept
BlackBoard message received notification.
virtual void loop()
Code to execute in the thread.
virtual void once()
Execute an action exactly once.
void say(const char *text)
Say something.
FestivalSynthThread()
Constructor.
virtual void init()
Initialize the thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void finalize()
Finalize the thread.
Thread aspect to access to BlackBoard.
BlackBoard interface listener.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to access configuration data.
Base class for all Fawkes BlackBoard interfaces.
Thread aspect to log output.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
SpeechSynthInterface Fawkes BlackBoard Interface.
Thread class encapsulation of pthreads.
Fawkes library namespace.