Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
UOperatingSystemBsodWidget Class Reference

Represents the BSOD (Blue Screen of Death) widget for an operating system. More...

#include "OperatingSystemBsodWidget.h"

Inheritance diagram for UOperatingSystemBsodWidget:
[legend]
Collaboration diagram for UOperatingSystemBsodWidget:
[legend]

Public Member Functions

void SetError (const FGenericError &NewError)
 Sets the error for the BSOD (Blue Screen Of Death) widget by taking in a reference to a FGenericError object.
 
void UpdateProgress (const float ProgressPercentage)
 Updates the progress percentage of the BSOD (Blue Screen of Death) widget.
 

Static Public Member Functions

static UOperatingSystemBsodWidgetCreateBsodWidget (UOperatingSystem *OwningOS)
 Creates a BSOD (Blue Screen of Death) widget for an operating system.
 

Protected Member Functions

void K2_OnProgressChanged (const float &CurrentProgressPercentage)
 Triggered when the progress of the BSOD (Blue Screen of Death) widget changes.
 

Protected Attributes

TObjectPtr< UOperatingSystemParentOS
 
FGenericError BsodError
 

Detailed Description

Represents the BSOD (Blue Screen of Death) widget for an operating system.

Member Function Documentation

◆ CreateBsodWidget()

UOperatingSystemBsodWidget * UOperatingSystemBsodWidget::CreateBsodWidget ( UOperatingSystem * OwningOS)
static

Creates a BSOD (Blue Screen of Death) widget for an operating system.

This function creates a BSOD widget by taking in a pointer to the owning operating system object.

Parameters
OwningOSA pointer to the owning operating system object.
Returns
A pointer to the created BSOD widget.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ K2_OnProgressChanged()

void UOperatingSystemBsodWidget::K2_OnProgressChanged ( const float & CurrentProgressPercentage)
protected

Triggered when the progress of the BSOD (Blue Screen of Death) widget changes.

Parameters
CurrentProgressPercentageThe current progress percentage value. Should be a value between 0 and 100.
Note
This method is implemented as a BlueprintImplementableEvent, which means it can be overridden in Blueprints and additional functionality can be added.
Here is the caller graph for this function:

◆ SetError()

void UOperatingSystemBsodWidget::SetError ( const FGenericError & NewError)

Sets the error for the BSOD (Blue Screen Of Death) widget by taking in a reference to a FGenericError object.

Parameters
NewErrorThe error to set for the BSOD widget.
See also
FGenericError

◆ UpdateProgress()

void UOperatingSystemBsodWidget::UpdateProgress ( const float ProgressPercentage)

Updates the progress percentage of the BSOD (Blue Screen of Death) widget.

Parameters
ProgressPercentageThe progress percentage value to update. Should be a value between 0 and 100.
Here is the call graph for this function:

Member Data Documentation

◆ BsodError

FGenericError UOperatingSystemBsodWidget::BsodError
protected

Struct containing any error

See also
SetError()

◆ ParentOS

TObjectPtr<UOperatingSystem> UOperatingSystemBsodWidget::ParentOS
protected

Pointer to the parent operating system object of the BSOD widget.

The ParentOS variable is used in the CreateBsodWidget function of the UOperatingSystemBsodWidget class to set the parent operating system for the BSOD widget.

See also
CreateBsodWidget

The documentation for this class was generated from the following files: