MCPcopy Create free account
hub / github.com/comaps/comaps / ProcessorSimple

Method ProcessorSimple

generator/processor_simple.cpp:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace generator
9{
10ProcessorSimple::ProcessorSimple(std::shared_ptr<FeatureProcessorQueue> const & queue, std::string const & name)
11 : m_name(name)
12 , m_queue(queue)
13{
14 m_processingChain = std::make_shared<PreserializeLayer>();
15 auto affiliation = std::make_shared<feature::SingleAffiliation>(name);
16 m_affiliationsLayer = std::make_shared<AffiliationsFeatureLayer<feature::serialization_policy::MinSize>>(
17 kAffiliationsBufferSize, affiliation, m_queue);
18 m_processingChain->Add(m_affiliationsLayer);
19}
20
21std::shared_ptr<FeatureProcessorInterface> ProcessorSimple::Clone() const
22{

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected