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