Unreal SDK
v1.3.0
|
Weart controller, used to connect to the Weart middleware, perform operations and receive messages. More...
#include <WeArtController.h>
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 | |
AWeArtTrackingCalibration * | TrackingCalibration |
AWeArtCalibrationUX * | CalibrationUX |
AWeArtStatusTracker * | StatusTracker |
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 |
Weart controller, used to connect to the Weart middleware, perform operations and receive messages.
UWeArtController::UWeArtController | ( | ) |
UWeArtController::~UWeArtController | ( | ) |
|
overridevirtual |
bool UWeArtController::GetIsAutoCalibrationOn | ( | ) |
bool UWeArtController::GetIsAutoRawDataOn | ( | ) |
|
overrideprotected |
|
overrideprotected |
void UWeArtController::HandleReceivedMessage | ( | FString & | message | ) |
|
overridevirtual |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
void UWeArtController::LogError | ( | WeArtError | error, |
FString & | message | ||
) |
void UWeArtController::LogMessage | ( | WeArtMessageType | type, |
FString & | message | ||
) |
void UWeArtController::OnMessageReceived | ( | WeArtMessage * | msg | ) |
void UWeArtController::PauseController | ( | ) |
bool UWeArtController::ReceiveMessages | ( | std::vector< WeArtMessage * > & | messages | ) |
void UWeArtController::RequestMiddlewareStatus | ( | ) |
void UWeArtController::ScheduleController | ( | ) |
void UWeArtController::SendMessage | ( | WeArtMessage * | message | ) |
void UWeArtController::StartCalibration | ( | ) |
void UWeArtController::StopCalibration | ( | ) |
void UWeArtController::StopConnection | ( | ) |
|
overrideprotected |
void UWeArtController::UnpauseController | ( | ) |
|
protected |
AWeArtCalibrationUX* UWeArtController::CalibrationUX |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
AWeArtStatusTracker* UWeArtController::StatusTracker |
TArray<UWeArtThimbleSensorObject*> UWeArtController::thimbleSensorObjects |
TArray<UWeArtThimbleTrackingObject*> UWeArtController::thimbleTrackingObjects |
AWeArtTrackingCalibration* UWeArtController::TrackingCalibration |
|
protected |