SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FluxRadiusPlugin.cpp
Go to the documentation of this file.
1 
22 
23 using namespace Euclid::NdArray;
24 
25 namespace SourceXtractor {
26 
28 
29 std::string FluxRadiusPlugin::getIdString() const {
30  return "FluxRadiusPlugin";
31 }
32 
33 void FluxRadiusPlugin::registerPlugin(PluginAPI& plugin_api) {
35 
37  "flux_radius",
38  [](const FluxRadius& prop){
39  return prop.getFluxRadius();
40  },
41  "pixel",
42  "Radius containing a fraction of the flux"
43  );
44 
45  plugin_api.getOutputRegistry().enableOutput<FluxRadius>("FluxRadius");
46 }
47 
48 } // end of namespace SourceXtractor
Euclid::NdArray::NdArray< T > NdArray
void enableOutput(std::string alias_name, bool configurable_output=false)
virtual OutputRegistry & getOutputRegistry() const =0
STL class.
static StaticPlugin< FluxRadiusPlugin > flux_radius_plugin
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="")