SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
src
lib
Plugin
GroupInfo
GroupInfoTask.cpp
Go to the documentation of this file.
1
17
/*
18
* GroupInfoTask.cpp
19
*
20
* Created on: 2019 M01 29
21
* Author: mschefer
22
*/
23
24
25
#include <atomic>
26
#include "
SEImplementation/Plugin/GroupInfo/GroupInfo.h
"
27
#include "
SEImplementation/Plugin/GroupInfo/GroupInfoTask.h
"
28
29
namespace
SourceXtractor
{
30
31
void
GroupInfoTask::computeProperties
(
SourceGroupInterface
& group)
const
{
32
static
std::atomic<std::uint32_t>
group_id(1);
33
group.
setProperty
<
GroupInfo
>(group_id++);
34
}
35
36
}
37
38
GroupInfoTask.h
GroupInfo.h
std::atomic
SourceXtractor::GroupInfoTask::computeProperties
virtual void computeProperties(SourceGroupInterface &group) const override
Computes one or more properties for the SourceGroup and/or the Sources it contains.
Definition:
GroupInfoTask.cpp:31
SourceXtractor::GroupInfo
Definition:
GroupInfo.h:32
SourceXtractor::SourceGroupInterface
Defines the interface used to group sources.
Definition:
SourceGroupInterface.h:37
SourceXtractor::SourceGroupInterface::setProperty
void setProperty(Args... args)
Definition:
SourceInterface.h:72
SourceXtractor
Definition:
Aperture.h:30
Generated by
1.9.1