SourceXtractorPlusPlus
0.8
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
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
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
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::m_task_provider
std::shared_ptr< TaskProvider > m_task_provider
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:48
std::shared_ptr< TaskProvider >
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::SourceGroupWithOnDemandPropertiesFactory
SourceGroupWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:39
SourceGroupWithOnDemandProperties.h
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:35
SourceXtractor::SourceGroupWithOnDemandPropertiesFactory::createSourceGroup
virtual std::shared_ptr< SourceGroupInterface > createSourceGroup() const override
Definition:
SourceGroupWithOnDemandPropertiesFactory.h:42
Generated by
1.8.5