SourceXtractorPlusPlus
0.13
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Plugin
Onnx
OnnxTaskFactory.h
Go to the documentation of this file.
1
18
#ifndef _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
19
#define _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
20
21
#include "
SEFramework/Task/TaskFactory.h
"
22
#include "
SEImplementation/Plugin/Onnx/OnnxModel.h
"
23
24
namespace
SourceXtractor {
25
29
class
OnnxTaskFactory
:
public
TaskFactory
{
30
public
:
31
OnnxTaskFactory
();
32
33
virtual
~OnnxTaskFactory
() =
default
;
34
36
std::shared_ptr<Task>
createTask
(
const
PropertyId
& property_id)
const override
;
37
39
void
reportConfigDependencies
(
Euclid::Configuration::ConfigManager
& manager)
const override
;
40
42
void
configure
(
Euclid::Configuration::ConfigManager
& manager)
override
;
43
45
void
registerPropertyInstances
(
OutputRegistry
& registry)
override
;
46
47
private
:
48
std::vector<OnnxModel>
m_models
;
49
};
50
51
}
// end of namespace SourceXtractor
52
53
54
#endif // _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
std::shared_ptr
SourceXtractor::OutputRegistry
Definition:
OutputRegistry.h:36
SourceXtractor::OnnxTaskFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
OnnxTaskFactory.cpp:78
Euclid::Configuration::ConfigManager
SourceXtractor::OnnxTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition:
OnnxTaskFactory.cpp:67
SourceXtractor::TaskFactory
Creates a Task for computing a given property.
Definition:
TaskFactory.h:42
SourceXtractor::OnnxTaskFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
OnnxTaskFactory.cpp:74
std::vector
STL class.
SourceXtractor::OnnxTaskFactory::registerPropertyInstances
void registerPropertyInstances(OutputRegistry ®istry) override
Definition:
OnnxTaskFactory.cpp:138
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
SourceXtractor::OnnxTaskFactory
Definition:
OnnxTaskFactory.h:29
OnnxModel.h
TaskFactory.h
SourceXtractor::OnnxTaskFactory::m_models
std::vector< OnnxModel > m_models
Definition:
OnnxTaskFactory.h:48
SourceXtractor::OnnxTaskFactory::OnnxTaskFactory
OnnxTaskFactory()
Definition:
OnnxTaskFactory.cpp:65
SourceXtractor::OnnxTaskFactory::~OnnxTaskFactory
virtual ~OnnxTaskFactory()=default
Generated by
1.8.5