StreamUnZip

The StreamUnZip class provides a payload decompression engine for Rogue Frames. This module will receive compressed Frames from an external master, de-compress the Frame payload and then pass the compressed frame to a downstream Slave.

This de-compression module uses the Bzip2 library.

StreamUnZip objects in C++ are referenced by the following shared pointer typedef:

typedef std::shared_ptr<rogue::utilities::StreamUnZip> rogue::utilities::StreamUnZipPtr

The class description is shown below:

class StreamUnZip : public rogue::interfaces::stream::Slave, public rogue::interfaces::stream::Master

Stream compressor.

Public Functions

StreamUnZip()

Creator.

~StreamUnZip()

Deconstructor.

virtual void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame)

Accept a frame from master.

virtual std::shared_ptr<rogue::interfaces::stream::Frame> acceptReq(uint32_t size, bool zeroCopyEn)

Accept a new frame request.

Public Static Functions

static std::shared_ptr<rogue::utilities::StreamUnZip> create()

Class creation.

static void setup_python()

Setup class in python.