Unreal SDK  v1.3.0
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 ()
 
bool GetIsAutoCalibrationOn ()
 
bool GetIsAutoRawDataOn ()
 
void RequestMiddlewareStatus ()
 
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
 
AWeArtCalibrationUXCalibrationUX
 
AWeArtStatusTrackerStatusTracker
 
TArray< UWeArtThimbleTrackingObject * > thimbleTrackingObjects
 
TArray< UWeArtThimbleSensorObject * > thimbleSensorObjects
 

Protected Member Functions

void Tick (float DeltaTime) override
 
bool IsTickable () const override
 
bool IsTickableInEditor () const override
 
bool IsTickableWhenPaused () const override
 
TStatId GetStatId () const override
 
UWorld * GetWorld () const override
 

Protected Attributes

int ClientPort
 
bool DebugMessages
 
bool ControllerAutoStart
 
bool CalibrationAutoStart
 
bool RawDataAutoStart
 
bool initialized = false
 
bool foundTrackingCalibration = false
 
bool foundCalibrationUX = false
 
bool foundStatusTracker = 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

◆ GetIsAutoCalibrationOn()

bool UWeArtController::GetIsAutoCalibrationOn ( )

◆ GetIsAutoRawDataOn()

bool UWeArtController::GetIsAutoRawDataOn ( )

◆ GetStatId()

TStatId UWeArtController::GetStatId ( ) const
overrideprotected

◆ GetWorld()

UWorld * UWeArtController::GetWorld ( ) const
overrideprotected

◆ HandleReceivedMessage()

void UWeArtController::HandleReceivedMessage ( FString &  message)

◆ Initialize()

void UWeArtController::Initialize ( FSubsystemCollectionBase &  Collection)
overridevirtual

◆ IsTickable()

bool UWeArtController::IsTickable ( ) const
overrideprotected

◆ IsTickableInEditor()

bool UWeArtController::IsTickableInEditor ( ) const
overrideprotected

◆ IsTickableWhenPaused()

bool UWeArtController::IsTickableWhenPaused ( ) const
overrideprotected

◆ 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)

◆ RequestMiddlewareStatus()

void UWeArtController::RequestMiddlewareStatus ( )

◆ ScheduleController()

void UWeArtController::ScheduleController ( )

◆ SendMessage()

void UWeArtController::SendMessage ( WeArtMessage message)

◆ StartCalibration()

void UWeArtController::StartCalibration ( )

◆ StopCalibration()

void UWeArtController::StopCalibration ( )

◆ StopConnection()

void UWeArtController::StopConnection ( )

◆ Tick()

void UWeArtController::Tick ( float  DeltaTime)
overrideprotected

◆ UnpauseController()

void UWeArtController::UnpauseController ( )

Member Data Documentation

◆ CalibrationAutoStart

bool UWeArtController::CalibrationAutoStart
protected

◆ CalibrationUX

AWeArtCalibrationUX* UWeArtController::CalibrationUX

◆ ClientPort

int UWeArtController::ClientPort
protected

◆ ControllerAutoStart

bool UWeArtController::ControllerAutoStart
protected

◆ DebugMessages

bool UWeArtController::DebugMessages
protected

◆ foundCalibrationUX

bool UWeArtController::foundCalibrationUX = false
protected

◆ foundStatusTracker

bool UWeArtController::foundStatusTracker = false
protected

◆ foundTrackingCalibration

bool UWeArtController::foundTrackingCalibration = false
protected

◆ initialized

bool UWeArtController::initialized = 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

◆ RawDataAutoStart

bool UWeArtController::RawDataAutoStart
protected

◆ socket

FSocket* UWeArtController::socket
protected

◆ StatusTracker

AWeArtStatusTracker* UWeArtController::StatusTracker

◆ thimbleSensorObjects

TArray<UWeArtThimbleSensorObject*> UWeArtController::thimbleSensorObjects

◆ 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: