vsdk  9.1.0
Vsdk::Asr::Engineabstract

Responsible for creation of Recognizer and DynamicModel instances. More...

Inheritance diagram for Vsdk::Asr::Engine:

Public Member Functions

auto recognizer (std::string const &name) -> std::shared_ptr< Recognizer >
 Gets or constructs a shared Recognizer instance that's been previously configured. More...
 
auto dynamicModel (std::string const &name) -> std::shared_ptr< DynamicModel >
 Gets or constructs a shared DynamicModel instance that's been previously configured. More...
 

Static Public Member Functions

template<class T , typename... Args>
static auto make (Args &&... args) -> std::shared_ptr< Engine >
 Gets or constructs a shared Asr::Engine instance of type T with args. More...
 

Protected Member Functions

virtual auto makeRecognizer (std::string name) -> Recognizer *=0
 
virtual auto makeDynamicModel (std::string name) -> DynamicModel *=0
 

Detailed Description

Responsible for creation of Recognizer and DynamicModel instances.

Member Function Documentation

◆ make()

template<class T , typename... Args>
static auto Vsdk::Asr::Engine::make ( Args &&...  args) -> std::shared_ptr<Engine>
static

Gets or constructs a shared Asr::Engine instance of type T with args.

Note
If an engine of this type exists, a shared instance will be returned instead.

◆ recognizer()

auto Engine::recognizer ( std::string const &  name) -> std::shared_ptr<Recognizer>

Gets or constructs a shared Recognizer instance that's been previously configured.

Parameters
nameFound in the configuration of this engine, name of the Recognizer you want

◆ dynamicModel()

auto Engine::dynamicModel ( std::string const &  name) -> std::shared_ptr<DynamicModel>

Gets or constructs a shared DynamicModel instance that's been previously configured.

Parameters
nameFound in the configuration of this engine, name of the model you want

◆ makeRecognizer()

virtual auto Vsdk::Asr::Engine::makeRecognizer ( std::string  name) -> Recognizer *
protectedpure virtual

◆ makeDynamicModel()

virtual auto Vsdk::Asr::Engine::makeDynamicModel ( std::string  name) -> DynamicModel *
protectedpure virtual