SourceXtractorPlusPlus
0.14
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
SourceWithOnDemandPropertiesFactory.h
Go to the documentation of this file.
1
17
/*
18
* SourceWithOnDemandPropertiesFactory.h
19
*
20
* Created on: Aug 8, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_
25
#define _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_
26
27
#include "
SEFramework/Source/SourceFactory.h
"
28
#include "
SEFramework/Source/SourceWithOnDemandProperties.h
"
29
30
namespace
SourceXtractor {
31
37
class
SourceWithOnDemandPropertiesFactory
:
public
SourceFactory
{
38
public
:
39
SourceWithOnDemandPropertiesFactory
(
std::shared_ptr<TaskProvider>
task_provider) :
40
m_task_provider
(task_provider) {}
41
42
virtual
std::shared_ptr<SourceInterface>
createSource
()
const override
{
43
return
std::make_shared<SourceWithOnDemandProperties>(
m_task_provider
);
44
}
45
46
private
:
47
std::shared_ptr<TaskProvider>
m_task_provider
;
48
};
49
50
}
51
52
53
#endif
/* _SEFRAMEWORK_SOURCE_SOURCEWITHONDEMANDPROPERTIESFACTORY_H_ */
std::shared_ptr< TaskProvider >
SourceXtractor::SourceFactory
A factory interface to create SourceInterface instances.
Definition:
SourceFactory.h:39
SourceXtractor::SourceWithOnDemandPropertiesFactory
A SourceFactory implementation that produces a SourceWithOnDemandProperties.
Definition:
SourceWithOnDemandPropertiesFactory.h:37
SourceXtractor::SourceWithOnDemandPropertiesFactory::m_task_provider
std::shared_ptr< TaskProvider > m_task_provider
Definition:
SourceWithOnDemandPropertiesFactory.h:47
SourceXtractor::SourceWithOnDemandPropertiesFactory::createSource
virtual std::shared_ptr< SourceInterface > createSource() const override
Definition:
SourceWithOnDemandPropertiesFactory.h:42
SourceWithOnDemandProperties.h
SourceXtractor::SourceWithOnDemandPropertiesFactory::SourceWithOnDemandPropertiesFactory
SourceWithOnDemandPropertiesFactory(std::shared_ptr< TaskProvider > task_provider)
Definition:
SourceWithOnDemandPropertiesFactory.h:39
SourceFactory.h
Generated by
1.8.5