|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <OnnxConfig.h>
Public Member Functions | |
| OnnxConfig (long manager_id) | |
| Construct a new OnnxConfig. More... | |
| ~OnnxConfig () override=default | |
| Destructor. More... | |
| std::map< std::string, OptionDescriptionList > | getProgramOptions () override |
| void | initialize (const UserValues &args) override |
| const std::vector< std::string > & | getModels () const |
Public Member Functions inherited from Euclid::Configuration::Configuration | |
| Configuration (long manager_id) | |
| virtual | ~Configuration ()=default |
| virtual void | preInitialize (const UserValues &args) |
| virtual void | postInitialize (const UserValues &args) |
| const std::set< std::type_index > & | getDependencies () |
| State & | getCurrentState () |
| State | getCurrentState () const |
Private Attributes | |
| std::vector< std::string > | m_onnx_model_paths |
Additional Inherited Members | |
Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL } |
| typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
| typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
Protected Member Functions inherited from Euclid::Configuration::Configuration | |
| void | declareDependency () |
| T & | getDependency () |
| const T & | getDependency () const |
Handle the configuration of the ONNX plugin
Definition at line 28 of file OnnxConfig.h.
| SourceXtractor::OnnxConfig::OnnxConfig | ( | long | manager_id | ) |
Construct a new OnnxConfig.
Definition at line 28 of file OnnxConfig.cpp.
|
overridedefault |
Destructor.
|
inline |
Definition at line 44 of file OnnxConfig.h.
References m_onnx_model_paths.
Referenced by SourceXtractor::OnnxTaskFactory::configure().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 31 of file OnnxConfig.cpp.
References std::string::c_str(), and SourceXtractor::ONNX_MODEL.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 37 of file OnnxConfig.cpp.
References m_onnx_model_paths, and SourceXtractor::ONNX_MODEL.
|
private |
Definition at line 49 of file OnnxConfig.h.
Referenced by getModels(), and initialize().
1.8.14