SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Plugin
ReferenceCoordinates
ReferenceCoordinatesTask.h
Go to the documentation of this file.
1
17
18
#ifndef _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_
19
#define _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_
20
21
#include "
SEFramework/Task/SourceTask.h
"
22
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
23
24
namespace
SourceXtractor
{
25
31
class
ReferenceCoordinatesTask
:
public
SourceTask
{
32
public
:
33
37
virtual
~ReferenceCoordinatesTask
() =
default
;
38
40
explicit
ReferenceCoordinatesTask
(
unsigned
int
instance,
std::shared_ptr<CoordinateSystem>
coordinate_system)
41
:
m_instance
(instance),
m_coordinate_system
(coordinate_system) {
42
}
43
44
void
computeProperties
(
SourceInterface
& source)
const override
;
45
46
private
:
47
unsigned
int
m_instance
;
48
std::shared_ptr<CoordinateSystem>
m_coordinate_system
;
49
50
};
/* End of ReferenceCoordinatesTask class */
51
52
}
53
54
55
#endif
/* _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_ */
CoordinateSystem.h
SourceTask.h
SourceXtractor::ReferenceCoordinatesTask::ReferenceCoordinatesTask
ReferenceCoordinatesTask(unsigned int instance, std::shared_ptr< CoordinateSystem > coordinate_system)
Constructor.
Definition
ReferenceCoordinatesTask.h:40
SourceXtractor::ReferenceCoordinatesTask::~ReferenceCoordinatesTask
virtual ~ReferenceCoordinatesTask()=default
Destructor.
SourceXtractor::ReferenceCoordinatesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition
ReferenceCoordinatesTask.cpp:26
SourceXtractor::ReferenceCoordinatesTask::m_coordinate_system
std::shared_ptr< CoordinateSystem > m_coordinate_system
Definition
ReferenceCoordinatesTask.h:48
SourceXtractor::ReferenceCoordinatesTask::m_instance
unsigned int m_instance
Definition
ReferenceCoordinatesTask.h:47
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition
SourceInterface.h:46
SourceXtractor::SourceTask
A Task that acts on a Source to compute one or more properties.
Definition
SourceTask.h:36
SourceXtractor
Definition
Aperture.h:30
std::shared_ptr
Generated by
1.14.0