Unreal SDK  v1.1
Loading...
Searching...
No Matches
UWeArtController Class Reference

Weart controller, used to connect to the Weart middleware, perform operations and receive messages. More...

#include <WeArtController.h>

Inheritance diagram for UWeArtController:
[legend]

Public Member Functions

 UWeArtController ()
 
 ~UWeArtController ()
 
virtual void Initialize (FSubsystemCollectionBase &Collection) override
 
virtual void Deinitialize () override
 
void PauseController ()
 
void UnpauseController ()
 
void StartCalibration ()
 
void StopCalibration ()
 
void ScheduleController ()
 
void SendMessage (WeArtMessage *message)
 
bool ReceiveMessages (std::vector< WeArtMessage * > &messages)
 
void OnMessageReceived (WeArtMessage *msg)
 
void StopConnection ()
 
void LogMessage (WeArtMessageType type, FString &message)
 
void LogError (WeArtError error, FString &message)
 
void HandleReceivedMessage (FString &message)
 

Public Attributes

AWeArtTrackingCalibrationTrackingCalibration
 
TArray< UWeArtThimbleTrackingObject * > thimbleTrackingObjects
 

Protected Attributes

int ClientPort
 
bool DebugMessages
 
bool ControllerAutoStart
 
bool CalibrationAutoStart
 
bool foundTrackingCalibration = false
 
bool isCancellationRequested = false
 
FSocket * socket
 
WeArtMessageSerializer messageSerializer
 
uint8 * messageReceivedBuffer [1024]
 
std::string trailingText
 
bool IsConnected = false
 
bool IsPaused = false
 

Detailed Description

Weart controller, used to connect to the Weart middleware, perform operations and receive messages.

Constructor & Destructor Documentation

◆ UWeArtController()

UWeArtController::UWeArtController ( )

◆ ~UWeArtController()

UWeArtController::~UWeArtController ( )

Member Function Documentation

◆ Deinitialize()

void UWeArtController::Deinitialize ( )
overridevirtual

◆ HandleReceivedMessage()

void UWeArtController::HandleReceivedMessage ( FString &  message)

◆ Initialize()

void UWeArtController::Initialize ( FSubsystemCollectionBase &  Collection)
overridevirtual

◆ LogError()

void UWeArtController::LogError ( WeArtError  error,
FString &  message 
)

◆ LogMessage()

void UWeArtController::LogMessage ( WeArtMessageType  type,
FString &  message 
)

◆ OnMessageReceived()

void UWeArtController::OnMessageReceived ( WeArtMessage msg)

◆ PauseController()

void UWeArtController::PauseController ( )

◆ ReceiveMessages()

bool UWeArtController::ReceiveMessages ( std::vector< WeArtMessage * > &  messages)

◆ ScheduleController()

void UWeArtController::ScheduleController ( )

◆ SendMessage()

void UWeArtController::SendMessage ( WeArtMessage message)

◆ StartCalibration()

void UWeArtController::StartCalibration ( )

◆ StopCalibration()

void UWeArtController::StopCalibration ( )

◆ StopConnection()

void UWeArtController::StopConnection ( )

◆ UnpauseController()

void UWeArtController::UnpauseController ( )

Member Data Documentation

◆ CalibrationAutoStart

bool UWeArtController::CalibrationAutoStart
protected

◆ ClientPort

int UWeArtController::ClientPort
protected

◆ ControllerAutoStart

bool UWeArtController::ControllerAutoStart
protected

◆ DebugMessages

bool UWeArtController::DebugMessages
protected

◆ foundTrackingCalibration

bool UWeArtController::foundTrackingCalibration = false
protected

◆ isCancellationRequested

bool UWeArtController::isCancellationRequested = false
protected

◆ IsConnected

bool UWeArtController::IsConnected = false
protected

◆ IsPaused

bool UWeArtController::IsPaused = false
protected

◆ messageReceivedBuffer

uint8* UWeArtController::messageReceivedBuffer[1024]
protected

◆ messageSerializer

WeArtMessageSerializer UWeArtController::messageSerializer
protected

◆ socket

FSocket* UWeArtController::socket
protected

◆ thimbleTrackingObjects

TArray<UWeArtThimbleTrackingObject*> UWeArtController::thimbleTrackingObjects

◆ TrackingCalibration

AWeArtTrackingCalibration* UWeArtController::TrackingCalibration

◆ trailingText

std::string UWeArtController::trailingText
protected

The documentation for this class was generated from the following files: