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
SEImplementation
src
lib
Plugin
MeasurementFrameInfo
MeasurementFrameInfoTaskFactory.cpp
Go to the documentation of this file.
1
19
#include "
SEImplementation/Plugin/MeasurementFrameInfo/MeasurementFrameInfo.h
"
20
#include "
SEImplementation/Plugin/MeasurementFrameInfo/MeasurementFrameInfoTask.h
"
21
#include "
SEImplementation/Plugin/MeasurementFrameInfo/MeasurementFrameInfoTaskFactory.h
"
22
23
using namespace
Euclid::Configuration;
24
25
namespace
SourceXtractor {
26
27
std::shared_ptr<Task>
MeasurementFrameInfoTaskFactory::createTask(
const
PropertyId
& property_id)
const
{
28
if
(property_id.
getTypeId
() == PropertyId::create<MeasurementFrameInfo>().getTypeId()) {
29
return
std::make_shared<MeasurementFrameInfoTask>(property_id.
getIndex
());
30
}
else
{
31
return
nullptr
;
32
}
33
}
34
35
}
// SEImplementation namespace
36
std::shared_ptr
MeasurementFrameInfoTask.h
SourceXtractor::PropertyId::getIndex
unsigned int getIndex() const
Definition:
PropertyId.h:70
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
MeasurementFrameInfoTaskFactory.h
SourceXtractor::PropertyId::getTypeId
std::type_index getTypeId() const
Definition:
PropertyId.h:66
MeasurementFrameInfo.h
Generated by
1.8.5