Public Member Functions | Private Member Functions | Private Attributes | List of all members
TTSModuleRos Class Reference

#include <xbot_talker_ros.h>

Public Member Functions

bool init ()
 
 TTSModuleRos ()
 
 ~TTSModuleRos ()
 

Private Member Functions

bool playCallback (xbot_talker::play::Request &req, xbot_talker::play::Response &res)
 
void requestServices ()
 
void responseServices ()
 
bool ttsCallback (xbot_talker::xbot_tts::Request &req, xbot_talker::xbot_tts::Response &res)
 

Private Attributes

int audio_channel
 
std::string audio_save_path
 
std::string base_path
 
std::string log_path
 
ros::ServiceServer play_server
 
ros::ServiceClient tts_client
 
ros::NodeHandle tts_nodehandle
 
ros::ServiceServer tts_server
 

Detailed Description

Definition at line 211 of file xbot_talker_ros.h.

Constructor & Destructor Documentation

TTSModuleRos::TTSModuleRos ( )

Definition at line 938 of file xbot_talker_ros.cpp.

TTSModuleRos::~TTSModuleRos ( )

Definition at line 941 of file xbot_talker_ros.cpp.

Member Function Documentation

bool TTSModuleRos::init ( )

Definition at line 944 of file xbot_talker_ros.cpp.

bool TTSModuleRos::playCallback ( xbot_talker::play::Request &  req,
xbot_talker::play::Response &  res 
)
private

Definition at line 970 of file xbot_talker_ros.cpp.

void TTSModuleRos::requestServices ( )
private

Definition at line 989 of file xbot_talker_ros.cpp.

void TTSModuleRos::responseServices ( )
private

Definition at line 963 of file xbot_talker_ros.cpp.

bool TTSModuleRos::ttsCallback ( xbot_talker::xbot_tts::Request &  req,
xbot_talker::xbot_tts::Response &  res 
)
private

Definition at line 995 of file xbot_talker_ros.cpp.

Member Data Documentation

int TTSModuleRos::audio_channel
private

Definition at line 249 of file xbot_talker_ros.h.

std::string TTSModuleRos::audio_save_path
private

Definition at line 247 of file xbot_talker_ros.h.

std::string TTSModuleRos::base_path
private

Definition at line 246 of file xbot_talker_ros.h.

std::string TTSModuleRos::log_path
private

Definition at line 248 of file xbot_talker_ros.h.

ros::ServiceServer TTSModuleRos::play_server
private

Definition at line 233 of file xbot_talker_ros.h.

ros::ServiceClient TTSModuleRos::tts_client
private

Definition at line 227 of file xbot_talker_ros.h.

ros::NodeHandle TTSModuleRos::tts_nodehandle
private

Definition at line 219 of file xbot_talker_ros.h.

ros::ServiceServer TTSModuleRos::tts_server
private

Definition at line 232 of file xbot_talker_ros.h.


The documentation for this class was generated from the following files:


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54