SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SNRRatioTaskFactory.h
Go to the documentation of this file.
1
24#ifndef _SEIMPLEMENTATION_PLUGIN_SNRRATIOTASKFACTORY_H_
25#define _SEIMPLEMENTATION_PLUGIN_SNRRATIOTASKFACTORY_H_
26
29
30namespace SourceXtractor {
32public:
34
35 virtual ~SNRRatioTaskFactory() = default;
36
37 // TaskFactory implementation
39 if (property_id == PropertyId::create<SNRRatio>()) {
41 }
42 else {
43 return nullptr;
44 }
45 }
46}; // end of SNRRatioTaskFactory class
47} // namespace SourceXtractor
48#endif /* _SEIMPLEMENTATION_PLUGIN_SNRRATIOTASKFACTORY_H_ */
Identifier used to set and retrieve properties.
Definition PropertyId.h:40
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const
Returns a Task producing a Property corresponding to the given PropertyId.
virtual ~SNRRatioTaskFactory()=default
Creates a Task for computing a given property.
Definition TaskFactory.h:42