Public Member Functions | Private Attributes
gcloud_speech::SpeechToTextActionHandler Class Reference

#include <speech_to_text_action_handler.h>

List of all members.

Public Member Functions

void AudioMsgCallback (const gcloud_speech_msgs::LinearPcm16Le16000Audio::ConstPtr &msg)
void ExecuteSpeechToTextAction (const gcloud_speech_msgs::SpeechToTextGoalConstPtr &goal)
 SpeechToTextActionHandler (cogrob::cloud::speech::GoogleSpeechRecognizerInterface *recognizer, actionlib::SimpleActionServer< gcloud_speech_msgs::SpeechToTextAction > *simple_action_server)

Private Attributes

cogrob::cloud::speech::AudioQueue audio_queue_
std::atomic_bool is_active_
cogrob::cloud::speech::GoogleSpeechRecognizerInterfacerecognizer_
util::SimpleThreadSafeQueue
< cogrob::cloud::speech::RecognitionResult > 
result_queue_
actionlib::SimpleActionServer
< gcloud_speech_msgs::SpeechToTextAction > * 
simple_action_server_

Detailed Description

Definition at line 18 of file speech_to_text_action_handler.h.


Constructor & Destructor Documentation

Definition at line 17 of file speech_to_text_action_handler.cc.


Member Function Documentation

void gcloud_speech::SpeechToTextActionHandler::AudioMsgCallback ( const gcloud_speech_msgs::LinearPcm16Le16000Audio::ConstPtr &  msg)

Definition at line 26 of file speech_to_text_action_handler.cc.

void gcloud_speech::SpeechToTextActionHandler::ExecuteSpeechToTextAction ( const gcloud_speech_msgs::SpeechToTextGoalConstPtr &  goal)

Definition at line 41 of file speech_to_text_action_handler.cc.


Member Data Documentation

cogrob::cloud::speech::AudioQueue gcloud_speech::SpeechToTextActionHandler::audio_queue_ [private]

Definition at line 39 of file speech_to_text_action_handler.h.

Definition at line 43 of file speech_to_text_action_handler.h.

Definition at line 49 of file speech_to_text_action_handler.h.

util::SimpleThreadSafeQueue<cogrob::cloud::speech::RecognitionResult> gcloud_speech::SpeechToTextActionHandler::result_queue_ [private]

Definition at line 47 of file speech_to_text_action_handler.h.

Definition at line 51 of file speech_to_text_action_handler.h.


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


gcloud_speech
Author(s):
autogenerated on Thu Jun 6 2019 17:58:03