SourceXtractorPlusPlus
0.11
Please provide a description of the project.
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
STL class.
SourceXtractor::SimpleSourceFactory
A SourceFactory implementation that produces a SimpleSource.
Definition:
SimpleSourceFactory.h:37
SourceXtractor::SourceFactory
A factory interface to create SourceInterface instances.
Definition:
SourceFactory.h:39
SourceXtractor::SimpleSourceFactory::SimpleSourceFactory
SimpleSourceFactory()
Definition:
SimpleSourceFactory.h:41
SourceXtractor
Definition:
Aperture.h:30
SourceFactory.h
SimpleSource.h
SourceXtractor::SimpleSourceFactory::createSource
virtual std::shared_ptr< SourceInterface > createSource() const override
Definition:
SimpleSourceFactory.h:43
Generated by
1.8.18