StreamWriterChannel

The StreamWriterChannel class is the interface between the StreamWriter class and the incoming data streams.

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

typedef std::shared_ptr<rogue::utilities::fileio::StreamWriterChannel> rogue::utilities::fileio::StreamWriterChannelPtr

The class description is shown below:

class StreamWriterChannel : public rogue::interfaces::stream::Slave

Stream writer central class.

Public Functions

StreamWriterChannel(std::shared_ptr<rogue::utilities::fileio::StreamWriter> writer, uint8_t channel)

Creator.

~StreamWriterChannel()

Deconstructor.

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

Accept a frame from master.

uint32_t getFrameCount()

Get number of frames that have been accepted.

void setFrameCount(uint32_t count)

Set the frame count to a specific value.

bool waitFrameCount(uint32_t count, uint64_t timeout)

Block until a number of frames have been received.

Public Static Functions

static std::shared_ptr<rogue::utilities::fileio::StreamWriterChannel> create(std::shared_ptr<rogue::utilities::fileio::StreamWriter> writer, uint8_t channel)

Class creation.

static void setup_python()

Setup class in python.