SourceXtractorPlusPlus  0.13
Please provide a description of the project.
ExternalFlagTask.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_TASK_EXTERNALFLAGTASK_H
24 #define _SEIMPLEMENTATION_TASK_EXTERNALFLAGTASK_H
25 
30 
31 namespace SourceXtractor {
32 
33 namespace ExternalFlagCombineTypes {
34 struct Or;
35 struct And;
36 struct Min;
37 struct Max;
38 struct Most;
39 }
40 
46 template <typename Combine>
47 class ExternalFlagTask : public SourceTask {
48 
49 public:
50 
51  virtual ~ExternalFlagTask();
52 
53  ExternalFlagTask(std::shared_ptr<FlagImage> flag_image, unsigned int flag_instance);
54 
55  void computeProperties(SourceInterface& source) const override;
56 
57 private:
58 
60  unsigned int m_flag_instance;
61 
62 };
63 
66 
69 
72 
75 
78 
79 } /* namespace SourceXtractor */
80 
81 
82 #endif
SourceXtractor::ExternalFlagTask::m_flag_image
std::shared_ptr< FlagImage > m_flag_image
Definition: ExternalFlagTask.h:59
std::shared_ptr
STL class.
SourceXtractor::ExternalFlagTask::m_flag_instance
unsigned int m_flag_instance
Definition: ExternalFlagTask.h:60
SourceXtractor::ExternalFlagTask::~ExternalFlagTask
virtual ~ExternalFlagTask()
Definition: ExternalFlagTask.cpp:34
ExternalFlag.h
SourceXtractor::ExternalFlagTask
Task to produce the ExternalFlag Property.
Definition: ExternalFlagTask.h:47
SourceXtractor::ExternalFlagTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: ExternalFlagTask.cpp:44
SourceXtractor::ExternalFlagCombineTypes::Max
Definition: ExternalFlagTask.cpp:115
SourceXtractor
Definition: Aperture.h:30
Image.h
SourceXtractor::ExternalFlagTask::ExternalFlagTask
ExternalFlagTask(std::shared_ptr< FlagImage > flag_image, unsigned int flag_instance)
Definition: ExternalFlagTask.cpp:38
SourceXtractor::ExternalFlagCombineTypes::Min
Definition: ExternalFlagTask.cpp:96
SourceWithOnDemandProperties.h
SourceXtractor::SourceTask
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceTask.h
SourceXtractor::ExternalFlagCombineTypes::Or
Definition: ExternalFlagTask.cpp:71
SourceXtractor::ExternalFlagCombineTypes::And
Definition: ExternalFlagTask.cpp:85
SourceXtractor::ExternalFlagCombineTypes::Most
Definition: ExternalFlagTask.cpp:134