|
Public Types inherited from HandTrackingClient::HandTrackingMessage |
| enum | MessageType {
WELCOME = 0,
USER = 100,
CALIBRATION = 101,
POSE = 200,
PRESSED = 300,
DRAGGED = 301,
RELEASED = 302,
MOVED = 303,
SIMULTANEOUSLY_PRESSED = 400,
INDIVIDUALLY_PRESSED = 401,
SIMULTANEOUSLY_RELEASED = 402,
INDIVIDUALLY_RELEASED = 403,
DRAGGED_BIMANUAL = 404,
POINT = 500,
INVALID_DATA = 10000
} |
| |
Static Public Member Functions inherited from HandTrackingClient::HandTrackingMessage |
|
static const char * | messageTypeToString (MessageType m) |
| | Convert from a MessageType to its string representation; used for serialization.
|
| |
|
static MessageType | stringToMessageType (const std::string &str) |
| | Convert from a string to a MessageType; used in deserialization.
|
| |
| static HandTrackingMessage * | deserialize (const std::string &data) |
| | Given a line of text sent over the network connection, converts it to a valid hand message. More...
|
| |
Protected Member Functions inherited from HandTrackingClient::HandTrackingMessage |
| | HandTrackingMessage () |
| |
A message sent upon connecting to the server, indicating the server and protocol version.