Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
OutputDeviceError.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
#
include
"Misc/OutputDevice.h"
7
8
// Error device.
9
class
FOutputDeviceError
:
public
FOutputDevice
10
{
11
public
:
12
virtual
bool
CanBeUsedOnPanicThread
()
const
override
13
{
14
return
true
;
15
}
16
17
virtual
void
HandleError
()=0;
18
19
/** Sets the location of the instruction that raise the next error */
20
void
SetErrorProgramCounter
(
void
* InProgramCounter)
21
{
22
ProgramCounter
= InProgramCounter;
23
}
24
25
/* Returns the instruction location of where an error occurred */
26
void
*
GetErrorProgramCounter
()
const
27
{
28
return
ProgramCounter
;
29
}
30
31
private
:
32
void
*
ProgramCounter
=
nullptr
;
33
};
FOutputDeviceError
Definition
OutputDeviceError.h:10
FOutputDeviceError::CanBeUsedOnPanicThread
virtual bool CanBeUsedOnPanicThread() const override
Definition
OutputDeviceError.h:12
FOutputDeviceError::GetErrorProgramCounter
void * GetErrorProgramCounter() const
Definition
OutputDeviceError.h:26
FOutputDeviceError::SetErrorProgramCounter
void SetErrorProgramCounter(void *InProgramCounter)
Definition
OutputDeviceError.h:20
FOutputDeviceError::ProgramCounter
void * ProgramCounter
Definition
OutputDeviceError.h:32
FOutputDeviceError::HandleError
virtual void HandleError()=0
FOutputDevice
Definition
OutputDevice.h:130
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Misc
OutputDeviceError.h
Generated by
1.10.0