CalibrateResult indicates if the calibration is successful or not.
More...
#include <calibrator.h>
CalibrateResult indicates if the calibration is successful or not.
There are three supported result: SUCCESS, WARNING, FAILURE. An optional string description can be supplied to better assist user figuring out why the calibration fails. This class is used as the return value for calibrate function used by CalibrateProcess.
- Examples:
- user_accelerometer_gestures.cpp, user_accelerometer_poses.cpp, user_accelerometer_walk_detection.cpp, and user_sudden_motion.cpp.
Enumerator |
---|
SUCCESS |
|
WARNING |
|
FAILURE |
|
CalibrateResult::CalibrateResult |
( |
Result |
result | ) |
|
CalibrateResult::CalibrateResult |
( |
Result |
result, |
|
|
string |
message |
|
) |
| |
string CalibrateResult::getMessage |
( |
| ) |
const |
|
inline |
Result CalibrateResult::getResult |
( |
| ) |
const |
|
inline |
string CalibrateResult::getResultString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: