CARLA
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FActorSpawnResult Struct Reference

Result of an actor spawn function. More...

#include <ActorSpawnResult.h>

+ Collaboration diagram for FActorSpawnResult:

Public Member Functions

 FActorSpawnResult ()=default
 
 FActorSpawnResult (AActor *InActor)
 
bool IsValid () const
 

Static Public Member Functions

static FString StatusToString (EActorSpawnResultStatus Status)
 

Public Attributes

AActorActor = nullptr
 
EActorSpawnResultStatus Status = EActorSpawnResultStatus::UnknownError
 

Detailed Description

Result of an actor spawn function.

Definition at line 25 of file ActorSpawnResult.h.

Constructor & Destructor Documentation

◆ FActorSpawnResult() [1/2]

FActorSpawnResult::FActorSpawnResult ( )
default

◆ FActorSpawnResult() [2/2]

FActorSpawnResult::FActorSpawnResult ( AActor InActor)
inlineexplicit

Definition at line 31 of file ActorSpawnResult.h.

References Success.

Member Function Documentation

◆ IsValid()

bool FActorSpawnResult::IsValid ( ) const
inline

Definition at line 39 of file ActorSpawnResult.h.

Referenced by UActorDispatcher::SpawnActor().

+ Here is the caller graph for this function:

◆ StatusToString()

FString FActorSpawnResult::StatusToString ( EActorSpawnResultStatus  Status)
static

Definition at line 10 of file ActorSpawnResult.cpp.

References PropAttributes::SIZE.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the caller graph for this function:

Member Data Documentation

◆ Actor

AActor* FActorSpawnResult::Actor = nullptr

◆ Status

EActorSpawnResultStatus FActorSpawnResult::Status = EActorSpawnResultStatus::UnknownError

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