|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <OnnxTaskFactory.h>


Public Member Functions | |
| OnnxTaskFactory () | |
| virtual | ~OnnxTaskFactory ()=default |
| std::shared_ptr< Task > | createTask (const PropertyId &property_id) const override |
| Returns a Task producing a Property corresponding to the given PropertyId. | |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
| Registers all the Configuration dependencies. | |
| void | configure (Euclid::Configuration::ConfigManager &manager) override |
| Method which should initialize the object. | |
| void | registerPropertyInstances (OutputRegistry ®istry) override |
| Public Member Functions inherited from SourceXtractor::TaskFactory | |
| virtual | ~TaskFactory ()=default |
| Destructor. | |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &) const override |
| Registers all the Configuration dependencies. | |
| void | configure (Euclid::Configuration::ConfigManager &) override |
| Method which should initialize the object. | |
| Public Member Functions inherited from SourceXtractor::Configurable | |
| virtual | ~Configurable ()=default |
| Destructor. | |
Private Attributes | |
| std::vector< OnnxSourceTask::OnnxModelInfo > | m_model_infos |
Create OnnxSourceTasks
Definition at line 30 of file OnnxTaskFactory.h.
| SourceXtractor::OnnxTaskFactory::OnnxTaskFactory | ( | ) |
Definition at line 55 of file OnnxTaskFactory.cpp.
|
virtualdefault |
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
| manager | The manager to get the Configurations from |
Implements SourceXtractor::Configurable.
Definition at line 68 of file OnnxTaskFactory.cpp.
References SourceXtractor::generatePropertyName(), Euclid::Configuration::ConfigManager::getConfiguration(), SourceXtractor::OnnxConfig::getModels(), m_model_infos, std::make_shared(), and SourceXtractor::onnx_logger.

|
overridevirtual |
Returns a Task producing a Property corresponding to the given PropertyId.
Implements SourceXtractor::TaskFactory.
Definition at line 57 of file OnnxTaskFactory.cpp.
References SourceXtractor::PropertyId::create(), m_model_infos, and std::make_shared().

|
overridevirtual |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 102 of file OnnxTaskFactory.cpp.
References m_model_infos, and SourceXtractor::registerColumnConverter().

|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
| manager | The manager to register the dependencies to |
Implements SourceXtractor::Configurable.
Definition at line 64 of file OnnxTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().

|
private |
Definition at line 49 of file OnnxTaskFactory.h.
Referenced by configure(), createTask(), and registerPropertyInstances().