The UOperatingSystemBIOS class represents the BIOS of an operating system. It provides functionalities for initializing the BIOS, opening the BIOS widget, and toggling the clock.
More...
#include "OperatingSystemBIOS.h"
The UOperatingSystemBIOS class represents the BIOS of an operating system. It provides functionalities for initializing the BIOS, opening the BIOS widget, and toggling the clock.
◆ UOperatingSystemBIOS()
UOperatingSystemBIOS::UOperatingSystemBIOS |
( |
| ) |
|
◆ GetBiosWidget()
Retrieves the BIOS widget associated with the operating system BIOS.
This method returns the BIOS widget associated with the operating system BIOS. The BIOS widget is used for interacting with the BIOS functionalities.
- Returns
- The BIOS widget associated with the operating system BIOS.
◆ InitBIOS()
Initializes the operating system BIOS.
This method initializes the operating system BIOS by creating the BIOS widget and setting the parent motherboard. If the BIOS widget class is null, it returns false and sets the error message in the OutError parameter. If the BIOS widget is not valid, it creates the BIOS widget using the CreateFromSoftWidget method.
- Parameters
-
ForMotherboard | A weak reference to the motherboard that owns the BIOS. |
OutError | The error message in case of failure to initialize the BIOS. |
- Returns
- True if the BIOS was successfully initialized, false otherwise.
◆ OpenBIOS()
void UOperatingSystemBIOS::OpenBIOS |
( |
| ) |
const |
◆ ToggleClock()
void UOperatingSystemBIOS::ToggleClock |
( |
const bool | bTick | ) |
|
Toggles the clock of the operating system BIOS.
This method toggles the clock of the operating system BIOS. When the clock is toggled on, the BIOS will be updated every frame and can perform actions based on the elapsed time. When the clock is toggled off, the BIOS will not be updated and will not perform any actions based on the elapsed time.
- Parameters
-
bTick | Whether to toggle the clock on (true) or off (false). |
◆ BiosWidget
Represents the BIOS widget that provides the graphical user interface for the BIOS functionality.
The BIOS widget of type UOperatingSystemBiosWidget
is used for displaying and interacting with the BIOS functionality in the graphical user interface. This variable holds an instance of the BIOS widget.
- See also
- UOperatingSystemBiosWidget
◆ BiosWidgetClass
Represents the class of the BIOS widget that provides the graphical user interface for the BIOS functionality.
◆ bIsTickable
bool UOperatingSystemBIOS::bIsTickable |
|
protected |
Indicates whether the operating system BIOS is tickable.
This variable determines whether the operating system BIOS object can tick or not. Tickable objects are updated every frame and can perform actions based on the elapsed time. Setting this to true will enable the BIOS object to tick, and setting it to false will disable ticking.
The default value is false.
- See also
- UOperatingSystemBIOS::ToggleClock()
◆ Copyright
FText UOperatingSystemBIOS::Copyright |
|
protected |
Copyright text of the operating system BIOS.
◆ Name
FText UOperatingSystemBIOS::Name |
|
protected |
◆ ParentMotherboard
Weak reference to the motherboard that owns this BIOS.
◆ TickElapsedTime
float UOperatingSystemBIOS::TickElapsedTime |
|
protected |
Represents the elapsed time since the last tick in seconds.
The TickElapsedTime
variable is used to keep track of the time elapsed since the last tick. It is a float value that represents the time in seconds. This variable is updated during each tick of the operating system BIOS and is used for performing actions based on the elapsed time, such as triggering events or updating the state of the BIOS.
- See also
- UOperatingSystemBIOS::Tick()
◆ Version
The documentation for this class was generated from the following files: