| 8 | namespace generator |
| 9 | { |
| 10 | ProcessorSimple::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 | |
| 21 | std::shared_ptr<FeatureProcessorInterface> ProcessorSimple::Clone() const |
| 22 | { |