SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
HduNumber
HduNumberTask.cpp
Go to the documentation of this file.
1
17
18
#include "
SEImplementation/Plugin/DetectionFrameInfo/DetectionFrameInfo.h
"
19
20
#include "
SEImplementation/Plugin/HduNumber/HduNumber.h
"
21
#include "
SEImplementation/Plugin/HduNumber/HduNumberTask.h
"
22
23
namespace
SourceXtractor
{
24
25
void
HduNumberTask::computeProperties
(
SourceInterface
& source)
const
{
26
const
auto
& detection_frame_info = source.
getProperty
<
DetectionFrameInfo
>();
27
28
source.
setProperty
<
HduNumber
>(detection_frame_info.getHduIndex());
29
}
30
31
}
32
33
DetectionFrameInfo.h
HduNumberTask.h
HduNumber.h
SourceXtractor::DetectionFrameInfo
Definition
DetectionFrameInfo.h:29
SourceXtractor::HduNumberTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition
HduNumberTask.cpp:25
SourceXtractor::HduNumber
Definition
HduNumber.h:26
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition
SourceInterface.h:46
SourceXtractor::SourceInterface::setProperty
void setProperty(Args... args)
Definition
SourceInterface.h:72
SourceXtractor::SourceInterface::getProperty
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition
SourceInterface.h:57
SourceXtractor
Definition
Aperture.h:30
Generated by
1.14.0