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

#include "OperatingSystemProgramData.h"

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

Public Member Functions

 UOperatingSystemProgramData ()
 
- Public Member Functions inherited from UOperatingSystemDataObject
template<class T >
TGetParentObject () const
 
OPERATINGSYSTEMSIMULATOR_API void SetTickEnabled (const bool bEnable)
 
OPERATINGSYSTEMSIMULATOR_API bool IsTickEnabled () const
 

Protected Member Functions

virtual void OnCreate () override
 
- Protected Member Functions inherited from UOperatingSystemDataObject
virtual OPERATINGSYSTEMSIMULATOR_API bool ShouldCreate () const
 
virtual OPERATINGSYSTEMSIMULATOR_API void Tick (const float &DeltaSeconds)
 The Tick method receives the time elapsed since the last frame update and performs any necessary updates or computations.
 
virtual OPERATINGSYSTEMSIMULATOR_API void OnValidate (FGenericError &OutError)
 This method is called to validate the data object.
 
void K2_OnCreate ()
 K2_OnCreate.
 
void K2_Tick (const float &DeltaSeconds)
 K2_Tick method is an event meant to be overridden in Blueprint subclasses of OperatingSystemDataObject. It allows subclasses to define custom behavior that should be executed every tick.
 
bool K2_ShouldCreate () const
 Indicates whether the operating system data object should be created.
 

Protected Attributes

TWeakObjectPtr< UOperatingSystemBaseProgramParentProgram
 
- Protected Attributes inherited from UOperatingSystemDataObject
TWeakObjectPtr< UObject > ParentObject
 
uint8 bStartWithTickEnabled: 1
 

Additional Inherited Members

- Static Public Member Functions inherited from UOperatingSystemDataObject
static OPERATINGSYSTEMSIMULATOR_API UOperatingSystemDataObjectCreateDataObj (UObject *OwningObject, const TSoftClassPtr< UOperatingSystemDataObject > &DataClassPtr)
 
template<class T >
static OPERATINGSYSTEMSIMULATOR_API T * CreateDataObj (UObject *OwningObject, TSoftClassPtr< UOperatingSystemDataObject > DataClassPtr)
 This method creates a new instance of a data object of type T.
 

Detailed Description

This class represents the data of an operating system program. It is an abstract class that can be Blueprintable and blueprint type.

Note
This class is a subclass of UOperatingSystemDataObject.

Constructor & Destructor Documentation

◆ UOperatingSystemProgramData()

UOperatingSystemProgramData::UOperatingSystemProgramData ( )

Member Function Documentation

◆ OnCreate()

void UOperatingSystemProgramData::OnCreate ( )
overrideprotectedvirtual

Called when the program is created.

This function is called when the program is created. It is responsible for initializing the program's parent object and ensuring its validity.

Reimplemented from UOperatingSystemDataObject.

Reimplemented in UOperatingSystemTerminalHistory, and UOperatingSystemVideoPlayerProgramData.

Here is the call graph for this function:

Member Data Documentation

◆ ParentProgram

TWeakObjectPtr<UOperatingSystemBaseProgram> UOperatingSystemProgramData::ParentProgram
protected

Program that created this data object.


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