Responsible for creation of Authenticator and Identificator instances.
More...
#include <Engine.hpp>
|
| virtual auto | model (std::string const &name) -> std::shared_ptr< Model >=0 |
| | Fetch model name if it's been configured.
|
| |
| virtual auto | makeModel (std::string name, ModelType type) -> std::shared_ptr< Model >=0 |
| | Create a new, empty model of type type named name.
|
| |
| virtual auto | makeAuthenticator (std::string name) -> std::shared_ptr< Authenticator >=0 |
| | Create a default constructed authenticator.
|
| |
| auto | makeAuthenticator (std::string name, std::shared_ptr< Model > model, int threshold=5) -> std::shared_ptr< Authenticator > |
| | Create a default constructed authenticator, initialized with model.
|
| |
| virtual auto | makeIdentificator (std::string name) -> std::shared_ptr< Identificator >=0 |
| | Create a default constructed identificator.
|
| |
| auto | makeIdentificator (std::string name, std::shared_ptr< Model > model, int threshold=5) -> std::shared_ptr< Identificator > |
| | Create a default constructed identificator, initialized with model.
|
| |
|
| template<class T , typename... Args> |
| static auto | make (Args &&... args) -> std::shared_ptr< Engine > |
| | Gets or constructs a shared Biometrics::Engine instance of type T with args.
|
| |
Responsible for creation of Authenticator and Identificator instances.
◆ make()
template<class T , typename... Args>
| static auto Vsdk::Biometrics::Engine::make |
( |
Args &&... |
args | ) |
-> std::shared_ptr<Engine>
|
|
static |
Gets or constructs a shared Biometrics::Engine instance of type T with args.
- Note
- If an engine of this type exists, a shared instance will be returned instead.
◆ model()
| virtual auto Vsdk::Biometrics::Engine::model |
( |
std::string const & |
name | ) |
-> std::shared_ptr< Model > |
|
pure virtual |
Fetch model name if it's been configured.
◆ makeModel()
| virtual auto Vsdk::Biometrics::Engine::makeModel |
( |
std::string |
name, |
|
|
ModelType |
type |
|
) |
| -> std::shared_ptr< Model > |
|
pure virtual |
Create a new, empty model of type type named name.
◆ makeAuthenticator() [1/2]
| virtual auto Vsdk::Biometrics::Engine::makeAuthenticator |
( |
std::string |
name | ) |
-> std::shared_ptr< Authenticator > |
|
pure virtual |
Create a default constructed authenticator.
◆ makeAuthenticator() [2/2]
| auto Engine::makeAuthenticator |
( |
std::string |
name, |
|
|
std::shared_ptr< Model > |
model, |
|
|
int |
threshold = 5 |
|
) |
| -> std::shared_ptr<Authenticator> |
Create a default constructed authenticator, initialized with model.
◆ makeIdentificator() [1/2]
| virtual auto Vsdk::Biometrics::Engine::makeIdentificator |
( |
std::string |
name | ) |
-> std::shared_ptr< Identificator > |
|
pure virtual |
Create a default constructed identificator.
◆ makeIdentificator() [2/2]
| auto Engine::makeIdentificator |
( |
std::string |
name, |
|
|
std::shared_ptr< Model > |
model, |
|
|
int |
threshold = 5 |
|
) |
| -> std::shared_ptr<Identificator> |
Create a default constructed identificator, initialized with model.