20# ifdef COMPILING_DLL_SimulatedRealityHandTrackers
21# define DIMENCOSR_API __declspec(dllexport)
23# define DIMENCOSR_API __declspec(dllimport)
Interface for listening to SR_handEvent updates.
Definition: handposelistener.h:16
Stream of SR_handEvent objects.
Definition: handeventstream.h:31
Interface for listening to SR_handPose updates.
Definition: handposelistener.h:34
Stream of SR_handPose objects.
Definition: handposestream.h:31
Sense class which provides hand tracking functionality to the SR system.
Definition: handtracker.h:41
virtual std::shared_ptr< HandPoseStream > openHandPoseStream(HandPoseListener *listener)=0
Creates a HandPoseStream for listener to be connected to.
static void closeDynamicHandPoseStream(SR_handEvent destroyEvent, HandPoseListener *listener)
Closes a specific HandPoseStream referenced by destroyEvent.
Definition: handtracker.h:107
virtual std::shared_ptr< HandEventStream > openHandEventStream(HandEventListener *listener)=0
Creates a HandEventStream for listener to be connected to.
virtual void streamClosed(HandPoseStream *stream)=0
Closes a specific HandPoseStream.
virtual std::shared_ptr< HandPoseStream > openHandPoseStream(HandPoseListener *listener, uint64_t handIdentifier)=0
Creates a HandPoseStream specific for handIdentifier for listener to be connected to.
virtual void streamClosed(HandEventStream *stream)=0
Closes a specific HandEventStream.
static std::shared_ptr< HandPoseStream > openDynamicHandPoseStream(SR_handEvent createEvent, HandPoseListener *listener)
Creates a HandPoseStream specific for createEvent for listener to be connected to.
Definition: handtracker.h:89
static HandTracker * create(SRContext &context)
Creates a functional HandTracker instance.
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:75
Class of objects dealing with Streams of data.
Definition: sense.h:37
@ CreateHand
Definition: handevent.h:11
@ DestroyHand
Definition: handevent.h:12
#define DIMENCOSR_API
Definition: handtracker.h:26
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:20
C-compatible struct notifying the listener that the state of a hand has changed.
Definition: handevent.h:23
uint64_t sender
SR::HandTracker* Is valid while the event is being handled.
Definition: handevent.h:29
uint64_t handId
Hand identifier.
Definition: handevent.h:26
SR_handEventType eventType
Type of hand event.
Definition: handevent.h:28