Skip to content

UOperatingSystemBluetoothComponent

#include <OperatingSystemSimulator/Public/Components/OperatingSystemBluetoothComponent.h>
class UOperatingSystemBluetoothComponent

Defined in OperatingSystemBluetoothComponent.h:12

Inherits: UActorComponent

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemBluetoothComponent["UOperatingSystemBluetoothComponent"]
  class UActorComponent["UActorComponent"]
  UActorComponent <|-- UOperatingSystemBluetoothComponent
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemBluetoothComponent["UOperatingSystemBluetoothComponent"]
  class AOperatingSystemDeviceActor["AOperatingSystemDeviceActor"]
  UOperatingSystemBluetoothComponent *-- AOperatingSystemDeviceActor
  class EOperatingSystemDeviceState["EOperatingSystemDeviceState"]
  UOperatingSystemBluetoothComponent ..> EOperatingSystemDeviceState
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemBluetoothComponent {
    +UOperatingSystemBluetoothComponent()
    +OnRegister() override
    +BeginPlay() override
    +ShouldActivate() const override bool
    +Activate(bool bReset=false) override
    +Deactivate() override
    +IsConnectionSaved(const AOperatingSystemDeviceActor *Device)  bool
    +ConnectToDevice(const AOperatingSystemDeviceActor *ToDevice
    +GetMaxRange() const float
    +GetRandomPairingDuration() const float
    +GeneratePairCode() const int32
    +ConnectionName : FText
    +MaxRange : float
    +PairCodeRange : FInt32Range
    +PairingDurationRange : FFloatRange
    +ParentDeviceActor : TWeakObjectPtr< AOperatingSystemDeviceAc
    +CurrentActiveConnectedDevice : TWeakObjectPtr< AOperatingSystemDeviceAc
    +SavedConnections : TSet< FString >
    +ConnectedDevices : TArray< TObjectPtr< AOperatingSystemDevi
    +CurrentDeviceState : EOperatingSystemDeviceState()
    +Internal_OnDeviceCreated()
    +Internal_OnDeviceStateChanged(const EOperatingSystemDeviceState &Previous
  }
ReturnNameDescription
UOperatingSystemBluetoothComponent
voidOnRegister virtual override
voidBeginPlay virtual override
boolShouldActivate virtual const override
voidActivate virtual override
voidDeactivate virtual override
boolIsConnectionSaved const
voidConnectToDevice
floatGetMaxRange const inline
floatGetRandomPairingDuration const inline
int32GeneratePairCode const inline

UOperatingSystemBluetoothComponent()

Defined in OperatingSystemBluetoothComponent.h:45

Section titled “Defined in OperatingSystemBluetoothComponent.h:45”

virtual override

virtual void OnRegister() override

Defined in OperatingSystemBluetoothComponent.h:47


virtual override

virtual void BeginPlay() override

Defined in OperatingSystemBluetoothComponent.h:48


virtual const override

virtual bool ShouldActivate() const override

Defined in OperatingSystemBluetoothComponent.h:49


virtual override

virtual void Activate(bool bReset = false) override

Defined in OperatingSystemBluetoothComponent.h:50


virtual override

virtual void Deactivate() override

Defined in OperatingSystemBluetoothComponent.h:51


const

bool IsConnectionSaved(const AOperatingSystemDeviceActor * Device) const

Defined in OperatingSystemBluetoothComponent.h:53


void ConnectToDevice(const AOperatingSystemDeviceActor * ToDevice)

Defined in OperatingSystemBluetoothComponent.h:54


const inline

inline float GetMaxRange() const

Defined in OperatingSystemBluetoothComponent.h:66


const inline

inline float GetRandomPairingDuration() const

Defined in OperatingSystemBluetoothComponent.h:67


const inline

inline int32 GeneratePairCode() const

Defined in OperatingSystemBluetoothComponent.h:72

ReturnNameDescription
FTextConnectionName
floatMaxRange
FInt32RangePairCodeRange
FFloatRangePairingDurationRange
TWeakObjectPtr< AOperatingSystemDeviceActor >ParentDeviceActor
TWeakObjectPtr< AOperatingSystemDeviceActor >CurrentActiveConnectedDevice
TSet< FString >SavedConnections
TArray< TObjectPtr< AOperatingSystemDeviceActor > >ConnectedDevices
EOperatingSystemDeviceStateCurrentDeviceState

FText ConnectionName

Defined in OperatingSystemBluetoothComponent.h:17


float MaxRange

Defined in OperatingSystemBluetoothComponent.h:20


FInt32Range PairCodeRange

Defined in OperatingSystemBluetoothComponent.h:23

Section titled “Defined in OperatingSystemBluetoothComponent.h:23”
FFloatRange PairingDurationRange

Defined in OperatingSystemBluetoothComponent.h:26

Section titled “Defined in OperatingSystemBluetoothComponent.h:26”
TWeakObjectPtr< AOperatingSystemDeviceActor > ParentDeviceActor

Defined in OperatingSystemBluetoothComponent.h:29


TWeakObjectPtr< AOperatingSystemDeviceActor > CurrentActiveConnectedDevice

Defined in OperatingSystemBluetoothComponent.h:32


TSet< FString > SavedConnections

Defined in OperatingSystemBluetoothComponent.h:35


TArray< TObjectPtr< AOperatingSystemDeviceActor > > ConnectedDevices

Defined in OperatingSystemBluetoothComponent.h:38


EOperatingSystemDeviceState CurrentDeviceState

Defined in OperatingSystemBluetoothComponent.h:41

ReturnNameDescription
voidInternal_OnDeviceCreated
voidInternal_OnDeviceStateChanged

void Internal_OnDeviceCreated()

Defined in OperatingSystemBluetoothComponent.h:59


void Internal_OnDeviceStateChanged(const EOperatingSystemDeviceState & PreviousState, const EOperatingSystemDeviceState & CurrentState)

Defined in OperatingSystemBluetoothComponent.h:62