17#ifndef __ROGUE_INTERFACES_STREAM_FILTER_H__
18#define __ROGUE_INTERFACES_STREAM_FILTER_H__
42 std::shared_ptr<rogue::Logging> log_;
63 static std::shared_ptr<rogue::interfaces::stream::Filter>
create(
bool dropErrors, uint8_t channel);
79 Filter(
bool dropErrors, uint8_t channel);
89 void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
93typedef std::shared_ptr<rogue::interfaces::stream::Filter>
FilterPtr;
Stream frame filter by channel and error state.
static void setup_python()
Registers this type with Python bindings.
~Filter()
Destroys the stream filter.
void acceptFrame(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Receives a frame from upstream and applies filter rules.
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Stream slave endpoint and default frame pool.
std::shared_ptr< rogue::interfaces::stream::Filter > FilterPtr
Shared pointer alias for Filter.