CARLA
Loading...
Searching...
No Matches
UTaggerDelegate Class Reference

Used to tag every actor that is spawned into the world. More...

#include <TaggerDelegate.h>

Inheritance diagram for UTaggerDelegate:

Public Member Functions

void OnActorSpawned (AActor *Actor)
void RegisterSpawnHandler (UWorld *World)
void SetSemanticSegmentationEnabled (bool Enable=true)
 UTaggerDelegate ()

Private Attributes

FOnActorSpawned::FDelegate ActorSpawnedDelegate
bool bSemanticSegmentationEnabled = false

Detailed Description

Used to tag every actor that is spawned into the world.

Definition at line 17 of file TaggerDelegate.h.

Constructor & Destructor Documentation

◆ UTaggerDelegate()

UTaggerDelegate::UTaggerDelegate ( )

Definition at line 15 of file TaggerDelegate.cpp.

References ActorSpawnedDelegate, OnActorSpawned(), and UTaggerDelegate().

Referenced by UTaggerDelegate().

Member Function Documentation

◆ OnActorSpawned()

void UTaggerDelegate::OnActorSpawned ( AActor * Actor)

Definition at line 23 of file TaggerDelegate.cpp.

References bSemanticSegmentationEnabled, and ATagger::TagActor().

Referenced by UTaggerDelegate().

◆ RegisterSpawnHandler()

void UTaggerDelegate::RegisterSpawnHandler ( UWorld * World)

Definition at line 18 of file TaggerDelegate.cpp.

References ActorSpawnedDelegate.

Referenced by ACarlaGameModeBase::InitGame().

◆ SetSemanticSegmentationEnabled()

void UTaggerDelegate::SetSemanticSegmentationEnabled ( bool Enable = true)
inline

Definition at line 27 of file TaggerDelegate.h.

References bSemanticSegmentationEnabled.

Referenced by ACarlaGameModeBase::BeginPlay().

Member Data Documentation

◆ ActorSpawnedDelegate

FOnActorSpawned::FDelegate UTaggerDelegate::ActorSpawnedDelegate
private

Definition at line 36 of file TaggerDelegate.h.

Referenced by RegisterSpawnHandler(), and UTaggerDelegate().

◆ bSemanticSegmentationEnabled

bool UTaggerDelegate::bSemanticSegmentationEnabled = false
private

Definition at line 38 of file TaggerDelegate.h.

Referenced by OnActorSpawned(), and SetSemanticSegmentationEnabled().


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