MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ push()

template<typename Transport>
void MayaFlux::Core::StreamBackend< Transport >::ConnectionState::push ( Frame frame)
inline

The outbox is a vector with a head index, not a deque: it is touched only by the io thread, it rarely holds more than a frame or two, and a vector reuses its storage where a deque allocates a block per few elements, which on MSVC is one per frame.

Definition at line 262 of file StreamBackend.hpp.

262{ outbox.push_back(std::move(frame)); }
Connection-oriented reliable message transport over an Asio stream protocol.

References outbox.