5#include "Containers/Array.h"
7#include "HAL/CriticalSection.h"
8#include "Logging/LogVerbosity.h"
9#include "Misc/OutputDevice.h"
10#include "Serialization/Archive.h"
11#include "UObject/NameTypes.h"
14
15
25 virtual void Serialize(
void* V, int64 Length)
override
33
34
35
36
37
38 FOutputDeviceMemory(int32 InPreserveSize = 256 * 1024, int32 InBufferSize = 2048 * 1024,
bool bInSuppressEventTag =
false);
45
46
47
48
52
53
54
FWindowsCriticalSection FCriticalSection
FOutputDeviceMemory & OutputDevice
FOutputDeviceMemoryProxyArchive(FOutputDeviceMemory &InOutputDevice)
virtual void Serialize(void *V, int64 Length) override
virtual void Flush() override
virtual bool CanBeUsedOnAnyThread() const override
FCriticalSection BufferPosCritical
virtual void Dump(FArchive &Ar) override
virtual bool IsMemoryOnly() const override
virtual bool CanBeUsedOnPanicThread() const override
virtual void Serialize(const TCHAR *Data, ELogVerbosity::Type Verbosity, const class FName &Category) override
TArray< ANSICHAR > Buffer
void SerializeToBuffer(ANSICHAR *Data, int32 Length)
virtual void Serialize(const TCHAR *Data, ELogVerbosity::Type Verbosity, const class FName &Category, const double Time) override
virtual void TearDown() override
FOutputDeviceMemory(int32 InPreserveSize=256 *1024, int32 InBufferSize=2048 *1024, bool bInSuppressEventTag=false)