#include <ProfilingMocks.hpp>
Definition at line 173 of file ProfilingMocks.hpp.
◆ MockPacketBuffer()
Definition at line 176 of file ProfilingMocks.hpp.
179 , m_Data(std::make_unique<
unsigned char[]>(m_MaxSize))
◆ ~MockPacketBuffer()
◆ Commit()
void Commit |
( |
unsigned int |
size | ) |
|
|
inlineoverridevirtual |
◆ Destroy()
release the memory held and reset internal point to null.
After this function is invoked the PacketBuffer is unusable.
Implements IPacketBuffer.
Definition at line 196 of file ProfilingMocks.hpp.
196 {m_Data.reset(
nullptr); m_Size = 0; m_MaxSize =0;}
◆ GetReadableData()
const unsigned char* GetReadableData |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSize()
unsigned int GetSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetWritableData()
unsigned char* GetWritableData |
( |
| ) |
|
|
inlineoverridevirtual |
◆ MarkRead()
◆ Release()
The documentation for this class was generated from the following file: