SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
30namespace 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 registerPlugin(PluginAPI &plugin_api) override
std::string getIdString() const override
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
void enableOutput(std::string alias_name, bool configurable_output=false)
This interface is given to the plugin to let it access object instances from the framework.
Definition PluginAPI.h:40
virtual OutputRegistry & getOutputRegistry() const =0
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Used to register compile-time (static) plugins with the PluginManager.
static StaticPlugin< KronRadiusPlugin > kron_radius_plugin