Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Output device for hijacking/hooking an existing output device (e.g. to hijack GError, to block specific asserts) Inherit this class, to implement desired hook behaviour in subclass
| Name | FHookOutputDevice |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtil.h |
| Include Path | #include "NUTUtil.h" |
Syntax
class FHookOutputDevice : public FOutputDeviceError
Inheritance Hierarchy
- FOutputDevice → FOutputDeviceError → FHookOutputDevice
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHookOutputDevice() |
NUTUtil.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OriginalDevice | FOutputDeviceError * | The original output device | NUTUtil.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HookDevice
(
FOutputDeviceError* OldDevice |
NUTUtil.h | ||
virtual void Serialize
(
const TCHAR* V, |
NUTUtil.h | ||
virtual void Serialize
(
const TCHAR* V, |
NUTUtil.h |
Overridden from FOutputDeviceError
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void HandleError() |
NUTUtil.h |
Overridden from FOutputDevice
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBeUsedOnAnyThread() |
NUTUtil.h | ||
virtual void Dump
(
FArchive& Ar |
NUTUtil.h | ||
virtual void Flush() |
NUTUtil.h | ||
virtual bool IsMemoryOnly() |
NUTUtil.h | ||
virtual void TearDown() |
NUTUtil.h |