25# ifdef COMPILING_DLL_SimulatedRealityHandTrackers
26# define DIMENCOSR_API __declspec(dllexport)
28# define DIMENCOSR_API __declspec(dllimport)
Interface for listening to SR_handEvent updates.
Definition: handposelistener.h:21
Stream of SR_handEvent objects.
Definition: handeventstream.h:36
Interface for listening to SR_handPose updates.
Definition: handposelistener.h:39
Stream of SR_handPose objects.
Definition: handposestream.h:36
Sense class which provides hand tracking functionality to the SR system.
Definition: handtracker.h:46
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:112
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:94
static HandTracker * create(SRContext &context)
Creates a functional HandTracker instance.
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:80
Class of objects dealing with Streams of data.
Definition: sense.h:42
@ CreateHand
Definition: handevent.h:16
@ DestroyHand
Definition: handevent.h:17
#define DIMENCOSR_API
Definition: handtracker.h:31
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25
C-compatible struct notifying the listener that the state of a hand has changed.
Definition: handevent.h:28
uint64_t sender
SR::HandTracker* Is valid while the event is being handled.
Definition: handevent.h:34
uint64_t handId
Hand identifier.
Definition: handevent.h:31
SR_handEventType eventType
Type of hand event.
Definition: handevent.h:33