SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnnxTaskFactory.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
19 #define _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
20 
24 
25 namespace SourceXtractor {
26 
30 class OnnxTaskFactory : public TaskFactory {
31 public:
33 
34  virtual ~OnnxTaskFactory() = default;
35 
37  std::shared_ptr<Task> createTask(const PropertyId& property_id) const override;
38 
41 
43  void configure(Euclid::Configuration::ConfigManager& manager) override;
44 
46  void registerPropertyInstances(OutputRegistry& registry) override;
47 
48 private:
50 };
51 
52 } // end of namespace SourceXtractor
53 
54 
55 #endif // _SEIMPLEMENTATION_PLUGIN_ONNXTASKFACTORY_H_
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
std::vector< OnnxSourceTask::OnnxModelInfo > m_model_infos
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Creates a Task for computing a given property.
Definition: TaskFactory.h:42
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
STL class.
void registerPropertyInstances(OutputRegistry &registry) override
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
virtual ~OnnxTaskFactory()=default