CARLA
Public Member Functions | Private Attributes | List of all members
UTaggerDelegate Class Reference

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

#include <TaggerDelegate.h>

+ Inheritance diagram for UTaggerDelegate:
+ Collaboration 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 15 of file TaggerDelegate.h.

Constructor & Destructor Documentation

◆ UTaggerDelegate()

UTaggerDelegate::UTaggerDelegate ( )

Definition at line 14 of file TaggerDelegate.cpp.

Member Function Documentation

◆ OnActorSpawned()

void UTaggerDelegate::OnActorSpawned ( AActor Actor)

Definition at line 22 of file TaggerDelegate.cpp.

References bSemanticSegmentationEnabled, and ATagger::TagActor().

+ Here is the call graph for this function:

◆ RegisterSpawnHandler()

void UTaggerDelegate::RegisterSpawnHandler ( UWorld *  World)

Definition at line 17 of file TaggerDelegate.cpp.

References ActorSpawnedDelegate.

Referenced by ACarlaGameModeBase::InitGame().

+ Here is the caller graph for this function:

◆ SetSemanticSegmentationEnabled()

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

Definition at line 25 of file TaggerDelegate.h.

Referenced by ACarlaGameModeBase::BeginPlay().

+ Here is the caller graph for this function:

Member Data Documentation

◆ ActorSpawnedDelegate

FOnActorSpawned::FDelegate UTaggerDelegate::ActorSpawnedDelegate
private

Definition at line 34 of file TaggerDelegate.h.

Referenced by RegisterSpawnHandler().

◆ bSemanticSegmentationEnabled

bool UTaggerDelegate::bSemanticSegmentationEnabled = false
private

Definition at line 36 of file TaggerDelegate.h.

Referenced by OnActorSpawned().


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