Agrarsense
AgrarsenseStatics.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "Kismet/GameplayStatics.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
10
11#include "AgrarsenseStatics.generated.h"
12
18class ALidarManager;
19class USensorManager;
20class UROSHandler;
21class ASpectator;
22class AWeather;
23
24class UROSIntegrationGameInstance;
25
30UCLASS()
31class AGRARSENSE_API UAgrarsenseStatics : public UBlueprintFunctionLibrary
32{
33 GENERATED_BODY()
34
35public:
36
41 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
42 static AAgrarsenseGameModeBase* GetGameMode(const UObject* WorldContextObject);
43
48 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
49 static UAgrarsenseGameInstance* GetGameInstance(const UObject* WorldContextObject);
50
55 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
56 static UROSIntegrationGameInstance* GetROSGameInstance(const UObject* WorldContextObject);
57
62 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
63 static ALidarManager* GetLidarManager(const UObject* WorldContextObject);
64
69 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
70 static UROSHandler* GetROSHandle(const UObject* WorldContextObject);
71
76 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
77 static AInstancedRenderer* GetInstancedRenderer(const UObject* WorldContextObject);
78
83 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
84 static AWeather* GetWeatherActor(const UObject* WorldContextObject);
85
90 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
91 static ASpectator* GetSpectator(const UObject* WorldContextObject);
92
97 UFUNCTION(BlueprintPure, Category = "Agrarsense", meta = (WorldContext = "WorldContextObject"))
98 static ASimulationLevelManager* GetSimulationLevelManager(const UObject* WorldContextObject);
99
104 UFUNCTION(BlueprintCallable, Category = "Agrarsense")
105 static UWorld* GetWorldStatic();
106
111 UFUNCTION(BlueprintPure, Category = "Agrarsense")
112 static USensorManager* GetSensorManager();
113
118 UFUNCTION(BlueprintPure, Category = "Agrarsense")
119 static UAgrarsenseSettings* GetAgrarsenseSettings();
120
121};