Low-Level C++ SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtTrackingCalibration Class Reference

Calibration status/result observer. More...

#include <WeArtTrackingCalibration.h>

Inheritance diagram for WeArtTrackingCalibration:
[legend]

Public Member Functions

 WeArtTrackingCalibration ()
 
HandSide getCurrentHand ()
 
CalibrationStatus getStatus ()
 
bool getResult ()
 
void AddStatusCallback (std::function< void(HandSide, CalibrationStatus)> callback)
 Adds a callback for calibration status update.
 
void AddResultCallback (std::function< void(HandSide, bool)> callback)
 Adds a callback for calibration result.
 
- Public Member Functions inherited from WeArtMessageListener
 WeArtMessageListener (std::set< std::string > ids)
 Basic message listener constructor.
 
bool accept (std::string id)
 Tells if a given ID can be processed by the listener.
 
virtual void OnMessageReceived (WeArtMessage *message)=0
 Callback called when an accepted message is received.
 

Additional Inherited Members

- Protected Attributes inherited from WeArtMessageListener
std::set< std::string > acceptedIds
 

Detailed Description

Calibration status/result observer.

Constructor & Destructor Documentation

◆ WeArtTrackingCalibration()

WeArtTrackingCalibration::WeArtTrackingCalibration ( )

Member Function Documentation

◆ AddResultCallback()

void WeArtTrackingCalibration::AddResultCallback ( std::function< void(HandSide, bool)>  callback)

Adds a callback for calibration result.

Parameters
callbackCallback called when a calibration result is received

◆ AddStatusCallback()

void WeArtTrackingCalibration::AddStatusCallback ( std::function< void(HandSide, CalibrationStatus)>  callback)

Adds a callback for calibration status update.

Parameters
callbackCallback called on calibration status update

◆ getCurrentHand()

HandSide WeArtTrackingCalibration::getCurrentHand ( )
inline

◆ getResult()

bool WeArtTrackingCalibration::getResult ( )
inline

◆ getStatus()

CalibrationStatus WeArtTrackingCalibration::getStatus ( )
inline

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