CARLA
 
载入中...
搜索中...
未找到
TrafficLightInterface.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "Object.h"
11#include "TrafficLightState.h"
12#include "TrafficLightInterface.generated.h"
13
14UINTERFACE(BlueprintType)
15class CARLA_API UTrafficLightInterface : public UInterface
16{
17 GENERATED_BODY()
18};
19
21{
22 GENERATED_BODY()
23
24public:
25 UFUNCTION(BlueprintImplementableEvent, BlueprintCallable, Category = "Traffic Light Interface")
26 void LightChanged(ETrafficLightState NewLightState);
27};
void LightChanged(ETrafficLightState NewLightState)