32 void OnMessageReceived(WeArtMessage* message)
override;
39 std::vector<std::function<void(
HandSide,
bool)>> resultCallbacks;
CalibrationStatus
Definition: WeArtCommon.h:55
HandSide
Definition: WeArtCommon.h:17
Message Listener basic interface.
Definition: WeArtMessageListener.h:9
Calibration status/result observer.
Definition: WeArtTrackingCalibration.h:7
void AddStatusCallback(std::function< void(HandSide, CalibrationStatus)> callback)
Adds a callback for calibration status update.
Definition: WeArtTrackingCalibration.cpp:6
void AddResultCallback(std::function< void(HandSide, bool)> callback)
Adds a callback for calibration result.
Definition: WeArtTrackingCalibration.cpp:10
CalibrationStatus getStatus()
Definition: WeArtTrackingCalibration.h:15
HandSide getCurrentHand()
Definition: WeArtTrackingCalibration.h:11
WeArtTrackingCalibration()
Definition: WeArtTrackingCalibration.cpp:3
bool getResult()
Definition: WeArtTrackingCalibration.h:19