CARLA
 
载入中...
搜索中...
未找到
Private 成员函数 | 所有成员列表
ATriggerFactory类 参考

Factory in charge of spawning sensors. 更多...

#include <TriggerFactory.h>

+ 类 ATriggerFactory 继承关系图:
+ ATriggerFactory 的协作图:

Private 成员函数

TArray< FActorDefinitionGetDefinitions () final
 Retrieve the definitions of all the sensors registered in the SensorRegistry.
 
FActorSpawnResult SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
 Spawn an actor based on ActorDescription and Transform.
 

额外继承的成员函数

- Public 成员函数 继承自 ACarlaActorFactory
 ACarlaActorFactory (const FObjectInitializer &ObjectInitializer)
 

详细描述

Factory in charge of spawning sensors.

This factory is able to spawn every sensor registered in carla::sensor::SensorRegistry.

在文件 TriggerFactory.h17 行定义.

成员函数说明

◆ GetDefinitions()

TArray< FActorDefinition > ATriggerFactory::GetDefinitions ( )
finalprivatevirtual

Retrieve the definitions of all the sensors registered in the SensorRegistry.

Sensors must implement a GetSensorDefinition() static method.

重载 ACarlaActorFactory .

在文件 TriggerFactory.cpp21 行定义.

引用了 FActorDefinition::Class, UActorBlueprintFunctionLibrary::MakeTriggerDefinition() , 以及 Success.

+ 函数调用图:

◆ SpawnActor()

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

Spawn an actor based on ActorDescription and Transform.

前置条件
ActorDescription is expected to be derived from one of the definitions retrieved with GetDefinitions.

重载 ACarlaActorFactory .

在文件 TriggerFactory.cpp36 行定义.

引用了 FActorDescription::Class, UCarlaGameInstance::GetCarlaEpisode(), UCarlaStatics::GetGameInstance(), UActorBlueprintFunctionLibrary::RetrieveActorAttributeToFloat() , 以及 FActorDescription::Variations.

+ 函数调用图:

该类的文档由以下文件生成: