CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Traffic
TrafficLightInterface.h
Go to the documentation of this file.
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
14
UINTERFACE(BlueprintType)
15
class CARLA_API
UTrafficLightInterface
: public
UInterface
16
{
17
GENERATED_BODY()
18
};
19
20
class
ITrafficLightInterface
21
{
22
GENERATED_BODY()
23
24
public
:
25
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable, Category =
"Traffic Light Interface"
)
26
void
LightChanged
(
ETrafficLightState
NewLightState);
27
};
UTrafficLightInterface
Definition:
TrafficLightInterface.h:15
ETrafficLightState
ETrafficLightState
Definition:
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/TrafficLightState.h:13
ITrafficLightInterface
Definition:
TrafficLightInterface.h:20
TrafficLightState.h
Object.h
UInterface
ITrafficLightInterface::LightChanged
void LightChanged(ETrafficLightState NewLightState)
Generated by
1.8.13