SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PeakValuePlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * PeakValuePlugin.cpp
19  *
20  * Created on: Feb 9, 2017
21  * Author: mschefer
22  */
23 
25 
28 
30 
31 namespace SourceXtractor {
32 
34 
37 
39  "peak_value",
40  [](const PeakValue& prop){
41  return prop.getMaxValue();
42  },
43  "count",
44  "Highest pixel value in the detection image"
45  );
46 
47  plugin_api.getOutputRegistry().enableOutput<PeakValue>("PeakValue");
48 }
49 
51  return "PeakValue";
52 }
53 
54 }
55 
virtual std::string getIdString() const override
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
virtual void registerPlugin(PluginAPI &plugin_api) override
static StaticPlugin< PeakValuePlugin > peak_value_plugin
STL class.
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")