API referenceVetraGlove ProC++

Bone configuration data

Data models

Current version · 2.0.0

Options, session information, installation results, and enums for personal bone profiles. See Bone configuration for operations.

BoneConfigCreationResult

Mode-dependent result of the unified creation entry.

Type

using BoneConfigCreationResult =
    std::variant<BoneConfigInstallResult, BoneConfigSession>;

auto_terminal holds BoneConfigInstallResult. external holds a movable BoneConfigSession. Use std::get for the selected alternative.

BoneConfigSessionOptions

Options for online creation and terminal preparation. Brace initialization takes side (required), then optional operator_id and service_origin, in that order.

qnbot::BoneConfigSessionOptions options{qnbot::Side::right, "operator-01"};
FieldTypeDefault and description
sideSideRequired; Side::left / Side::right
operator_idstd::string"default"; non-empty wearer identifier
service_originstd::stringSDK default measurement service; normally leave unchanged

BoneConfigSessionInfo

Read-only session information.

FieldTypeDescription
session_idstd::stringSession identifier
phone_urlstd::stringTemporary phone measurement link for QR or UI presentation; do not log it
operator_idstd::stringLocal wearer identifier
sideSideHand being measured
expires_atstd::stringSession expiry time
poll_interval_secondsstd::uint64_tMinimum polling interval in seconds
remaining_secondsstd::uint64_tRemaining seconds when read; not a live countdown

BoneConfigInstallResult

Result of a successful local save.

FieldTypeDescription
pathstd::stringSaved local file path
operator_idstd::stringWearer identifier used for installation
sideSideInstalled hand side
cleanup_confirmedboolWhether remote cleanup was confirmed; false still means the file was saved

BoneConfigSessionStatus

Measurement status returned by a single poll().

ValueMeaning
pendingWaiting for phone measurement
completedMeasurement complete; call install() to save locally

BoneConfigOverwritePolicy

Overwrite policy for saving measurement results and exporting saved profiles.

ValueMeaning
denyReject an existing destination, the default for export
replace_existingDefault for saving measurements, also available for explicit export replacement