SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KronRadiusPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * KronRadiusPlugin.cpp
19  *
20  * Created on: Sep 12, 2016
21  * Author: mkuemmel@usm.lmu.de
22  */
23 
25 
29 
30 namespace SourceXtractor {
31 
33 
36 
38  "kron_radius",
39  [](const KronRadius& prop){
40  return prop.getKronRadius();
41  },
42  "pixel",
43  "Kron radius"
44  );
45 
47  "kron_flag",
48  [](const KronRadius& prop){
49  return prop.getFlag();
50  },
51  "",
52  "Flags for the Kron radius"
53  );
54 
55  // register as optional output (to have it in the output catalog)
56  plugin_api.getOutputRegistry().enableOutput<KronRadius>("KronRadius");
57 }
58 
60  return "KronRadiusPlugin";
61 }
62 
63 }
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
static StaticPlugin< KronRadiusPlugin > kron_radius_plugin
virtual std::string getIdString() const override
STL class.
virtual void registerPlugin(PluginAPI &plugin_api) override
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="")