Audacity 3.2.0
|
#include <PluginIPCUtils.h>
Public Member Functions | |
void | ConsumeBytes (const void *bytes, size_t length) |
fills internal buffer More... | |
bool | CanPop () const noexcept |
wxString | Pop () |
Private Attributes | |
std::vector< char > | mBuffer |
Stores consumed bytes into buffer, so that individual messages can be extracted later.
Definition at line 41 of file PluginIPCUtils.h.
|
noexcept |
Definition at line 66 of file PluginIPCUtils.cpp.
References anonymous_namespace{PluginIPCUtils.cpp}::HeaderBlockSize, and mBuffer.
void InputMessageReader::ConsumeBytes | ( | const void * | bytes, |
size_t | length | ||
) |
wxString InputMessageReader::Pop | ( | ) |
extracts message from the buffer, use CanPop() to check if message is present first
Definition at line 76 of file PluginIPCUtils.cpp.
References anonymous_namespace{PluginIPCUtils.cpp}::HeaderBlockSize, and mBuffer.
|
private |
Definition at line 43 of file PluginIPCUtils.h.
Referenced by CanPop(), ConsumeBytes(), and Pop().