Agrarsense
|
#include <InfoTopic.h>
Static Public Member Functions | |
static void | SetAllowSendInfo (bool Allow) |
static void | SendMessage (const FString &Message) |
Private Member Functions | |
void | Setup () |
void | SetupROSInfoTopic () |
void | DestroyROSTopic () |
void | ROSBridgeStateChanged (EROSState state) |
Static Private Member Functions | |
static void | Init () |
static void | Destroy () |
Static Private Attributes | |
static UInfoTopic * | Instance = nullptr |
static TWeakObjectPtr< UTopic > | InfoTopic |
static TSharedPtr< ROSMessages::std_msgs::String > | ROSMessage |
static bool | ROSConnected = false |
static bool | AllowInfoTopic = true |
Friends | |
class | AAgrarsenseGameModeBase |
Definition at line 27 of file InfoTopic.h.
|
staticprivate |
Definition at line 33 of file InfoTopic.cpp.
References DestroyROSTopic(), and Instance.
Referenced by AAgrarsenseGameModeBase::EndPlay().
|
private |
Definition at line 75 of file InfoTopic.cpp.
References InfoTopic.
Referenced by Destroy(), and ROSBridgeStateChanged().
|
staticprivate |
Definition at line 24 of file InfoTopic.cpp.
References Instance, and Setup().
Referenced by AAgrarsenseGameModeBase::SpawnNeededActorsBeginPlay().
|
private |
Definition at line 59 of file InfoTopic.cpp.
References Connected, DestroyROSTopic(), Disconnected, ROSConnected, and SetupROSInfoTopic().
Referenced by Setup().
|
static |
Definition at line 129 of file InfoTopic.cpp.
References AllowInfoTopic, InfoTopic, Instance, ROSConnected, ROSMessage, and SetupROSInfoTopic().
Referenced by SimulatorLog::Log(), and UInfoTopicBlueprint::SendInfoMessageToROS().
|
static |
Definition at line 124 of file InfoTopic.cpp.
References AllowInfoTopic.
|
private |
Definition at line 42 of file InfoTopic.cpp.
References UAgrarsenseStatics::GetROSHandle(), Instance, UROSHandler::OnROSStateChanged, ROSBridgeStateChanged(), and SetupROSInfoTopic().
Referenced by Init().
|
private |
Definition at line 91 of file InfoTopic.cpp.
References UAgrarsenseStatics::GetROSGameInstance(), InfoTopic, ROSConnected, and ROSMessage.
Referenced by ROSBridgeStateChanged(), SendMessage(), and Setup().
|
friend |
Definition at line 41 of file InfoTopic.h.
|
staticprivate |
Definition at line 64 of file InfoTopic.h.
Referenced by SendMessage(), and SetAllowSendInfo().
|
staticprivate |
Definition at line 58 of file InfoTopic.h.
Referenced by DestroyROSTopic(), SendMessage(), and SetupROSInfoTopic().
|
staticprivate |
Definition at line 56 of file InfoTopic.h.
Referenced by Destroy(), Init(), SendMessage(), and Setup().
|
staticprivate |
Definition at line 62 of file InfoTopic.h.
Referenced by ROSBridgeStateChanged(), SendMessage(), and SetupROSInfoTopic().
|
staticprivate |
Definition at line 60 of file InfoTopic.h.
Referenced by SendMessage(), and SetupROSInfoTopic().