Public Member Functions | Private Member Functions | Private Attributes | List of all members
picovoice_driver::PorcupineNode Class Reference
Inheritance diagram for picovoice_driver::PorcupineNode:
Inheritance graph
[legend]

Public Member Functions

 PorcupineNode (const PorcupineRecognizerData::Parameters &parameters, const std::string &keywords_directory)
 
- Public Member Functions inherited from picovoice_driver::RecognizerNode< PorcupineRecognizerData, PorcupineRecognizer, GetKeywordAction >
 RecognizerNode (const std::string &name, const std::string &action_name, const typename PorcupineRecognizerData ::Parameters &parameters)
 RecognizerNode Recognizer node that exposes an action interface for a recognizer. More...
 

Private Member Functions

void updateParameters (const GetKeywordGoal &goal, PorcupineRecognizerData::Parameters &parameters) override
 
void updateResult (const PorcupineRecognizerData::Result &result, GetKeywordResult &action_result) override
 

Private Attributes

std::string keywords_directory_
 

Detailed Description

Definition at line 27 of file porcupine_node.cpp.

Constructor & Destructor Documentation

◆ PorcupineNode()

picovoice_driver::PorcupineNode::PorcupineNode ( const PorcupineRecognizerData::Parameters parameters,
const std::string &  keywords_directory 
)
inline

Definition at line 30 of file porcupine_node.cpp.

Member Function Documentation

◆ updateParameters()

void picovoice_driver::PorcupineNode::updateParameters ( const GetKeywordGoal &  goal,
PorcupineRecognizerData::Parameters parameters 
)
inlineoverrideprivate

Definition at line 36 of file porcupine_node.cpp.

◆ updateResult()

void picovoice_driver::PorcupineNode::updateResult ( const PorcupineRecognizerData::Result result,
GetKeywordResult &  action_result 
)
inlineoverrideprivate

Definition at line 50 of file porcupine_node.cpp.

Member Data Documentation

◆ keywords_directory_

std::string picovoice_driver::PorcupineNode::keywords_directory_
private

Definition at line 56 of file porcupine_node.cpp.


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


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