9#include "CoreMinimal.h"
13#include "TrafficLightComponent.generated.h"
23UCLASS(Blueprintable, ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
24class CARLA_API UTrafficLightComponent :
public USignComponent
30 UTrafficLightComponent();
32 UFUNCTION(Category = "Traffic Light", BlueprintCallable)
35 UFUNCTION(Category = "Traffic Light", BlueprintCallable)
38 UFUNCTION(Category = "Traffic Light", BlueprintCallable)
39 void SetFrozenGroup(
bool InFreeze);
41 UFUNCTION(Category = "Traffic Light", BlueprintPure)
48 UFUNCTION(Category = "Traffic Light", BlueprintPure)
53 virtual
void InitializeSign(const
carla::road::Map &Map) override;
57 UFUNCTION(BlueprintCallable)
63 const FHitResult &SweepResult);
65 UFUNCTION(BlueprintCallable)
69 int32 OtherBodyIndex);
77 void GenerateTrafficLightBox(
78 const FTransform BoxTransform,
79 const FVector BoxSize);
81 UPROPERTY(Category = "Traffic Light", EditAnywhere)
84 UPROPERTY(Category = "Traffic Light", BlueprintAssignable)
85 FLightChangeDispatcher LightChangeDispatcher;
90 UPROPERTY(Category = "Traffic Light", VisibleAnywhere)
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FLightChangeDispatcher)
Class which implements the state changing of traffic lights
Class In charge of creating and assigning traffic light groups, controllers and components.
Wheeled vehicle controller with optional AI.
Maps a controller from OpenDrive.
This file contains definitions of common data structures used in traffic manager.