engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FOutputDeviceMemory类 参考

Memory output device. 更多...

#include <OutputDeviceMemory.h>

继承自 FOutputDevice .

Public 成员函数

virtual void Dump (FArchive &Ar) override
 Dumps the contents of the buffer to an archive
 
virtual void Flush () override
 Flush the write cache so the file isn't truncated in case we crash right after calling this function.
 
 FOutputDeviceMemory (int32 InPreserveSize=256 *1024, int32 InBufferSize=2048 *1024, bool bInSuppressEventTag=false)
 Constructor, initializing member variables. 更多...
 
virtual void TearDown () override
 Closes output device and cleans up. 更多...
 

详细描述

Memory output device.

Logs only into pre-allocated memory buffer.

构造及析构函数说明

◆ FOutputDeviceMemory()

FOutputDeviceMemory::FOutputDeviceMemory ( int32  InPreserveSize = 256 *1024,
int32  InBufferSize = 2048 *1024,
bool  bInSuppressEventTag = false 
)

Constructor, initializing member variables.

参数
InPreserveSizeBytes of the rung buffer not to overwrite (startup info etc)
InBufferSizeMaximum size of the memory ring buffer

成员函数说明

◆ TearDown()

virtual void FOutputDeviceMemory::TearDown ( )
overridevirtual

Closes output device and cleans up.

This can't happen in the destructor as we have to call "delete" which cannot be done for static/ global objects.


该类的文档由以下文件生成: