|
CARLA
|
#include <OpenDrive.h>
Inheritance diagram for UOpenDrive:Static Public Member Functions | |
| static FString | FindPathToXODRFile (const FString &InMapName) |
| static FString | GetSavedXODRPath (const FString &MapName) |
| Where a generated OpenDRIVE world stores its xodr: <ProjectSavedDir>/OpenDrive/<MapName>.xodr (read before any content dir), or the folder SetSavedXODRDirectory set. | |
| static FString | GetXODR (const UWorld *World) |
| Return the OpenDrive XML associated to MapName, or empty if the file is not found. | |
| static FString | GetXODRByPath (FString XODRPath, FString MapName) |
| Return the OpenDrive XML associated to MapName, or empty if the file is not found. | |
| static UOpenDriveMap * | LoadCurrentOpenDriveMap (const UObject *WorldContextObject) |
| Load OpenDriveMap associated to the currently loaded map. | |
| static UOpenDriveMap * | LoadOpenDriveMap (const FString &MapName) |
| Load OpenDriveMap associated to the given MapName. | |
| static FString | LoadXODR (const FString &MapName) |
| static FString | LoadXODRFullPath (const FString &FullPath) |
| static void | SetSavedXODRDirectory (const FString &Directory) |
| Multi-GPU secondary: a folder of this process for the generated worlds the primary sends, so that servers sharing an installation never read each other's. | |
Definition at line 18 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.h.
|
static |
Definition at line 34 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References UCarlaContentPackManager::Get(), and GetSavedXODRPath().
Referenced by GetXODR(), ATrafficLightManager::InitializeTrafficLights(), and LoadXODR().
|
static |
Where a generated OpenDRIVE world stores its xodr: <ProjectSavedDir>/OpenDrive/<MapName>.xodr (read before any content dir), or the folder SetSavedXODRDirectory set.
Definition at line 22 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References UOpenDrive_SavedXODRDirectory.
Referenced by FCarlaServer::FPimpl::BindActions(), FCarlaEngine_PrepareGeneratedWorld(), FindPathToXODRFile(), GetXODR(), UCarlaEpisode::LoadNewEpisode(), UCarlaEpisode::LoadNewOpendriveEpisode(), and FCarlaEngine::~FCarlaEngine().
|
static |
Return the OpenDrive XML associated to MapName, or empty if the file is not found.
Definition at line 139 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References FindPathToXODRFile(), ACarlaGameModeBase::GetFullMapPath(), UCarlaStatics::GetGameMode(), and GetSavedXODRPath().
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 248 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
|
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 295 of file Unreal/CarlaUnreal/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 283 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References UOpenDriveMap::Load(), and LoadXODR().
Referenced by LoadCurrentOpenDriveMap().
|
static |
Definition at line 206 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References FindPathToXODRFile().
Referenced by AOpenDriveActor::BuildRoutes(), and LoadOpenDriveMap().
|
static |
Definition at line 228 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
Referenced by AOpenDriveActor::BuildRoutes().
|
static |
Multi-GPU secondary: a folder of this process for the generated worlds the primary sends, so that servers sharing an installation never read each other's.
Set once, before any map loads.
Definition at line 29 of file Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp.
References UOpenDrive_SavedXODRDirectory.
Referenced by FCarlaEngine::NotifyInitGame(), and FCarlaEngine::~FCarlaEngine().