SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEFramework
SEFramework
Source
SourceGroupWithOnDemandPropertiesFactory.h
Go to the documentation of this file.
1
17
/*
18
* @file SourceGroupWithOnDemandPropertiesFactory.h
19
* @author nikoapos
20
*/
21
22
#ifndef _SEFRAMEWORK_SOURCEGROUPWITHONDEMANDPROPERTIESFACTORY_H
23
#define _SEFRAMEWORK_SOURCEGROUPWITHONDEMANDPROPERTIESFACTORY_H
24
25
#include "
SEFramework/Source/SourceGroupFactory.h
"
26
#include "
SEFramework/Source/SourceGroupWithOnDemandProperties.h
"
27
#include <AlexandriaKernel/memory_tools.h>
28
29
namespace
SourceXtractor
{
30
36
class
SourceGroupWithOnDemandPropertiesFactory
:
public
SourceGroupFactory
{
37
38
public
:
39
40
explicit
SourceGroupWithOnDemandPropertiesFactory
(
std::shared_ptr<TaskProvider>
task_provider) :
41
m_task_provider
(task_provider) {}
42
43
std::unique_ptr<SourceGroupInterface>
createSourceGroup
()
const override
{
44
return
Euclid::make_unique<SourceGroupWithOnDemandProperties>(
m_task_provider
);
45
}
46
47
private
:
48
49
std::shared_ptr<TaskProvider>
m_task_provider
;
50
51
};
52
53
}
54
55
#endif
/* _SEFRAMEWORK_SOURCEGROUPWITHONDEMANDPROPERTIESFACTORY_H */
56
SourceGroupFactory.h
SourceGroupWithOnDemandProperties.h
SourceXtractor::SourceGroupFactory
A factory interface to create SourceGroupInterface instances.
Definition
SourceGroupFactory.h:37
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory
A SourceGroupFactory implementation that produces a SourceGroupWithOnDemandProperties.
Definition
SourceGroupWithOnDemandPropertiesFactory.h:36
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::createSourceGroup
std::unique_ptr< SourceGroupInterface > createSourceGroup() const override
Definition
SourceGroupWithOnDemandPropertiesFactory.h:43
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::m_task_provider
std::shared_ptr< TaskProvider > m_task_provider
Definition
SourceGroupWithOnDemandPropertiesFactory.h:49
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::SourceGroupWithOnDemandPropertiesFactory
SourceGroupWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
Definition
SourceGroupWithOnDemandPropertiesFactory.h:40
std::function
SourceXtractor
Definition
Aperture.h:30
Generated by
1.10.0