CARLA
Static Public Member Functions | List of all members
UCarlaStatics Class Reference

#include <CarlaStatics.h>

+ Inheritance diagram for UCarlaStatics:
+ Collaboration diagram for UCarlaStatics:

Static Public Member Functions

static TArray< FString > GetAllMapNames ()
 
static UCarlaSettingsGetCarlaSettings (const UObject *WorldContextObject)
 
static UCarlaEpisodeGetCurrentEpisode (const UObject *WorldContextObject)
 
static UCarlaGameInstanceGetGameInstance (const UObject *WorldContextObject)
 
static ACarlaGameModeBaseGetGameMode (const UObject *WorldContextObject)
 
static ALargeMapManagerGetLargeMapManager (const UObject *WorldContextObject)
 
static ACarlaRecorderGetRecorder (const UObject *WorldContextObject)
 
static CarlaReplayerGetReplayer (const UObject *WorldContextObject)
 

Detailed Description

Definition at line 24 of file CarlaStatics.h.

Member Function Documentation

◆ GetAllMapNames()

TArray< FString > UCarlaStatics::GetAllMapNames ( )
static

Definition at line 12 of file CarlaStatics.cpp.

References carla::client::detail::Get().

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCarlaSettings()

UCarlaSettings * UCarlaStatics::GetCarlaSettings ( const UObject WorldContextObject)
inlinestatic

Definition at line 74 of file CarlaStatics.h.

References GetGameInstance().

Referenced by SceneCaptureSensor_local_ns::GetQualitySettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCurrentEpisode()

UCarlaEpisode * UCarlaStatics::GetCurrentEpisode ( const UObject WorldContextObject)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameInstance()

UCarlaGameInstance * UCarlaStatics::GetGameInstance ( const UObject WorldContextObject)
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().

+ Here is the caller graph for this function:

◆ GetGameMode()

ACarlaGameModeBase * UCarlaStatics::GetGameMode ( const UObject WorldContextObject)
inlinestatic

◆ GetLargeMapManager()

ALargeMapManager * UCarlaStatics::GetLargeMapManager ( const UObject WorldContextObject)
inlinestatic

◆ GetRecorder()

ACarlaRecorder * UCarlaStatics::GetRecorder ( const UObject WorldContextObject)
inlinestatic

Definition at line 80 of file CarlaStatics.h.

References GetCurrentEpisode().

Referenced by ATrafficLightBase::AddTimeToRecorder(), and ACarlaWheeledVehicle::ApplyVehiclePhysicsControl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetReplayer()

CarlaReplayer * UCarlaStatics::GetReplayer ( const UObject WorldContextObject)
inlinestatic

Definition at line 90 of file CarlaStatics.h.

References GetCurrentEpisode().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: