#include <CarlaStatics.h>
Static Public Member Functions | |
static TArray< FString > | GetAllMapNames () |
static UCarlaSettings * | GetCarlaSettings (const UObject *WorldContextObject) |
static UCarlaEpisode * | GetCurrentEpisode (const UObject *WorldContextObject) |
static UCarlaGameInstance * | GetGameInstance (const UObject *WorldContextObject) |
static ACarlaGameModeBase * | GetGameMode (const UObject *WorldContextObject) |
static ALargeMapManager * | GetLargeMapManager (const UObject *WorldContextObject) |
static ACarlaRecorder * | GetRecorder (const UObject *WorldContextObject) |
static CarlaReplayer * | GetReplayer (const UObject *WorldContextObject) |
Definition at line 24 of file CarlaStatics.h.
|
static |
Definition at line 12 of file CarlaStatics.cpp.
References carla::client::detail::Get().
Referenced by FCarlaServer::FPimpl::BindActions().
|
inlinestatic |
Definition at line 74 of file CarlaStatics.h.
References GetGameInstance().
Referenced by SceneCaptureSensor_local_ns::GetQualitySettings().
|
inlinestatic |
Definition at line 68 of file CarlaStatics.h.
References GetGameInstance().
Referenced by ASensor::BeginPlay(), AGnssSensor::BeginPlay(), ALargeMapManager::CheckActiveActors(), ALargeMapManager::CheckDormantActors(), ALargeMapManager::ConvertActiveToDormantActors(), ALargeMapManager::ConvertDormantToActiveActors(), ASensor::EndPlay(), GetRecorder(), GetReplayer(), ALargeMapManager::OnActorDestroyed(), ALargeMapManager::OnActorSpawned(), ALargeMapManager::PostWorldOriginOffset(), ALargeMapManager::RegisterInitialObjects(), FSparseHighDetailMap::SaveMap(), and ATrafficLightGroup::Tick().
|
inlinestatic |
Definition at line 63 of file CarlaStatics.h.
Referenced by FCarlaServer::FPimpl::BindActions(), ASensor::EndPlay(), AOpenDriveGenerator::GenerateRoadMesh(), GetCarlaSettings(), GetCurrentEpisode(), UCarlaEpisode::LoadNewEpisode(), UCarlaEpisode::LoadNewOpendriveEpisode(), ATriggerFactory::SpawnActor(), and ASensorFactory::SpawnActor().
|
inlinestatic |
Definition at line 58 of file CarlaStatics.h.
Referenced by FCarlaServer::FPimpl::BindActions(), URayTracer::CastRay(), AOpenDriveGenerator::GenerateRoadMesh(), AOpenDriveGenerator::GenerateSpawnPoints(), GetLargeMapManager(), ATrafficLightManager::GetMap(), UCarlaEpisode::GetRecommendedSpawnPoints(), UOpenDrive::GetXODR(), AOpenDriveGenerator::IsOpenDriveValid(), URayTracer::ProjectPoint(), ATrafficLightManager::RegisterLightComponentFromOpenDRIVE(), FTrafficSignData::RestoreActorData(), FTrafficLightData::RestoreActorData(), ATrafficLightManager::SpawnSignals(), and ATrafficLightManager::SpawnTrafficLights().
|
inlinestatic |
Definition at line 100 of file CarlaStatics.h.
References GetGameMode(), and ACarlaGameModeBase::GetLMManager().
Referenced by AVegetationManager::BeginPlay(), FCarlaServer::FPimpl::BindActions(), FFrameData::CreateOrReuseActor(), FCarlaActor::GetActorGlobalLocation(), FCarlaActor::GetActorGlobalTransform(), FCarlaActor::GetActorLocalLocation(), FCarlaActor::GetActorLocalTransform(), ACarlaWheeledVehicle::GetBoxSphereBounds(), FCarlaEngine::NotifyBeginEpisode(), FCarlaEngine::OnEpisodeSettingsChanged(), FShapeVisitor::operator()(), AGnssSensor::PostPhysTick(), FSparseHighDetailMap::SaveMap(), FCarlaActor::SetActorGlobalLocation(), FCarlaActor::SetActorGlobalTransform(), FCarlaActor::SetActorLocalLocation(), FCarlaActor::SetActorLocalTransform(), UCarlaEpisode::SpawnActorWithInfo(), and CarlaReplayerHelper::TryToCreateReplayerActor().
|
inlinestatic |
Definition at line 80 of file CarlaStatics.h.
References GetCurrentEpisode().
Referenced by ATrafficLightBase::AddTimeToRecorder(), and ACarlaWheeledVehicle::ApplyVehiclePhysicsControl().
|
inlinestatic |
Definition at line 90 of file CarlaStatics.h.
References GetCurrentEpisode().