In-process transport¶
See the Python documentation for an overview of the in-process transport.
-
class
inproc_queue
¶ Queue for packets being passed within the process.
While the data members are public, this is only to allow the send and receive code (and unit tests) to access the data. Users are advised to treat the data members as opaque.
Public Functions
-
void
stop
()¶ Indicate end-of-stream to receivers.
It is an error to add any more packets after this.
-
void
Sending¶
-
class
inproc_stream
: public spead2::send::stream_impl<inproc_stream>¶ Public Functions
Constructor.
-
std::shared_ptr<inproc_queue>
get_queue
() const¶ Get the underlying storage queue.
Receiving¶
-
class
inproc_reader
: public spead2::recv::reader¶ Stream reader that receives packets from an inproc_queue.
Public Functions
Constructor.