CARLA
Private Member Functions | List of all members
AAIControllerFactory Class Referencefinal

Factory in charge of spawning AI Controllers. More...

#include <AIControllerFactory.h>

+ Inheritance diagram for AAIControllerFactory:
+ Collaboration diagram for AAIControllerFactory:

Private Member Functions

TArray< FActorDefinitionGetDefinitions () final
 Retrieve the list of actor definitions that this class is able to spawn. More...
 
FActorSpawnResult SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
 Spawn an actor based on ActorDescription and Transform. More...
 

Additional Inherited Members

- Public Member Functions inherited from ACarlaActorFactory
 ACarlaActorFactory (const FObjectInitializer &ObjectInitializer)
 

Detailed Description

Factory in charge of spawning AI Controllers.

Definition at line 16 of file AIControllerFactory.h.

Member Function Documentation

◆ GetDefinitions()

TArray< FActorDefinition > AAIControllerFactory::GetDefinitions ( )
finalprivatevirtual

Retrieve the list of actor definitions that this class is able to spawn.

Reimplemented from ACarlaActorFactory.

Definition at line 13 of file AIControllerFactory.cpp.

◆ SpawnActor()

FActorSpawnResult AAIControllerFactory::SpawnActor ( const FTransform &  SpawnAtTransform,
const FActorDescription ActorDescription 
)
finalprivatevirtual

Spawn an actor based on ActorDescription and Transform.

Precondition
ActorDescription is expected to be derived from one of the definitions retrieved with GetDefinitions.

Reimplemented from ACarlaActorFactory.

Definition at line 24 of file AIControllerFactory.cpp.

References FActorDescription::Class.


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