Public Member Functions | Private Attributes | List of all members
naoqi::subscriber::SpeechSubscriber Class Reference

#include <speech.hpp>

Inheritance diagram for naoqi::subscriber::SpeechSubscriber:
Inheritance graph
[legend]

Public Member Functions

void reset (ros::NodeHandle &nh)
 
void speech_callback (const std_msgs::StringConstPtr &speech_msg)
 
 SpeechSubscriber (const std::string &name, const std::string &speech_topic, const qi::SessionPtr &session)
 
 ~SpeechSubscriber ()
 
- Public Member Functions inherited from naoqi::subscriber::BaseSubscriber< SpeechSubscriber >
 BaseSubscriber (const std::string &name, const std::string &topic, qi::SessionPtr session)
 
bool isInitialized () const
 
std::string name () const
 
std::string topic () const
 
virtual ~BaseSubscriber ()
 

Private Attributes

qi::AnyObject p_tts_
 
std::string speech_topic_
 
ros::Subscriber sub_speech_
 

Additional Inherited Members

- Protected Attributes inherited from naoqi::subscriber::BaseSubscriber< SpeechSubscriber >
bool is_initialized_
 
std::string name_
 
const robot::Robotrobot_
 
qi::SessionPtr session_
 
std::string topic_
 

Detailed Description

Definition at line 38 of file speech.hpp.

Constructor & Destructor Documentation

naoqi::subscriber::SpeechSubscriber::SpeechSubscriber ( const std::string &  name,
const std::string &  speech_topic,
const qi::SessionPtr &  session 
)

Definition at line 29 of file speech.cpp.

naoqi::subscriber::SpeechSubscriber::~SpeechSubscriber ( )
inline

Definition at line 42 of file speech.hpp.

Member Function Documentation

void naoqi::subscriber::SpeechSubscriber::reset ( ros::NodeHandle nh)

Definition at line 35 of file speech.cpp.

void naoqi::subscriber::SpeechSubscriber::speech_callback ( const std_msgs::StringConstPtr &  speech_msg)

Definition at line 42 of file speech.cpp.

Member Data Documentation

qi::AnyObject naoqi::subscriber::SpeechSubscriber::p_tts_
private

Definition at line 51 of file speech.hpp.

std::string naoqi::subscriber::SpeechSubscriber::speech_topic_
private

Definition at line 49 of file speech.hpp.

ros::Subscriber naoqi::subscriber::SpeechSubscriber::sub_speech_
private

Definition at line 52 of file speech.hpp.


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


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 15 2020 03:24:26