Public Member Functions | Private Attributes | List of all members
recognizer_prediction_ism::SharedRecognitionResultsManager Class Reference

#include <shared_recognition_results_manager.h>

Public Member Functions

bool addResults (std::vector< ISM::RecognitionResultPtr > &result_ptrs)
 
void clearResults ()
 
ISM::RecognitionResult getLastResult ()
 
std::vector< ISM::RecognitionResultPtr > getResults ()
 
unsigned int getResultsNumber ()
 
bool popLastResult ()
 
bool recognitionResultsAvailable ()
 
 SharedRecognitionResultsManager ()
 

Private Attributes

std::mutex mutex_
 
std::vector< ISM::RecognitionResultPtr > shared_memory_vector_
 

Detailed Description

Definition at line 29 of file shared_recognition_results_manager.h.

Constructor & Destructor Documentation

recognizer_prediction_ism::SharedRecognitionResultsManager::SharedRecognitionResultsManager ( )
inline

Definition at line 32 of file shared_recognition_results_manager.h.

Member Function Documentation

bool recognizer_prediction_ism::SharedRecognitionResultsManager::addResults ( std::vector< ISM::RecognitionResultPtr > &  result_ptrs)

Definition at line 28 of file shared_recognition_results_manager.cpp.

void recognizer_prediction_ism::SharedRecognitionResultsManager::clearResults ( )

Definition at line 67 of file shared_recognition_results_manager.cpp.

RecognitionResult recognizer_prediction_ism::SharedRecognitionResultsManager::getLastResult ( )

Definition at line 37 of file shared_recognition_results_manager.cpp.

std::vector< RecognitionResultPtr > recognizer_prediction_ism::SharedRecognitionResultsManager::getResults ( )

Definition at line 43 of file shared_recognition_results_manager.cpp.

unsigned int recognizer_prediction_ism::SharedRecognitionResultsManager::getResultsNumber ( )

Definition at line 61 of file shared_recognition_results_manager.cpp.

bool recognizer_prediction_ism::SharedRecognitionResultsManager::popLastResult ( )

Definition at line 80 of file shared_recognition_results_manager.cpp.

bool recognizer_prediction_ism::SharedRecognitionResultsManager::recognitionResultsAvailable ( )

Definition at line 75 of file shared_recognition_results_manager.cpp.

Member Data Documentation

std::mutex recognizer_prediction_ism::SharedRecognitionResultsManager::mutex_
private

Definition at line 43 of file shared_recognition_results_manager.h.

std::vector<ISM::RecognitionResultPtr> recognizer_prediction_ism::SharedRecognitionResultsManager::shared_memory_vector_
private

Definition at line 45 of file shared_recognition_results_manager.h.


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


asr_recognizer_prediction_ism
Author(s): Aumann Florian, Heller Florian, Hutmacher Robin, Meißner Pascal, Stöckle Patrick, Stroh Daniel
autogenerated on Wed Jan 8 2020 03:18:32