![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <line_buffer.hpp>

Public Member Functions | |
| bool | hasLine () const |
| std::string_view | peek () const |
| void | pop () |
| void | write (std::string_view str) |
Private Member Functions | |
| void | reduceBuf () |
Private Attributes | |
| std::string | buf |
| size_t | endIdx = 0 |
| size_t | startIdx = 0 |
Definition at line 7 of file line_buffer.hpp.
|
inline |
Definition at line 11 of file line_buffer.hpp.
References endIdx, and startIdx.
Referenced by LaunchContext::processOutput(), ControlPort::readReady(), and write().
|
inline |
Definition at line 14 of file line_buffer.hpp.
References buf, endIdx, and startIdx.
Referenced by LaunchContext::processOutput(), and ControlPort::readReady().
| void LineBuffer::pop | ( | ) |
Definition at line 14 of file line_buffer.cpp.
References buf, endIdx, and startIdx.
Referenced by LaunchContext::processOutput(), ControlPort::readReady(), and write().
|
private |
| void LineBuffer::write | ( | std::string_view | str | ) |
Definition at line 4 of file line_buffer.cpp.
References buf, hasLine(), pop(), and reduceBuf().
Referenced by LaunchContext::processOutput(), and ControlPort::readReady().

|
private |
Definition at line 23 of file line_buffer.hpp.
Referenced by peek(), pop(), reduceBuf(), and write().
|
private |
Definition at line 25 of file line_buffer.hpp.
Referenced by hasLine(), peek(), pop(), and reduceBuf().
|
private |
Definition at line 24 of file line_buffer.hpp.
Referenced by hasLine(), peek(), pop(), and reduceBuf().