#include <vector>
#include <string>
#include "json.hpp"
Go to the source code of this file.
|
enum | EHandSide { Left = 1 << 0 UMETA(DisplayName = "Left")
, Right = 1 << 1 UMETA(DisplayName = "Right")
} |
|
enum | HandClosingState { Open = 0
, Closing = 1
, Closed = 2
} |
|
enum | GraspingState { Grabbed = 0
, Released = 1
} |
|
enum class | MiddlewareStatus {
DISCONNECTED
, IDLE
, STARTING
, RUNNING
,
STOPPING
, UPLOADING_TEXTURES
, CONNECTING_DEVICE
, CALIBRATION
} |
|
enum class | TextureType : uint8 {
ClickNormal = 0
, ClickSoft = 1
, DoubleClick = 2
, AluminiumFineMeshSlow = 3
,
AluminiumFineMeshFast = 4
, PlasticMeshSlow = 5
, ProfiledAluminiumMeshMedium = 6
, ProfiledAluminiumMeshFast = 7
,
RhombAluminiumMeshMedium = 8
, TextileMeshMedium = 9
, CrushedRock = 10
, VenetianGranite = 11
,
SilverOak = 12
, LaminatedWood = 13
, ProfiledRubberSlow = 14
, VelcroHooks = 15
,
VelcroLoops = 16
, PlasticFoil2 = 17
, Leather = 18
, Cotton1 = 19
,
Aluminium = 20
, DoubleSidedTape = 21
} |
|
|
| ENUM_RANGE_BY_VALUES (EHandSide, EHandSide::Left, EHandSide::Right) |
|
| NLOHMANN_JSON_SERIALIZE_ENUM (EHandSide, { {EHandSide::Left, "LEFT"}, {EHandSide::Right, "RIGHT"}, }) enum EActuationPoint |
|
| ENUM_RANGE_BY_VALUES (EActuationPoint, EActuationPoint::Thumb, EActuationPoint::Index, EActuationPoint::Middle, EActuationPoint::Palm) |
|
| NLOHMANN_JSON_SERIALIZE_ENUM (EActuationPoint, { {EActuationPoint::Thumb, "THUMB"}, {EActuationPoint::Index, "INDEX"}, {EActuationPoint::Middle, "MIDDLE"}, {EActuationPoint::Palm, "PALM"}, }) enum class TrackingType |
|
| NLOHMANN_JSON_SERIALIZE_ENUM (MiddlewareStatus, { {MiddlewareStatus::DISCONNECTED, "DISCONNECTED"}, {MiddlewareStatus::IDLE, "IDLE"}, {MiddlewareStatus::STARTING, "STARTING"}, {MiddlewareStatus::RUNNING, "RUNNING"}, {MiddlewareStatus::STOPPING, "STOPPING"}, {MiddlewareStatus::UPLOADING_TEXTURES, "UPLOADING_TEXTURES"}, {MiddlewareStatus::CONNECTING_DEVICE, "CONNECTING_DEVICE"}, {MiddlewareStatus::CALIBRATION, "CALIBRATION"}, }) struct AccelerometerData |
|
| 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) |
|
◆ EHandSide
◆ GraspingState
Enumerator |
---|
Grabbed | |
Released | |
◆ HandClosingState
Enumerator |
---|
Open | |
Closing | |
Closed | |
◆ MiddlewareStatus
Enumerator |
---|
DISCONNECTED | |
IDLE | |
STARTING | |
RUNNING | |
STOPPING | |
UPLOADING_TEXTURES | |
CONNECTING_DEVICE | |
CALIBRATION | |
◆ TextureType
Enumerator |
---|
ClickNormal | |
ClickSoft | |
DoubleClick | |
AluminiumFineMeshSlow | |
AluminiumFineMeshFast | |
PlasticMeshSlow | |
ProfiledAluminiumMeshMedium | |
ProfiledAluminiumMeshFast | |
RhombAluminiumMeshMedium | |
TextileMeshMedium | |
CrushedRock | |
VenetianGranite | |
SilverOak | |
LaminatedWood | |
ProfiledRubberSlow | |
VelcroHooks | |
VelcroLoops | |
PlasticFoil2 | |
Leather | |
Cotton1 | |
Aluminium | |
DoubleSidedTape | |
◆ ENUM_RANGE_BY_VALUES() [1/2]
◆ ENUM_RANGE_BY_VALUES() [2/2]
◆ 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/3]
< Deprecated, contains only closure values
< Tracking with closures, and abduction value for thumb
◆ NLOHMANN_JSON_SERIALIZE_ENUM() [2/3]
◆ NLOHMANN_JSON_SERIALIZE_ENUM() [3/3]
NLOHMANN_JSON_SERIALIZE_ENUM |
( |
MiddlewareStatus |
, |
|
|
{ {MiddlewareStatus::DISCONNECTED, "DISCONNECTED"}, {MiddlewareStatus::IDLE, "IDLE"}, {MiddlewareStatus::STARTING, "STARTING"}, {MiddlewareStatus::RUNNING, "RUNNING"}, {MiddlewareStatus::STOPPING, "STOPPING"}, {MiddlewareStatus::UPLOADING_TEXTURES, "UPLOADING_TEXTURES"}, {MiddlewareStatus::CONNECTING_DEVICE, "CONNECTING_DEVICE"}, {MiddlewareStatus::CALIBRATION, "CALIBRATION"}, } |
|
|
) |
| |