Public Member Functions | List of all members
cogrob::cloud::speech::GoogleSpeechRecognizerInterface Class Referenceabstract

#include <google_speech_interface.h>

Inheritance diagram for cogrob::cloud::speech::GoogleSpeechRecognizerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual util::StatusOr< RecognitionResult > GetLastResult ()=0
 
 GoogleSpeechRecognizerInterface ()
 
virtual bool IsRunning ()=0
 
virtual util::Status StartRecognize (AudioQueue *audio_queue, util::SimpleThreadSafeQueue< RecognitionResult > *result_queue, const std::vector< std::string > &hints={}, int max_audio_seconds=14, int max_wait_seconds=17, int max_alternatives=10)=0
 
virtual util::Status Stop ()=0
 
virtual util::Status Wait ()=0
 
virtual ~GoogleSpeechRecognizerInterface ()
 

Detailed Description

Definition at line 42 of file google_speech_interface.h.

Constructor & Destructor Documentation

cogrob::cloud::speech::GoogleSpeechRecognizerInterface::GoogleSpeechRecognizerInterface ( )
inline

Definition at line 44 of file google_speech_interface.h.

virtual cogrob::cloud::speech::GoogleSpeechRecognizerInterface::~GoogleSpeechRecognizerInterface ( )
inlinevirtual

Definition at line 45 of file google_speech_interface.h.

Member Function Documentation

virtual util::StatusOr<RecognitionResult> cogrob::cloud::speech::GoogleSpeechRecognizerInterface::GetLastResult ( )
pure virtual
virtual bool cogrob::cloud::speech::GoogleSpeechRecognizerInterface::IsRunning ( )
pure virtual
virtual util::Status cogrob::cloud::speech::GoogleSpeechRecognizerInterface::StartRecognize ( AudioQueue audio_queue,
util::SimpleThreadSafeQueue< RecognitionResult > *  result_queue,
const std::vector< std::string > &  hints = {},
int  max_audio_seconds = 14,
int  max_wait_seconds = 17,
int  max_alternatives = 10 
)
pure virtual
virtual util::Status cogrob::cloud::speech::GoogleSpeechRecognizerInterface::Stop ( )
pure virtual
virtual util::Status cogrob::cloud::speech::GoogleSpeechRecognizerInterface::Wait ( )
pure virtual

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


gcloud_speech
Author(s):
autogenerated on Wed Jun 5 2019 21:24:06