13#include "../asrtc/stream.h"
14#include "../asrtl/asrt_assert.h"
15#include "../asrtl/log.h"
16#include "../asrtl/status_to_str.h"
17#include "../asrtlpp/util.hpp"
22using status = asrt_status;
59ASRT_NODISCARD
inline status
init(
60 ref< asrt_stream_server > srv,
64 return asrt_stream_server_init( srv, &prev, alloc );
74inline void clear( ref< asrt_stream_server > srv )
76 asrt_stream_server_clear( srv );
80inline void deinit( ref< asrt_stream_server > srv )
82 asrt_stream_server_deinit( srv );
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee ...
Definition: callback.hpp:17
ASRT_NODISCARD stream_schemas take(ref< asrt_stream_server > srv)
Take all received schemas and their records; clears the server's internal state.
Definition: stream.hpp:68
void clear(ref< asrt_stream_server > srv)
Discard all schemas and records (e.g. at a test boundary).
Definition: stream.hpp:74
ASRT_NODISCARD enum asrt_status init(ref< asrt_cntr_assm > assm, asrt_allocator alloc)
Initialise the controller assembly — wires controller, diag, param, collect and stream channels.
Definition: cntr_assm.hpp:25
void deinit(ref< asrt_cntr_assm > assm)
Release all resources owned by the assembly.
Definition: cntr_assm.hpp:52
Owning handle for a collection of stream schemas and their records.
Definition: stream.hpp:29
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee ...
Definition: allocator.h:28
A node in a doubly-linked channel chain.
Definition: chann.h:122
Collection of stream schemas — used both internally by the server and as the return value of take().
Definition: stream.h:48