SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
src
lib
Plugin
HduNumber
HduNumberTask.cpp
Go to the documentation of this file.
1
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
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::DetectionFrameInfo
Definition:
DetectionFrameInfo.h:29
SourceXtractor::HduNumber
Definition:
HduNumber.h:26
SourceXtractor::SourceInterface::setProperty
void setProperty(Args...args)
Definition:
SourceInterface.h:72
SourceXtractor::HduNumberTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition:
HduNumberTask.cpp:25
HduNumber.h
DetectionFrameInfo.h
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
HduNumberTask.h
Generated by
1.8.5