#include <TrafficLightBase.h>
类 ATrafficLightBase 继承关系图:
ATrafficLightBase 的协作图:Protected 成员函数 | |
| void | OnTrafficLightStateChanged (ETrafficLightState TrafficLightState) |
Private 属性 | |
| TArray< ATrafficLightBase * > | GroupTrafficLights |
| int | PoleIndex = 0 |
| UTrafficLightComponent * | TrafficLightComponent = nullptr |
| TArray< AWheeledVehicleAIController * > | Vehicles |
在文件 TrafficLightBase.h 第 20 行定义.
| ATrafficLightBase::ATrafficLightBase | ( | const FObjectInitializer & | ObjectInitializer | ) |
在文件 TrafficLightBase.cpp 第 40 行定义.
引用了 ATrafficSignBase::SetTrafficSignState() , 以及 TrafficLightComponent.
函数调用图:| void ATrafficLightBase::AddTimeToRecorder | ( | ) |
在文件 TrafficLightBase.cpp 第 267 行定义.
引用了 UCarlaStatics::GetRecorder().
被这些函数引用 SetGreenTime(), SetRedTime() , 以及 SetYellowTime().
函数调用图:
这是这个函数的调用关系图:| float ATrafficLightBase::GetElapsedTime | ( | ) | const |
在文件 TrafficLightBase.cpp 第 178 行定义.
| float ATrafficLightBase::GetGreenTime | ( | ) | const |
在文件 TrafficLightBase.cpp 第 112 行定义.
| TArray< ATrafficLightBase * > ATrafficLightBase::GetGroupTrafficLights | ( | ) | const |
在文件 TrafficLightBase.cpp 第 231 行定义.
引用了 ATrafficLightGroup::GetControllers(), GroupTrafficLights , 以及 TrafficLightComponent.
函数调用图:| int ATrafficLightBase::GetPoleIndex | ( | ) | const |
在文件 TrafficLightBase.cpp 第 226 行定义.
引用了 PoleIndex.
| float ATrafficLightBase::GetRedTime | ( | ) | const |
在文件 TrafficLightBase.cpp 第 164 行定义.
| bool ATrafficLightBase::GetTimeIsFrozen | ( | ) | const |
在文件 TrafficLightBase.cpp 第 210 行定义.
| UTrafficLightComponent * ATrafficLightBase::GetTrafficLightComponent | ( | ) |
在文件 TrafficLightBase.cpp 第 258 行定义.
| const UTrafficLightComponent * ATrafficLightBase::GetTrafficLightComponent | ( | ) | const |
在文件 TrafficLightBase.cpp 第 262 行定义.
| ETrafficLightState ATrafficLightBase::GetTrafficLightState | ( | ) | const |
| float ATrafficLightBase::GetYellowTime | ( | ) | const |
在文件 TrafficLightBase.cpp 第 138 行定义.
| void ATrafficLightBase::LightChangedCompatibility | ( | ETrafficLightState | NewLightState | ) |
| void ATrafficLightBase::NotifyWheeledVehicle | ( | ACarlaWheeledVehicle * | Vehicle | ) |
在文件 TrafficLightBase.cpp 第 73 行定义.
引用了 GetTrafficLightState(), IsValid(), Vehicle , 以及 Vehicles.
函数调用图:
|
protected |
| void ATrafficLightBase::SetElapsedTime | ( | float | InElapsedTime | ) |
在文件 TrafficLightBase.cpp 第 192 行定义.
| void ATrafficLightBase::SetGreenTime | ( | float | InGreenTime | ) |
在文件 TrafficLightBase.cpp 第 100 行定义.
引用了 AddTimeToRecorder(), UTrafficLightController::SetGreenTime() , 以及 TrafficLightComponent.
函数调用图:| void ATrafficLightBase::SetGroupTrafficLights | ( | TArray< ATrafficLightBase * > | InGroupTrafficLights | ) |
在文件 TrafficLightBase.cpp 第 253 行定义.
引用了 GroupTrafficLights.
| void ATrafficLightBase::SetPoleIndex | ( | int | InPoleIndex | ) |
在文件 TrafficLightBase.cpp 第 221 行定义.
引用了 PoleIndex.
| void ATrafficLightBase::SetRedTime | ( | float | InRedTime | ) |
在文件 TrafficLightBase.cpp 第 152 行定义.
引用了 AddTimeToRecorder(), UTrafficLightController::SetRedTime() , 以及 TrafficLightComponent.
函数调用图:| void ATrafficLightBase::SetTimeIsFrozen | ( | bool | InTimeIsFrozen | ) |
在文件 TrafficLightBase.cpp 第 202 行定义.
| void ATrafficLightBase::SetTrafficLightState | ( | ETrafficLightState | State | ) |
在文件 TrafficLightBase.cpp 第 64 行定义.
引用了 InState , 以及 TrafficLightComponent.
| void ATrafficLightBase::SetYellowTime | ( | float | InYellowTime | ) |
在文件 TrafficLightBase.cpp 第 126 行定义.
引用了 AddTimeToRecorder(), UTrafficLightController::SetYellowTime() , 以及 TrafficLightComponent.
函数调用图:| void ATrafficLightBase::UnNotifyWheeledVehicle | ( | ACarlaWheeledVehicle * | Vehicle | ) |
|
private |
在文件 TrafficLightBase.h 第 107 行定义.
被这些函数引用 GetGroupTrafficLights() , 以及 SetGroupTrafficLights().
|
private |
在文件 TrafficLightBase.h 第 104 行定义.
被这些函数引用 GetPoleIndex() , 以及 SetPoleIndex().
|
private |
在文件 TrafficLightBase.h 第 110 行定义.
被这些函数引用 ATrafficLightBase(), GetElapsedTime(), GetGreenTime(), GetGroupTrafficLights(), GetRedTime(), GetTimeIsFrozen(), GetTrafficLightComponent(), GetTrafficLightState(), GetYellowTime(), SetElapsedTime(), SetGreenTime(), SetRedTime(), SetTimeIsFrozen(), SetTrafficLightState() , 以及 SetYellowTime().
|
private |
在文件 TrafficLightBase.h 第 101 行定义.
被这些函数引用 NotifyWheeledVehicle().