17#ifndef __ROGUE_INTERFACES_STREAM_RATE_DROP_H__
18#define __ROGUE_INTERFACES_STREAM_RATE_DROP_H__
47 struct timeval timePeriod_;
52 struct timeval nextPeriod_;
69 static std::shared_ptr<rogue::interfaces::stream::RateDrop>
create(
bool period,
double value);
94 void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
98typedef std::shared_ptr<rogue::interfaces::stream::RateDrop>
RateDropPtr;
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Stream frame-rate dropper.
static void setup_python()
Registers this type with Python bindings.
void acceptFrame(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Receives a frame and drops/forwards according to configured rate policy.
~RateDrop()
Destroys the rate-drop filter.
Stream slave endpoint and default frame pool.
std::shared_ptr< rogue::interfaces::stream::RateDrop > RateDropPtr
Shared pointer alias for RateDrop.