SourceXtractorPlusPlus
0.16
Please provide a description of the project.
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
28
namespace
SourceXtractor
{
29
35
class
SourceGroupWithOnDemandPropertiesFactory
:
public
SourceGroupFactory
{
36
37
public
:
38
39
explicit
SourceGroupWithOnDemandPropertiesFactory
(
std::shared_ptr<TaskProvider>
task_provider) :
40
m_task_provider
(task_provider) {}
41
42
virtual
std::shared_ptr<SourceGroupInterface>
createSourceGroup
()
const override
{
43
return
std::make_shared<SourceGroupWithOnDemandProperties>(
m_task_provider
);
44
}
45
46
private
:
47
48
std::shared_ptr<TaskProvider>
m_task_provider
;
49
50
};
51
52
}
53
54
#endif
/* _SEFRAMEWORK_SOURCEGROUPWITHONDEMANDPROPERTIESFACTORY_H */
55
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:35
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::m_task_provider
std::shared_ptr< TaskProvider > m_task_provider
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:48
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::createSourceGroup
virtual std::shared_ptr< SourceGroupInterface > createSourceGroup() const override
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:42
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::SourceGroupWithOnDemandPropertiesFactory
SourceGroupWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:39
SourceXtractor
Definition:
Aperture.h:30
std::shared_ptr< TaskProvider >
Generated by
1.9.1