MCPcopy Create free account
hub / github.com/Abc-Arbitrage/Disruptor-cpp / EventProcessorFactory

Method EventProcessorFactory

Disruptor.Tests/DisruptorFixture.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 DisruptorFixture::EventProcessorFactory::EventProcessorFactory(const std::shared_ptr< disruptor< TestEvent > >& disruptor,
49 const std::shared_ptr< IEventHandler< TestEvent > >& eventHandler,
50 std::int32_t sequenceLength)
51 : m_disruptor(disruptor)
52 , m_eventHandler(eventHandler)
53 , m_sequenceLength(sequenceLength)
54 {
55 }
56
57 std::shared_ptr< IEventProcessor > DisruptorFixture::EventProcessorFactory::createEventProcessor(const std::shared_ptr< RingBuffer< TestEvent > >& ringBuffer,
58 const std::vector< std::shared_ptr< ISequence > >& barrierSequences)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected