SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnnxPlugin.cpp
Go to the documentation of this file.
1 
22 
23 namespace SourceXtractor {
24 
27 
29  return "OnnxPlugin";
30 }
31 
34  // Note that we do not now the output yet, so we do not register any columns
35  plugin_api.getOutputRegistry().enableOutput<OnnxProperty>("ONNX", true);
36 }
37 
38 } // end of namespace SourceXtractor
Elements::Logging onnx_logger
Logger for the ONNX plugin.
Definition: OnnxPlugin.cpp:26
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
STL class.
void registerPlugin(PluginAPI &plugin_api) override
Definition: OnnxPlugin.cpp:32
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
static StaticPlugin< OnnxPlugin > onnx_plugin
Definition: OnnxPlugin.cpp:25
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
std::string getIdString() const override
Definition: OnnxPlugin.cpp:28
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
static Logging getLogger(const std::string &name="")