FOutputDeviceFile::FOutputDeviceFile

Constructor, initializing member variables. Constructor, initializing member variables.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/OutputDeviceFile.h

Include

#include "Misc/OutputDeviceFile.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/OutputDeviceFile.cpp

Syntax

FOutputDeviceFile
(
    const TCHAR * InFilename,
    bool bDisableBackup,
    bool bAppendIfExists,
    bool bCreateWriterLazily,
    TFunction< void *)> FileOpenedCallback
)

Remarks

Constructor, initializing member variables.

Constructor, initializing member variables.

Parameters

Parameter

Description

InFilename

Filename to use, can be nullptr. If null, a file name will be automatically generated. If a filename is specified but cannot be opened because it is already open/used by another process, the implementation will try to generate a new name automatically, until the a file is created or the number of trials exhausted (32).

bDisableBackup

If true, existing files will not be backed up

bCreateWriterLazily

If true, delay the creation of the file until something needs to be written, otherwise, open it immediatedly.

FileOpenedCallback

If bound, invoked when the output file is successfully opened, passing the actual filename.

InFilename

Filename to use, can be NULL

bInDisableBackup

If true, existing files will not be backed up

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss