#include <speech_synthesis_driver.hpp>
|
| virtual audio_data | synthesize (const text_data &input)=0 |
| |
| virtual | ~DriverBase ()=default |
| |
| virtual void | initialize (const rclcpp::Node::SharedPtr &node) |
| | Initialize the driver.
|
| |
| virtual void | deinitialize ()=0 |
| | Deinitialize the driver.
|
| |
| virtual std::string | getName () const |
| | Get the name of the driver.
|
| |
| virtual void | test () |
| | Test the driver.
|
| |
| void | check_directory (std::string folder_name) |
| | Check if the test directory exists, create it if not.
|
| |
| const std::filesystem::path | check_file (const std::string &file_name) |
| |
|
| void | initialize_base (const rclcpp::Node::SharedPtr &node) |
| | Initializer base driver in place of constructor due to plugin semantics.
|
| |
| bool | diagnostics_enabled () const |
| |
| void | enable_diagnostics (const std::string &hardware_id, const std::string &task_name, std::function< void(diagnostic_updater::DiagnosticStatusWrapper &)> task, std::chrono::milliseconds period=std::chrono::seconds(1)) |
| |
| void | disable_diagnostics () |
| |
| rclcpp::Node::SharedPtr | node_ |
| | ROS node for the driver.
|
| |
| std::string | name_ |
| | Name of the driver.
|
| |
| std::mutex | buffer_mutex_ |
| | Mutex to protect access to the driver data.
|
| |
| std::condition_variable | buffer_cv_ |
| | Condition variable to notify when new data is available.
|
| |
| std::atomic< bool > | is_running_ { false } |
| | Flag to indicate if the driver thread is running.
|
| |
| bool | diagnostics_enabled_ { false } |
| | Flag to enable standard ROS diagnostics publishing.
|
| |
| std::unique_ptr< diagnostic_updater::Updater > | diagnostics_updater_ |
| |
| rclcpp::TimerBase::SharedPtr | diagnostics_timer_ |
| |
◆ synthesize()
The documentation for this class was generated from the following file: