17#ifndef __ROGUE_PROTOCOLS_BATCHER_COMBINER_V1_H__
18#define __ROGUE_PROTOCOLS_BATCHER_COMBINER_V1_H__
59 std::shared_ptr<rogue::Logging> log_;
62 std::vector<std::shared_ptr<rogue::interfaces::stream::Frame> > queue_;
88 static std::shared_ptr<rogue::protocols::batcher::CombinerV1>
create(uint8_t width);
103 void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
122typedef std::shared_ptr<rogue::protocols::batcher::CombinerV1>
CombinerV1Ptr;
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Stream slave endpoint and default frame pool.
Combines individual frames into a batcher v1 super-frame.
void acceptFrame(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Accepts a frame and immediately queues it for batching.
static void setup_python()
Registers Python bindings for this class.
uint32_t getCount()
Returns the number of frames currently queued.
void sendBatch()
Builds and sends a batcher v1 super-frame from all queued frames.
~CombinerV1()
Destroys the combiner.
std::shared_ptr< rogue::protocols::batcher::CombinerV1 > CombinerV1Ptr