Project

General

Profile

Template

Management of the recognition class . More...

#include <reco.h>

Public Member Functions

 Recognition ()
 utils libraries
 
 Recognition (std::string pathtobin, std::string lang)
 Recognition Constructor.
 
 ~Recognition ()
 Recognition Destructor.
 
bool initializeObjects ()
 Init Recognition Objects.
 
void callbackEventReco ()
 Recognition Event Callback.
 
int getVolume ()
 Get The volume from recognition.
 
void setVolume (int volume)
 Set The volume for the recognition.
 
void AddWord (std::string s_Rule, std::string s_Word)
 Add word to recognition.
 
 Recognition ()
 
 Recognition (std::string pathtobin, std::string lang)
 
 ~Recognition ()
 
void cbThread ()
 
void fillAudioBuffer (const char *data, size_t lenght)
 
bool initializeObjects ()
 
int getVolume ()
 
void setVolume (int volume)
 
void AddWord (std::string s_Rule, std::string s_Word)
 
 Recognition ()
 
 Recognition (std::string pathtobin, std::string lang)
 
 ~Recognition ()
 
void cbThread ()
 
void fillAudioBuffer (const char *data, size_t lenght)
 
bool initializeObjects ()
 
int getVolume ()
 
void setVolume (int volume)
 
void AddWord (std::string s_Rule, std::string s_Word)
 

Static Public Member Functions

static void _stdcall sapi_callback (WPARAM wParam, LPARAM lParam)
 Defines the SAPI callback.
 

Detailed Description

Management of the recognition class .

Version
1.0
Date
mai 2010

Definition at line 49 of file reco.h.

Constructor & Destructor Documentation

◆ Recognition() [1/6]

Recognition::Recognition ( )

utils libraries

Recognition Constructor

Definition at line 37 of file reco.cpp.

◆ Recognition() [2/6]

Recognition::Recognition ( std::string  pathtobin,
std::string  lang 
)

Recognition Constructor.

Definition at line 45 of file reco.cpp.

◆ ~Recognition() [1/3]

Recognition::~Recognition ( )

Recognition Destructor.

Definition at line 54 of file reco.cpp.

◆ Recognition() [3/6]

Recognition::Recognition ( )

◆ Recognition() [4/6]

Recognition::Recognition ( std::string  pathtobin,
std::string  lang 
)

◆ ~Recognition() [2/3]

Recognition::~Recognition ( )

◆ Recognition() [5/6]

Recognition::Recognition ( )

◆ Recognition() [6/6]

Recognition::Recognition ( std::string  pathtobin,
std::string  lang 
)

◆ ~Recognition() [3/3]

Recognition::~Recognition ( )

Member Function Documentation

◆ AddWord() [1/3]

void Recognition::AddWord ( std::string  s_Rule,
std::string  s_Word 
)

Add word to recognition.

Definition at line 66 of file reco.cpp.

◆ AddWord() [2/3]

void Recognition::AddWord ( std::string  s_Rule,
std::string  s_Word 
)

◆ AddWord() [3/3]

void Recognition::AddWord ( std::string  s_Rule,
std::string  s_Word 
)

◆ callbackEventReco()

void Recognition::callbackEventReco ( )

Recognition Event Callback.

Definition at line 233 of file reco.cpp.

◆ cbThread() [1/2]

void Recognition::cbThread ( )

Definition at line 189 of file reco_sphinx.cpp.

◆ cbThread() [2/2]

void Recognition::cbThread ( )

◆ fillAudioBuffer() [1/2]

void Recognition::fillAudioBuffer ( const char *  data,
size_t  lenght 
)

Definition at line 180 of file reco_sphinx.cpp.

◆ fillAudioBuffer() [2/2]

void Recognition::fillAudioBuffer ( const char *  data,
size_t  lenght 
)

◆ getVolume() [1/3]

int Recognition::getVolume ( )

Get The volume from recognition.

Definition at line 327 of file reco.cpp.

◆ getVolume() [2/3]

int Recognition::getVolume ( )

◆ getVolume() [3/3]

int Recognition::getVolume ( )

◆ initializeObjects() [1/3]

bool Recognition::initializeObjects ( )

Init Recognition Objects.

Definition at line 123 of file reco.cpp.

◆ initializeObjects() [2/3]

bool Recognition::initializeObjects ( )

◆ initializeObjects() [3/3]

bool Recognition::initializeObjects ( )

◆ sapi_callback()

void _stdcall Recognition::sapi_callback ( WPARAM  wParam,
LPARAM  lParam 
)
static

Defines the SAPI callback.

Definition at line 225 of file reco.cpp.

◆ setVolume() [1/3]

void Recognition::setVolume ( int  volume)

Set The volume for the recognition.

Definition at line 340 of file reco.cpp.

◆ setVolume() [2/3]

void Recognition::setVolume ( int  volume)

◆ setVolume() [3/3]

void Recognition::setVolume ( int  volume)

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