UOperatingSystemNetworkCard
#include <OperatingSystemSimulator/Public/Hardware/OperatingSystemNetworkCard.h>class UOperatingSystemNetworkCardDefined in OperatingSystemNetworkCard.h:11
Inherits:
UOperatingSystemBaseHardware
Inheritance diagram
Section titled “Inheritance diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemNetworkCard["UOperatingSystemNetworkCard"]
class UOperatingSystemBaseHardware["UOperatingSystemBaseHardware"]
UOperatingSystemBaseHardware <|-- UOperatingSystemNetworkCard
Collaboration diagram
Section titled “Collaboration diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemNetworkCard["UOperatingSystemNetworkCard"]
class UOperatingSystemMBB["UOperatingSystemMBB"]
UOperatingSystemNetworkCard *-- UOperatingSystemMBB
Class detail
Section titled “Class detail”---
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() >
}
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemNetworkCard | ||
bool | OnValidate virtual const inline override | This method is called to validate the current state of the object. |
void | SetCanConnect inline | |
bool | CanConnect const inline |
UOperatingSystemNetworkCard
Section titled “UOperatingSystemNetworkCard”UOperatingSystemNetworkCard()Defined in OperatingSystemNetworkCard.h:25
References
Section titled “References”OnValidate
Section titled “OnValidate”virtual const inline override
virtual inline bool OnValidate(FGenericError & OutError) const overrideDefined in OperatingSystemNetworkCard.h:39 This method is called to validate the current state of the object.
Parameters
Section titled “Parameters”OutErrorA reference to a FGenericError object to receive any error messages if the validation fails.
Returns
Section titled “Returns”true if the object’s state is valid, false otherwise.
Reimplements
Section titled “Reimplements”SetCanConnect
Section titled “SetCanConnect”inline
inline void SetCanConnect(const bool bNewCanConnect)Defined in OperatingSystemNetworkCard.h:41
Section titled “Defined in OperatingSystemNetworkCard.h:41”CanConnect
Section titled “CanConnect”const inline
inline bool CanConnect() constDefined in OperatingSystemNetworkCard.h:42
Public Static Methods
Section titled “Public Static Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemNetworkCard * | CreateNetworkCard static | Creates a network card for an operating system. |
CreateNetworkCard
Section titled “CreateNetworkCard”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.
Parameters
Section titled “Parameters”-
OwningMotherboardThe owning motherboard for the network card. -
OutErrorThe error output parameter to capture any error that occurs during network card creation.
Returns
Section titled “Returns”The created network card object, or nullptr if an error occurred during creation.
References
Section titled “References”GetParentDeviceNEW_SOFT_OBJ
Protected Attributes
Section titled “Protected Attributes”| Return | Name | Description |
|---|---|---|
bool | bCanConnect | |
TWeakObjectPtr< UOperatingSystemMBB > | ParentMotherboard |
bCanConnect
Section titled “bCanConnect”bool bCanConnectDefined in OperatingSystemNetworkCard.h:18
Section titled “Defined in OperatingSystemNetworkCard.h:18”ParentMotherboard
Section titled “ParentMotherboard”TWeakObjectPtr< UOperatingSystemMBB > ParentMotherboardDefined in OperatingSystemNetworkCard.h:21