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
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
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::m_task_provider
std::shared_ptr< TaskProvider > m_task_provider
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:49
std::shared_ptr< TaskProvider >
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::SourceGroupWithOnDemandPropertiesFactory
SourceGroupWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:40
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::createSourceGroup
std::unique_ptr< SourceGroupInterface > createSourceGroup() const override
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:43
memory_tools.h
SourceGroupWithOnDemandProperties.h
std::unique_ptr
STL class.
SourceXtractor::SourceGroupFactory
A factory interface to create SourceGroupInterface instances.
Definition:
SourceGroupFactory.h:37
SourceGroupFactory.h
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory
A SourceGroupFactory implementation that produces a SourceGroupWithOnDemandProperties.
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:36
Generated by
1.8.5