#include <OpenDrive.h>
Static Public Member Functions | |
static FString | FindPathToXODRFile (const FString &InMapName) |
static FString | GetXODR (const UWorld *World) |
Return the OpenDrive XML associated to MapName, or empty if the file is not found. More... | |
static FString | GetXODRByPath (FString XODRPath, FString MapName) |
Return the OpenDrive XML associated to MapName, or empty if the file is not found. More... | |
static UOpenDriveMap * | LoadCurrentOpenDriveMap (const UObject *WorldContextObject) |
Load OpenDriveMap associated to the currently loaded map. More... | |
static UOpenDriveMap * | LoadOpenDriveMap (const FString &MapName) |
Load OpenDriveMap associated to the given MapName. More... | |
static FString | LoadXODR (const FString &MapName) |
Definition at line 16 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.h.
|
static |
Definition at line 17 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References carla::client::detail::Get().
Referenced by LoadXODR().
|
static |
Return the OpenDrive XML associated to MapName, or empty if the file is not found.
Definition at line 58 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References carla::client::detail::Get(), ACarlaGameModeBase::GetFullMapPath(), and UCarlaStatics::GetGameMode().
Referenced by AOpenDriveGenerator::BeginPlay(), FCarlaServer::FPimpl::BindActions(), ATrafficLightManager::MatchTrafficLightActorsWithOpenDriveSignals(), and ACarlaGameModeBase::ParseOpenDrive().
|
static |
Return the OpenDrive XML associated to MapName, or empty if the file is not found.
Definition at line 123 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References carla::client::detail::Get().
|
static |
Load OpenDriveMap associated to the currently loaded map.
Return nullptr if no XODR can be found that matches the current map.
Definition at line 170 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References LoadOpenDriveMap().
|
static |
Load OpenDriveMap associated to the given MapName.
Return nullptr if no XODR can be found with same MapName.
Definition at line 158 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References UOpenDriveMap::Load(), and LoadXODR().
Referenced by LoadCurrentOpenDriveMap().
|
static |
Definition at line 101 of file Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References FindPathToXODRFile().
Referenced by AOpenDriveActor::BuildRoutes(), LoadOpenDriveMap(), and ULoadAssetMaterialsCommandlet::ULoadAssetMaterialsCommandlet().