SourceXtractorPlusPlus
0.10
Please provide a description of the project.
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
SEImplementation
Plugin
SourceFlags
SourceFlagsSourceTask.h
Go to the documentation of this file.
1
17
/*
18
* Copyright (C) 2012-2020 Euclid Science Ground Segment
19
*
20
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
21
* Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option)
22
* any later version.
23
*
24
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
25
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
26
* details.
27
*
28
* You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
29
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30
*/
31
39
#ifndef _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGSOURCETASK_H_
40
#define _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGSOURCETASK_H_
41
42
#include "
SEFramework/Task/SourceTask.h
"
43
#include "
SEImplementation/Plugin/SourceFlags/SourceFlags.h
"
44
#include "
SEImplementation/Plugin/BoundaryFlag/BoundaryFlag.h
"
45
#include "
SEImplementation/Plugin/SaturateFlag/SaturateFlag.h
"
46
47
namespace
SourceXtractor {
48
class
SourceFlagsSourceTask
:
public
SourceTask
{
49
public
:
50
SourceFlagsSourceTask
(
const
std::map
<
std::string
,
std::vector<unsigned int>
> &instances_per_group)
51
:
m_instances_per_group
{instances_per_group} {}
52
53
virtual
~SourceFlagsSourceTask
() =
default
;
54
55
virtual
void
computeProperties
(SourceInterface &source)
const
;
56
57
private
:
58
std::map<std::string, std::vector<unsigned int>
>
m_instances_per_group
;
59
60
};
// End of SourceFlagsSourceTask class
61
}
// namespace SourceXtractor
62
63
#endif
/* _SEIMPLEMENTATION_PLUGIN_SOURCEFLAGSOURCETASK_H_ */
64
65
66
SourceXtractor::SourceFlagsSourceTask::SourceFlagsSourceTask
SourceFlagsSourceTask(const std::map< std::string, std::vector< unsigned int >> &instances_per_group)
Definition:
SourceFlagsSourceTask.h:50
SaturateFlag.h
SourceXtractor::SourceTask
A Task that acts on a Source to compute one or more properties.
Definition:
SourceTask.h:36
std::map
STL class.
SourceFlags.h
SourceTask.h
std::string
STL class.
SourceXtractor::SourceFlagsSourceTask::computeProperties
virtual void computeProperties(SourceInterface &source) const
Computes one or more properties for the Source.
Definition:
SourceFlagsSourceTask.cpp:45
SourceXtractor::SourceFlagsSourceTask::~SourceFlagsSourceTask
virtual ~SourceFlagsSourceTask()=default
SourceXtractor::SourceFlagsSourceTask::m_instances_per_group
std::map< std::string, std::vector< unsigned int > > m_instances_per_group
Definition:
SourceFlagsSourceTask.h:58
std::vector
STL class.
BoundaryFlag.h
SourceXtractor::SourceFlagsSourceTask
Definition:
SourceFlagsSourceTask.h:48
Generated by
1.8.5