Agrarsense
|
#include <AgrarsenseStatics.h>
Static Public Member Functions | |
static AAgrarsenseGameModeBase * | GetGameMode (const UObject *WorldContextObject) |
static UAgrarsenseGameInstance * | GetGameInstance (const UObject *WorldContextObject) |
static UROSIntegrationGameInstance * | GetROSGameInstance (const UObject *WorldContextObject) |
static ALidarManager * | GetLidarManager (const UObject *WorldContextObject) |
static UROSHandler * | GetROSHandle (const UObject *WorldContextObject) |
static AInstancedRenderer * | GetInstancedRenderer (const UObject *WorldContextObject) |
static AWeather * | GetWeatherActor (const UObject *WorldContextObject) |
static ASpectator * | GetSpectator (const UObject *WorldContextObject) |
static ASimulationLevelManager * | GetSimulationLevelManager (const UObject *WorldContextObject) |
static UWorld * | GetWorldStatic () |
static USensorManager * | GetSensorManager () |
static UAgrarsenseSettings * | GetAgrarsenseSettings () |
The UAgrarsenseStatics class is a utility blueprint function library that provides static methods for retrieving various simulation related objects and instances in the Agrarsense simulator.
Definition at line 31 of file AgrarsenseStatics.h.
|
static |
Get UAgrarsenseSettings pointer.
Definition at line 93 of file AgrarsenseStatics.cpp.
References UAgrarsenseSettings::GetAgrarsenseSettings().
Referenced by AInstancedRenderer::BeginPlay(), AInstancedRenderer::EndPlay(), and UROSCommands::GetSettings().
|
static |
Get UAgrarsenseGameInstance pointer.
Definition at line 31 of file AgrarsenseStatics.cpp.
|
static |
Get AAgrarsenseGameModeBase pointer.
Definition at line 26 of file AgrarsenseStatics.cpp.
Referenced by GetInstancedRenderer(), GetLidarManager(), GetROSHandle(), GetSimulationLevelManager(), GetSpectator(), and GetWeatherActor().
|
static |
Get AInstancedRenderer pointer.
Definition at line 53 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetInstancedRenderer().
Referenced by AInstancedActor::AddToInstancedRendering(), AInstancedActor::RemoveFromInstancedRendering(), UAgrarsenseSettings::SetInstancedRenderingVisibility(), AInstancedActor::SetUpdateTransformAutomatically(), UAgrarsenseConsoleCommands::ToggleInstancedRendering(), and AInstancedActor::UpdateTransformPosition().
|
static |
Get ALidarManager pointer.
Definition at line 41 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetLidarManager().
Referenced by ALidar::BeginPlay(), ALidar::EndPlay(), and UROSCommands::HandleSetSaveCombinedPointcloudToDisk().
|
static |
Get UROSIntegrationGameInstance pointer.
Definition at line 36 of file AgrarsenseStatics.cpp.
Referenced by ASensor::BeginPlay(), UROSCommands::SetupROSCommandTopic(), and UInfoTopic::SetupROSInfoTopic().
|
static |
Get UROSHandler pointer.
Definition at line 47 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetROSHandle().
Referenced by ASensor::BeginPlay(), AWeather::BeginPlay(), ASensor::EndPlay(), AWeather::EndPlay(), UROSCommands::Init(), UAgrarsenseGameInstance::ROSBridgeConnected(), UAgrarsenseGameInstance::ROSBridgeDisconnected(), and UInfoTopic::Setup().
|
static |
Get USensorManager* pointer.
Definition at line 88 of file AgrarsenseStatics.cpp.
References USensorManager::Get().
|
static |
Get ASimulationLevelManager* pointer.
Definition at line 71 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetSimulationLevelManager().
Referenced by USimulatorJsonParser::SpawnSensorWorld(), and USimulatorJsonParser::TeleportSpectatorOrFollowActorIfField().
|
static |
Get ASpectator pointer.
Definition at line 65 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetSpectator().
Referenced by USimulatorJsonParser::AttachActorToSpectatorCamera(), ASimulationLevelManager::CeaseManualControlOfVehicle(), UROSCommands::HandleTeleportSpectator(), UAgrarsenseSettings::SetShowSpectatorRainAndSnowfall(), UAgrarsenseSettings::SetSpectatorMaxSpeed(), and USimulatorJsonParser::TeleportSpectatorOrFollowActorIfField().
|
static |
Get AWeather pointer.
Definition at line 59 of file AgrarsenseStatics.cpp.
References GetGameMode(), and AAgrarsenseGameModeBase::GetWeatherActor().
Referenced by AInstancedRenderer::BeginPlay(), ALidar::BeginPlay(), USimulatorJsonParser::ChangeWeather(), AInstancedRenderer::EndPlay(), ALidar::EndPlay(), and UROSCommands::HandleExportWeather().
|
static |
Get UWorld* pointer from static class. Only works in runtime.
Definition at line 77 of file AgrarsenseStatics.cpp.