Skip to content

UOperatingSystemNetworkCard

#include <OperatingSystemSimulator/Public/Hardware/OperatingSystemNetworkCard.h>
class UOperatingSystemNetworkCard

Defined in OperatingSystemNetworkCard.h:11

Inherits: UOperatingSystemBaseHardware

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemNetworkCard["UOperatingSystemNetworkCard"]
  class UOperatingSystemBaseHardware["UOperatingSystemBaseHardware"]
  UOperatingSystemBaseHardware <|-- UOperatingSystemNetworkCard
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemNetworkCard["UOperatingSystemNetworkCard"]
  class UOperatingSystemMBB["UOperatingSystemMBB"]
  UOperatingSystemNetworkCard *-- UOperatingSystemMBB
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemNetworkCard {
    +UOperatingSystemNetworkCard()
    +OnValidate(FGenericError &OutError) const override bool
    +SetCanConnect(const bool bNewCanConnect)
    +CanConnect() const bool
    +CreateNetworkCard(UOperatingSystemMBB *OwningMotherboard, FGe UOperatingSystemNetworkCard() *
    +bCanConnect : bool
    +ParentMotherboard : TWeakObjectPtr< UOperatingSystemMBB() >
  }
ReturnNameDescription
UOperatingSystemNetworkCard
boolOnValidate virtual const inline overrideThis method is called to validate the current state of the object.
voidSetCanConnect inline
boolCanConnect const inline

UOperatingSystemNetworkCard()

Defined in OperatingSystemNetworkCard.h:25


virtual const inline override

virtual inline bool OnValidate(FGenericError & OutError) const override

Defined in OperatingSystemNetworkCard.h:39 This method is called to validate the current state of the object.

  • OutError A reference to a FGenericError object to receive any error messages if the validation fails.

true if the object’s state is valid, false otherwise.


inline

inline void SetCanConnect(const bool bNewCanConnect)

Defined in OperatingSystemNetworkCard.h:41

Section titled “Defined in OperatingSystemNetworkCard.h:41”

const inline

inline bool CanConnect() const

Defined in OperatingSystemNetworkCard.h:42

ReturnNameDescription
UOperatingSystemNetworkCard *CreateNetworkCard staticCreates a network card for an operating system.

static

static UOperatingSystemNetworkCard * CreateNetworkCard(UOperatingSystemMBB * OwningMotherboard, FGenericError & OutError)

Defined in OperatingSystemNetworkCard.h:36 Creates a network card for an operating system.

This method creates and returns a network card object for an operating system. The network card is created with the specified owning motherboard and error output parameter.

  • OwningMotherboard The owning motherboard for the network card.

  • OutError The error output parameter to capture any error that occurs during network card creation.

The created network card object, or nullptr if an error occurred during creation.

ReturnNameDescription
boolbCanConnect
TWeakObjectPtr< UOperatingSystemMBB >ParentMotherboard

bool bCanConnect

Defined in OperatingSystemNetworkCard.h:18

Section titled “Defined in OperatingSystemNetworkCard.h:18”
TWeakObjectPtr< UOperatingSystemMBB > ParentMotherboard

Defined in OperatingSystemNetworkCard.h:21