SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ExternalFlagTask.h
Go to the documentation of this file.
1
23#ifndef _SEIMPLEMENTATION_TASK_EXTERNALFLAGTASK_H
24#define _SEIMPLEMENTATION_TASK_EXTERNALFLAGTASK_H
25
31
32namespace SourceXtractor {
33
34namespace ExternalFlagCombineTypes {
35struct Or;
36struct And;
37struct Min;
38struct Max;
39struct Most;
40}
41
47template <typename Combine>
49
50public:
51
52 virtual ~ExternalFlagTask();
53
55
56 void computeProperties(SourceInterface& source) const override;
57
58private:
59
61 unsigned int m_flag_instance;
62
63};
64
67
70
73
76
79
80} /* namespace SourceXtractor */
81
82
83#endif
Task to produce the ExternalFlag Property.
std::vector< std::shared_ptr< FlagImage > > m_flag_images
ExternalFlagTask(const std::vector< std::shared_ptr< FlagImage > > &flag_images, unsigned int flag_instance)
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition SourceTask.h:36