10#ifndef HANDTRACKERS_C_H
11#define HANDTRACKERS_C_H
24# ifdef COMPILING_DLL_SimulatedRealityHandTrackers
25# define SRAPI extern "C" __declspec(dllexport)
27# define SRAPI extern "C" __declspec(dllimport)
30# ifdef COMPILING_DLL_SimulatedRealityHandTrackers
31# error Trying to compile SimulatedRealityHandTrackers.dll using a non-C++ compiler! Use a C++ compiler instead!
33# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:15
SRAPI SR_handEventListener createHandEventListener(SR_handTracker handTracker, void(*acceptHandEventCallback)(SR_handEvent))
Create a new callback function to listen to a specific handtracker.
SRAPI void deleteHandPoseListener(SR_handPoseListener handPoseListener)
Cleans up underlying object instances used to facilitate hand pose update callbacks.
SRAPI SR_handPoseListener createHandPoseListener(SR_handTracker handTracker, void(*acceptHandPoseCallback)(SR_handPose))
Create a new callback function to listen to a specific handtracker.
SRAPI SR_handTracker createHandTracker(SRContext context)
Creates a functional HandTracker instance.
SRAPI void deleteHandEventListener(SR_handEventListener handEventListener)
Cleans up underlying object instances used to facilitate hand event update callbacks.
#define SRAPI
Definition: handtrackers_c.h:37
void * SR_handTracker
Definition: handtrackers_c.h:18
void * SR_handPoseListener
Definition: handtrackers_c.h:19
void * SR_handEventListener
Definition: handtrackers_c.h:20
C-compatible struct notifying the listener that the state of a hand has changed.
Definition: handevent.h:28
C-compatible struct containing the pose of a hand.
Definition: handpose.h:124