Public Member Functions | Private Member Functions | Private Attributes | List of all members
picovoice_driver::RhinoRecognizer Class Reference

#include <rhino_recognizer.h>

Inheritance diagram for picovoice_driver::RhinoRecognizer:
Inheritance graph
[legend]

Public Member Functions

void configure (const RhinoRecognizerData::Parameters &parameters) override
 
RhinoRecognizerData::Result getResult () override
 getResult Get the recognition result More...
 
 ~RhinoRecognizer ()
 
- Public Member Functions inherited from picovoice_driver::RecognizerT< RhinoRecognizerData >
virtual void configure (const typename RhinoRecognizerData ::Parameters &parameters)=0
 configure Configure the recognizer More...
 
- Public Member Functions inherited from picovoice_driver::Recognizer
void initialize (const std::string &record_directory, double record_timeout)
 initialize Initialize the recognizer More...
 
bool isPreempting ()
 isPreempting Whether a preempt was requested More...
 
bool isRecognizing ()
 isRecognizing Whether the recognize method is running More...
 
void preempt ()
 preempt Preempt the recognition More...
 
void recognize ()
 recognize Recognize something from an audio input stream More...
 

Private Member Functions

RecordSettings getRecordSettings () override
 
void recognizeInit () override
 
bool recognizeProcess (int16_t *frames) override
 

Private Attributes

std::vector< std::string > intents_
 
RhinoRecognizerData::Result result_
 
pv_rhino_trhino_ = NULL
 

Additional Inherited Members

- Protected Member Functions inherited from picovoice_driver::Recognizer
void recognizeThread ()
 
void recognizeThreadCatchException ()
 
- Protected Attributes inherited from picovoice_driver::Recognizer
std::shared_ptr< std::thread > recognize_thread_
 
std::string recognize_thread_exception_string_
 

Detailed Description

Definition at line 87 of file rhino_recognizer.h.

Constructor & Destructor Documentation

◆ ~RhinoRecognizer()

picovoice_driver::RhinoRecognizer::~RhinoRecognizer ( )

Definition at line 52 of file rhino_recognizer.cpp.

Member Function Documentation

◆ configure()

void picovoice_driver::RhinoRecognizer::configure ( const RhinoRecognizerData::Parameters parameters)
override

Definition at line 60 of file rhino_recognizer.cpp.

◆ getRecordSettings()

Recognizer::RecordSettings picovoice_driver::RhinoRecognizer::getRecordSettings ( )
overrideprivatevirtual

Implements picovoice_driver::Recognizer.

Definition at line 115 of file rhino_recognizer.cpp.

◆ getResult()

RhinoRecognizerData::Result picovoice_driver::RhinoRecognizer::getResult ( )
overridevirtual

getResult Get the recognition result

This method should be called after the recognize() method

Returns
Result

Implements picovoice_driver::RecognizerT< RhinoRecognizerData >.

Definition at line 110 of file rhino_recognizer.cpp.

◆ recognizeInit()

void picovoice_driver::RhinoRecognizer::recognizeInit ( )
overrideprivatevirtual

Implements picovoice_driver::Recognizer.

Definition at line 123 of file rhino_recognizer.cpp.

◆ recognizeProcess()

bool picovoice_driver::RhinoRecognizer::recognizeProcess ( int16_t *  frames)
overrideprivatevirtual

Implements picovoice_driver::Recognizer.

Definition at line 129 of file rhino_recognizer.cpp.

Member Data Documentation

◆ intents_

std::vector<std::string> picovoice_driver::RhinoRecognizer::intents_
private

Definition at line 101 of file rhino_recognizer.h.

◆ result_

RhinoRecognizerData::Result picovoice_driver::RhinoRecognizer::result_
private

Definition at line 102 of file rhino_recognizer.h.

◆ rhino_

pv_rhino_t* picovoice_driver::RhinoRecognizer::rhino_ = NULL
private

Definition at line 103 of file rhino_recognizer.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20