|
CARLA
|
The game instance contains elements that must be kept alive in between levels. More...
#include <CarlaGameInstance.h>
Inheritance diagram for UCarlaGameInstance:Public Member Functions | |
| FCarlaEngine * | GetCarlaEngine () |
| UCarlaEpisode * | GetCarlaEpisode () |
| UCarlaSettings & | GetCarlaSettings () |
| UCarlaSettings * | GetCARLASettings () |
| const UCarlaSettings & | GetCarlaSettings () const |
| int32 | GetCurrentMapLayer () const |
| const carla::rpc::OpendriveGenerationParameters & | GetOpendriveGenerationParameters () const |
| FCarlaServer & | GetServer () |
| const FCarlaServer & | GetServer () const |
| void | NotifyBeginEpisode (UCarlaEpisode &Episode) |
| void | NotifyEndEpisode () |
| void | NotifyInitGame () |
| void | SetMapLayer (int32 MapLayer) |
| void | SetOpendriveGenerationParameters (const carla::rpc::OpendriveGenerationParameters &Parameters) |
| UCarlaGameInstance () | |
| ~UCarlaGameInstance () | |
Private Attributes | |
| FString | _MapPath |
| FCarlaEngine | CarlaEngine |
| UCarlaSettings * | CarlaSettings = nullptr |
| int32 | CurrentMapLayer = static_cast<int32>(carla::rpc::MapLayer::All) |
| carla::rpc::OpendriveGenerationParameters | GenerationParameters |
| ACarlaRecorder * | Recorder = nullptr |
The game instance contains elements that must be kept alive in between levels.
It is instantiate once per game.
Definition at line 29 of file CarlaGameInstance.h.
| UCarlaGameInstance::UCarlaGameInstance | ( | ) |
Definition at line 11 of file CarlaGameInstance.cpp.
References CarlaEngine, CarlaSettings, UCarlaSettings::LoadSettings(), UCarlaSettings::LogSettings(), Recorder, and FCarlaEngine::SetRecorder().
|
default |
|
inline |
Definition at line 113 of file CarlaGameInstance.h.
Referenced by ACarlaGameModeBase::InitGame(), and UCarlaEpisode::LoadNewEpisode().
|
inline |
Definition at line 59 of file CarlaGameInstance.h.
Referenced by ASensorFactory::SpawnActor(), and ATriggerFactory::SpawnActor().
|
inline |
Definition at line 39 of file CarlaGameInstance.h.
|
inline |
Definition at line 53 of file CarlaGameInstance.h.
|
inline |
Definition at line 45 of file CarlaGameInstance.h.
|
inline |
Definition at line 108 of file CarlaGameInstance.h.
Referenced by ACarlaGameModeBase::BeginPlay().
|
inline |
Definition at line 96 of file CarlaGameInstance.h.
Referenced by AOpenDriveGenerator::GenerateCrosswalkMesh(), AOpenDriveGenerator::GenerateGroundPlane(), AOpenDriveGenerator::GenerateLaneMarkings(), AOpenDriveGenerator::GenerateRoadMesh(), and UCarlaEpisode::LoadNewEpisode().
|
inline |
Definition at line 84 of file CarlaGameInstance.h.
|
inline |
Definition at line 79 of file CarlaGameInstance.h.
Referenced by ASensorFactory::SpawnActor().
|
inline |
Definition at line 69 of file CarlaGameInstance.h.
Referenced by ACarlaGameModeBase::BeginPlay().
|
inline |
Definition at line 74 of file CarlaGameInstance.h.
Referenced by ACarlaGameModeBase::EndPlay().
|
inline |
Definition at line 64 of file CarlaGameInstance.h.
Referenced by ACarlaGameModeBase::InitGame().
|
inline |
Definition at line 102 of file CarlaGameInstance.h.
Referenced by FCarlaServer::FPimpl::BindActions().
|
inline |
Definition at line 89 of file CarlaGameInstance.h.
Referenced by FCarlaEngine_PrepareGeneratedWorld(), and UCarlaEpisode::LoadNewOpendriveEpisode().
|
private |
Definition at line 134 of file CarlaGameInstance.h.
|
private |
Definition at line 123 of file CarlaGameInstance.h.
Referenced by UCarlaGameInstance().
|
private |
Definition at line 121 of file CarlaGameInstance.h.
Referenced by UCarlaGameInstance().
|
private |
Definition at line 131 of file CarlaGameInstance.h.
|
private |
Definition at line 128 of file CarlaGameInstance.h.
|
private |
Definition at line 126 of file CarlaGameInstance.h.
Referenced by UCarlaGameInstance().