14#include "Containers/Array.h"
15#include "Templates/Function.h"
17#include "ActorDispatcher.generated.h"
49 TPair<EActorSpawnResultStatus, FCarlaActor*>
SpawnActor(
50 const FTransform &Transform,
60 const FTransform &Transform,
100 void OnActorDestroyed(
AActor *Actor);
Base class for Carla actor factories.
virtual FActorSpawnResult SpawnActor(const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription)
Spawn an actor based on ActorDescription and Transform.
A registry of all the Carla actors.
FCarlaActor::IdType IdType
A view over an actor and its properties.
Object in charge of binding ActorDefinitions to spawn functions, as well as keeping the registry of a...
const FActorRegistry & GetActorRegistry() const
TFunction< FActorSpawnResult(const FTransform &, const FActorDescription &)> SpawnFunctionType
const TArray< FActorDefinition > & GetActorDefinitions() const
FActorRegistry & GetActorRegistry()
A definition of a Carla Actor with all the variation and attributes.
A description of a Carla Actor with all its variation.
Result of an actor spawn function.