Agrarsense
|
#include <AgrarsenseGameInstance.h>
Public Member Functions | |
virtual void | Init () override |
virtual void | BeginDestroy () override |
Public Attributes | |
bool | DefaultConnectToROS = true |
FString | DefaultROSHost = "127.0.0.1" |
bool | DefaultAsyncROSConnection = true |
int | DefaultROSPort = 9090 |
int | DefaultROSMaxRetries = 3 |
Private Member Functions | |
virtual void | ROSBridgeConnected () override |
virtual void | ROSBridgeDisconnected () override |
void | ParseLaunchArguments (bool &ConnectToROS, bool &AsyncROSConnection, FString &Host, int &Port, int &MaxRetries) |
Definition at line 14 of file AgrarsenseGameInstance.h.
|
overridevirtual |
Definition at line 35 of file AgrarsenseGameInstance.cpp.
|
overridevirtual |
Definition at line 15 of file AgrarsenseGameInstance.cpp.
References DefaultAsyncROSConnection, DefaultConnectToROS, DefaultROSHost, DefaultROSMaxRetries, DefaultROSPort, and ParseLaunchArguments().
|
private |
Parse launch arguments related to ROS setup. Packaged builds only.
Definition at line 60 of file AgrarsenseGameInstance.cpp.
Referenced by Init().
|
overrideprivatevirtual |
Called from ROSIntegrationGameInstance.h when ROS Bridge is connected.
Definition at line 40 of file AgrarsenseGameInstance.cpp.
References Connected, UAgrarsenseStatics::GetROSHandle(), SimulatorLog::Log(), and UROSHandler::OnROSStateChanged.
|
overrideprivatevirtual |
Called from ROSIntegrationGameInstance.h when ROS Bridge is disconnected.
Definition at line 50 of file AgrarsenseGameInstance.cpp.
References Disconnected, UAgrarsenseStatics::GetROSHandle(), SimulatorLog::Log(), and UROSHandler::OnROSStateChanged.
bool UAgrarsenseGameInstance::DefaultAsyncROSConnection = true |
Definition at line 31 of file AgrarsenseGameInstance.h.
Referenced by Init().
bool UAgrarsenseGameInstance::DefaultConnectToROS = true |
Definition at line 25 of file AgrarsenseGameInstance.h.
Referenced by Init().
FString UAgrarsenseGameInstance::DefaultROSHost = "127.0.0.1" |
Definition at line 28 of file AgrarsenseGameInstance.h.
Referenced by Init().
int UAgrarsenseGameInstance::DefaultROSMaxRetries = 3 |
Definition at line 37 of file AgrarsenseGameInstance.h.
Referenced by Init().
int UAgrarsenseGameInstance::DefaultROSPort = 9090 |
Definition at line 34 of file AgrarsenseGameInstance.h.
Referenced by Init().