Sense class which provides gesture analysis functionality to the SR system.
More...
#include <gestureanalyser.h>
Sense class which provides gesture analysis functionality to the SR system.
◆ create()
Creates a functional GestureAnalyser instance.
- Parameters
-
context | is the environment in which created senses are kept track of |
- Returns
- GestureAnalyser* which can provide streams of gesture data
The GestureAnalyser class is abstract and requires a device specific implementation to be used in applications. This function constructs an GestureAnalyser suitable for use in your application on the current device.
◆ openGestureStream()
Creates a GestureStream for listener
to be connected to.
- Parameters
-
listener | will receive gesture updates from now on |
- Returns
- std::shared_ptr<GestureStream> to be used to close the stream correctly when it is no longer required
◆ streamClosed()
virtual void SR::GestureAnalyser::streamClosed |
( |
GestureStream * |
stream | ) |
|
|
pure virtual |
Closes a specific GestureStream.
- Parameters
-
stream | will no longer supply gesture updates |
The documentation for this class was generated from the following file: