MayaFlux
1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
pop()
template<typename Transport>
void
MayaFlux::Core::StreamBackend
< Transport >::ConnectionState::pop
(
)
inline
Definition at line
268
of file
StreamBackend.hpp
.
269
{
270
outbox
[
outbox_head
++].reset();
271
if
(
outbox_head
==
outbox
.size()) {
272
outbox
.clear();
273
outbox_head
= 0;
274
}
else
if
(
outbox_head
>= 64 &&
outbox_head
* 2 >=
outbox
.size()) {
275
outbox
.erase(
outbox
.begin(),
outbox
.begin() +
static_cast<
std::ptrdiff_t
>
(
outbox_head
));
276
outbox_head
= 0;
277
}
278
}
MayaFlux::Core::StreamBackend
Connection-oriented reliable message transport over an Asio stream protocol.
Definition
StreamBackend.hpp:158
MayaFlux::Core::StreamBackend::ConnectionState::outbox_head
size_t outbox_head
Definition
StreamBackend.hpp:239
MayaFlux::Core::StreamBackend::ConnectionState::outbox
std::vector< Frame > outbox
Definition
StreamBackend.hpp:238
References
outbox
, and
outbox_head
.
MayaFlux
Core
StreamBackend
ConnectionState
Generated by
1.15.0