Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
This class represents a widget for an operating system device. More...
#include "OperatingSystemDeviceWidget.h"
Public Member Functions | |
void | CheckHardwareFailed (const FGenericError &HardwareError) |
Handles hardware check failure. | |
void | OperatingSystemError (const FGenericError &Error) |
Called when an operating system error occurs. It calls the K2_OperatingSystemError() method to handle the error in the blueprint. | |
Static Public Member Functions | |
static UOperatingSystemDeviceWidget * | CreateDeviceWidget (UOperatingSystemBaseDevice *InDevice) |
Creates a device widget for an operating system device. | |
Protected Member Functions | |
void | K2_OperatingSystemError (const FGenericError &Error) |
Called when an operating system error occurs. It calls the K2_OperatingSystemError() method to handle the error in the blueprint. | |
void | K2_OnCheckHardwareFailed (const FGenericError &Error) |
Handles hardware check failure. | |
Protected Attributes | |
TObjectPtr< UOperatingSystemBaseDevice > | OwningDevice |
The OwningDevice variable represents a pointer to an instance of the UOperatingSystemBaseDevice class that owns the UOperatingSystemDeviceWidget. | |
This class represents a widget for an operating system device.
void UOperatingSystemDeviceWidget::CheckHardwareFailed | ( | const FGenericError & | HardwareError | ) |
Handles hardware check failure.
This method is called when hardware check fails for the device widget. It retrieves the motherboard from the owning device, checks if it can open the BIOS, and if so, calls the On HardwareError() method of the BIOS widget. Then, it calls the K2_OnCheckHardwareFailed() method to handle the hardware check failure in the blueprint.
HardwareError | The hardware error information in the form of FGenericError struct. |
|
static |
Creates a device widget for an operating system device.
InDevice | A pointer to an instance of the UOperatingSystemBaseDevice class representing the device. |
|
protected |
Handles hardware check failure.
This method is called when hardware check fails for the device widget. It retrieves the motherboard from the owning device, checks if it can open the BIOS, and if so, calls the On HardwareError() method of the BIOS widget. Then, it calls the K2_OnCheckHardwareFailed() method to handle the hardware check failure in the blueprint.
Error | The hardware error information in the form of FGenericError struct. |
|
protected |
Called when an operating system error occurs. It calls the K2_OperatingSystemError() method to handle the error in the blueprint.
Error | The operating system error information in the form of FGenericError struct. |
void UOperatingSystemDeviceWidget::OperatingSystemError | ( | const FGenericError & | Error | ) |
Called when an operating system error occurs. It calls the K2_OperatingSystemError() method to handle the error in the blueprint.
Error | The operating system error information in the form of FGenericError struct. |
|
protected |
The OwningDevice variable represents a pointer to an instance of the UOperatingSystemBaseDevice class that owns the UOperatingSystemDeviceWidget.