#include <vector>
#include <windows.h>
#include <string>
#include "nlohmann/json.hpp"
Go to the source code of this file.
|
enum class | TrackingType { DEFAULT
, WEART_HAND
} |
|
enum class | HandSide { Left = 1 << 0
, Right = 1 << 1
} |
|
enum | GraspingState { Grabbed = 0
, Released = 1
} |
|
enum | CalibrationStatus { IDLE = 0
, Calibrating = 1
, Running = 2
} |
|
enum class | MiddlewareStatus {
DISCONNECTED
, IDLE
, STARTING
, RUNNING
,
STOPPING
, UPLOADING_TEXTURES
, CONNECTING_DEVICE
, CALIBRATION
} |
|
|
| NLOHMANN_JSON_SERIALIZE_ENUM (HandSide, { {HandSide::Left, "LEFT"}, {HandSide::Right, "RIGHT"}, }) enum class ActuationPoint |
|
| NLOHMANN_JSON_SERIALIZE_ENUM (ActuationPoint, { {ActuationPoint::Thumb, "THUMB"}, {ActuationPoint::Index, "INDEX"}, {ActuationPoint::Middle, "MIDDLE"}, {ActuationPoint::Palm, "PALM"}, }) enum HandClosingState |
|
| NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (MiddlewareStatusData, status, version, statusCode, errorDesc, actuationsEnabled, connectedDevices) |
|
| NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (ThimbleStatus, id, connected, statusCode, errorDesc) |
|
| NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (ConnectedDeviceStatus, macAddress, handSide, batteryLevel, charging, thimbles) |
|
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
Collection of constants used throughout the SDK.
◆ CalibrationStatus
Enumerator |
---|
IDLE | |
Calibrating | |
Running | |
◆ GraspingState
Enumerator |
---|
Grabbed | |
Released | |
◆ HandSide
◆ MiddlewareStatus
Enumerator |
---|
DISCONNECTED | |
IDLE | |
STARTING | |
RUNNING | |
STOPPING | |
UPLOADING_TEXTURES | |
CONNECTING_DEVICE | |
CALIBRATION | |
◆ TrackingType
Enumerator |
---|
DEFAULT | Deprecated, contains only closure values.
|
WEART_HAND | Tracking with closures, and abduction value for thumb.
|
◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT() [1/3]
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT |
( |
ConnectedDeviceStatus |
, |
|
|
macAddress |
, |
|
|
handSide |
, |
|
|
batteryLevel |
, |
|
|
charging |
, |
|
|
thimbles |
|
|
) |
| |
◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT() [2/3]
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT |
( |
MiddlewareStatusData |
, |
|
|
status |
, |
|
|
version |
, |
|
|
statusCode |
, |
|
|
errorDesc |
, |
|
|
actuationsEnabled |
, |
|
|
connectedDevices |
|
|
) |
| |
◆ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT() [3/3]
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT |
( |
ThimbleStatus |
, |
|
|
id |
, |
|
|
connected |
, |
|
|
statusCode |
, |
|
|
errorDesc |
|
|
) |
| |
◆ NLOHMANN_JSON_SERIALIZE_ENUM() [1/2]
NLOHMANN_JSON_SERIALIZE_ENUM |
( |
ActuationPoint |
, |
|
|
{ {ActuationPoint::Thumb, "THUMB"}, {ActuationPoint::Index, "INDEX"}, {ActuationPoint::Middle, "MIDDLE"}, {ActuationPoint::Palm, "PALM"}, } |
|
|
) |
| |
◆ NLOHMANN_JSON_SERIALIZE_ENUM() [2/2]