The abstraction layer between the Interaction Library and the eyetracking data provider.
More...
|
Typedefs for pointers to functions that the adapter will call. They must be implemented in the adapter.
|
typedef void(* | ILAdapter_BeginTransactionCallback) (void *context) |
|
typedef void(* | ILAdapter_CommitTransactionCallback) (void *context) |
|
typedef void(* | ILAdapter_GetStreamTypesProvidedCallback) (const IL_StreamInputType *, unsigned count, void *context) |
|
typedef void(* | ILAdapter_GetStreamCoordinateTransformInfoCallback) (const IL_StreamCoordinateTransformInfo *, unsigned count, void *context) |
|
typedef void(* | ILAdapter_PostGazePointDataCallback) (const IL_GazePointData *, void *context) |
|
typedef void(* | ILAdapter_PostGazeOriginDataCallback) (const IL_GazeOriginData *, void *context) |
|
typedef void(* | ILAdapter_PostPresenceDataCallback) (const IL_PresenceData *, void *context) |
|
typedef void(* | ILAdapter_PostHeadPoseDataCallback) (const IL_HeadPoseData *, void *context) |
|
typedef void(* | ILAdapter_PostResponsiveGazePointDataCallback) (const IL_ResponsiveGazePointData *, void *context) |
|
typedef void(* | ILAdapter_TrackingStatusCallback) (IL_TrackingStatus, void *context) |
|
typedef void(* | ILAdapter_DeviceNotificationCallback) (IL_DeviceNotification, void *context) |
|
typedef void(* | ILAdapter_LoggingCallback) (IL_LoggingLevel level, const char *message, const char *tag1, const char *tag2, const char *formattedMetadata, void *context) |
|
typedef void(* | ILAdapter_ForwardLoggingStatementCallback) (IL_LoggingLevel level, const char *forwardedLoggingStatement, void *context) |
|
|
Typedefs for pointers to functions that the Interaction Library will call. They must be implemented in the adapter.
|
typedef void * | ILAdapter_AdapterContext |
| Pointer to an adapter-specific implementation detail context. More...
|
|
typedef bool(* | ILAdapter_CreateAdapter) (void *createDestroyContext, ILAdapter_AdapterContext *context) |
| Lightweight creation/instantiation of the adapter should happen on this call. All heavy, I/O or IPC operations should be done on ILAdapter_StartAdapter. More...
|
|
typedef void(* | ILAdapter_DestroyAdapter) (void *createDestroyContext, ILAdapter_AdapterContext *context) |
| Lightweight destroy of the adapter should happen on this call. All heavy, I/O or IPC operations needed to destroy the adapter should be done on ILAdapter_StopAdapter. More...
|
|
typedef void(* | ILAdapter_StartAdapter) (ILAdapter_AdapterContext, IL_FieldOfUse fieldOfUse) |
| The adapter implementation should generate IL_TrackingStatus_Ok on ILAdapter_TrackingStatusCallback when invoked. More...
|
|
typedef void(* | ILAdapter_StopAdapter) (ILAdapter_AdapterContext) |
| The adapter implementation should generate IL_TrackingStatus_NotAvailable on ILAdapter_TrackingStatusCallback when invoked. More...
|
|
typedef void(* | ILAdapter_UpdateAdapter) (ILAdapter_AdapterContext) |
| The adapter implementation should here generate calls for gaze point data, gaze origin data, etc., on registered callbacks. Expected to be consistent with what is reported by ILAdapter_GetStreamTypesProvided and ILAdapter_GetStreamTypesProvidedCallback. More...
|
|
typedef bool(* | ILAdapter_WaitForDeviceConnection) (ILAdapter_AdapterContext) |
| The adapter implementation should block until a device connection is available. More...
|
|
typedef bool(* | ILAdapter_WaitForStreamingDataAvailable) (ILAdapter_AdapterContext) |
| The adapter implementation should block until any streaming data is available. More...
|
|
typedef void(* | ILAdapter_GetStreamTypesProvided) (ILAdapter_AdapterContext, ILAdapter_GetStreamTypesProvidedCallback, void *context) |
| The adapter implementation should invoke ILAdapter_GetStreamTypesProvidedCallback. More...
|
|
typedef void(* | ILAdapter_GetStreamCoordinateTransformInfo) (ILAdapter_AdapterContext, ILAdapter_GetStreamCoordinateTransformInfoCallback, void *context) |
| The adapter implementation should invoke ILAdapter_GetStreamCoordinateTransformInfoCallback. The IL_StreamCoordinateTransformInfo struct and its contents will be copied at the receiving end when the ILAdapter_GetStreamCoordinateTransformInfoCallback callback is invoked and does not need to be kept alive afterwards. More...
|
|
|
Typedefs for pointers to callback registration functions that the Interaction Library will call. The adapter implementation should call the registered callbacks in its ILAdapter_UpdateAdapter function.
All invocations of stream callbacks are expected to be surrounded by calls to ILAdapter_BeginTransactionCallback and ILAdapter_CommitTransactionCallback in ILAdapter_UpdateAdapter.
|
typedef void(* | ILAdapter_RegisterBeginTransactionCallback) (ILAdapter_AdapterContext, ILAdapter_BeginTransactionCallback, void *context) |
|
typedef void(* | ILAdapter_RegisterCommitTransactionCallback) (ILAdapter_AdapterContext, ILAdapter_BeginTransactionCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterPostGazePointDataCallback) (ILAdapter_AdapterContext, ILAdapter_PostGazePointDataCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterPostGazeOriginDataCallback) (ILAdapter_AdapterContext, ILAdapter_PostGazeOriginDataCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterPostPresenceDataCallback) (ILAdapter_AdapterContext, ILAdapter_PostPresenceDataCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterPostHeadPoseDataCallback) (ILAdapter_AdapterContext, ILAdapter_PostHeadPoseDataCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterPostResponsiveGazePointDataCallback) (ILAdapter_AdapterContext, ILAdapter_PostResponsiveGazePointDataCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterTrackingStatusCallback) (ILAdapter_AdapterContext, ILAdapter_TrackingStatusCallback, void *context) |
| ILAdapter_TrackingStatusCallback is expected to be invoked by (at least) ILAdapter_StartAdapter and ILAdapter_StopAdapter. More...
|
|
typedef bool(* | ILAdapter_RegisterDeviceNotificationCallback) (ILAdapter_AdapterContext, ILAdapter_DeviceNotificationCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterLoggingCallback) (ILAdapter_AdapterContext, ILAdapter_LoggingCallback, void *context) |
|
typedef bool(* | ILAdapter_RegisterForwardLoggingStatementCallback) (ILAdapter_AdapterContext, ILAdapter_ForwardLoggingStatementCallback, void *context) |
|
The abstraction layer between the Interaction Library and the eyetracking data provider.
There could be adapter implementations that use real Tobii eyetracking devices and data they provide, or "fake" implementations that generate test data, or even combinations thereof.
◆ IL_AdapterFunctions
struct IL_AdapterFunctions |
◆ createDestroyContext
void* createDestroyContext |
◆ createAdapter
◆ destroyAdapter
◆ startAdapter
◆ stopAdapter
◆ updateAdapter
◆ waitForDeviceConnection
◆ waitForStreamingDataAvailable
◆ getStreamTypesProvided
◆ getStreamCoordinateTransformInfo
◆ registerBeginTransactionCallback
◆ registerCommitTransactionCallback
◆ registerPostGazePointDataCallback
◆ registerPostGazeOriginDataCallback
◆ registerPostPresenceDataCallback
◆ registerPostHeadPoseDataCallback
◆ registerPostResponsiveGazePointDataCallback
◆ registerTrackingStatusCallback
◆ registerDeviceNotificationCallback
◆ registerLoggingCallback
◆ registerForwardLoggingStatementCallback
◆ ILAdapter_BeginTransactionCallback
typedef void(* ILAdapter_BeginTransactionCallback) (void *context) |
◆ ILAdapter_CommitTransactionCallback
typedef void(* ILAdapter_CommitTransactionCallback) (void *context) |
◆ ILAdapter_GetStreamTypesProvidedCallback
typedef void(* ILAdapter_GetStreamTypesProvidedCallback) (const IL_StreamInputType *, unsigned count, void *context) |
◆ ILAdapter_GetStreamCoordinateTransformInfoCallback
◆ ILAdapter_PostGazePointDataCallback
typedef void(* ILAdapter_PostGazePointDataCallback) (const IL_GazePointData *, void *context) |
◆ ILAdapter_PostGazeOriginDataCallback
typedef void(* ILAdapter_PostGazeOriginDataCallback) (const IL_GazeOriginData *, void *context) |
◆ ILAdapter_PostPresenceDataCallback
typedef void(* ILAdapter_PostPresenceDataCallback) (const IL_PresenceData *, void *context) |
◆ ILAdapter_PostHeadPoseDataCallback
typedef void(* ILAdapter_PostHeadPoseDataCallback) (const IL_HeadPoseData *, void *context) |
◆ ILAdapter_PostResponsiveGazePointDataCallback
◆ ILAdapter_TrackingStatusCallback
typedef void(* ILAdapter_TrackingStatusCallback) (IL_TrackingStatus, void *context) |
◆ ILAdapter_DeviceNotificationCallback
typedef void(* ILAdapter_DeviceNotificationCallback) (IL_DeviceNotification, void *context) |
◆ ILAdapter_LoggingCallback
typedef void(* ILAdapter_LoggingCallback) (IL_LoggingLevel level, const char *message, const char *tag1, const char *tag2, const char *formattedMetadata, void *context) |
◆ ILAdapter_ForwardLoggingStatementCallback
typedef void(* ILAdapter_ForwardLoggingStatementCallback) (IL_LoggingLevel level, const char *forwardedLoggingStatement, void *context) |
◆ ILAdapter_AdapterContext
Pointer to an adapter-specific implementation detail context.
◆ ILAdapter_CreateAdapter
Lightweight creation/instantiation of the adapter should happen on this call. All heavy, I/O or IPC operations should be done on ILAdapter_StartAdapter.
- Parameters
-
- Returns
- true on success, otherwise false.
◆ ILAdapter_DestroyAdapter
Lightweight destroy of the adapter should happen on this call. All heavy, I/O or IPC operations needed to destroy the adapter should be done on ILAdapter_StopAdapter.
- Parameters
-
◆ ILAdapter_StartAdapter
The adapter implementation should generate IL_TrackingStatus_Ok on ILAdapter_TrackingStatusCallback when invoked.
- Parameters
-
fieldOfUse | Will be the value that was used when the Interaction Library was created. |
◆ ILAdapter_StopAdapter
◆ ILAdapter_UpdateAdapter
◆ ILAdapter_WaitForDeviceConnection
The adapter implementation should block until a device connection is available.
◆ ILAdapter_WaitForStreamingDataAvailable
The adapter implementation should block until any streaming data is available.
◆ ILAdapter_GetStreamTypesProvided
◆ ILAdapter_GetStreamCoordinateTransformInfo
◆ ILAdapter_RegisterBeginTransactionCallback
◆ ILAdapter_RegisterCommitTransactionCallback
◆ ILAdapter_RegisterPostGazePointDataCallback
◆ ILAdapter_RegisterPostGazeOriginDataCallback
◆ ILAdapter_RegisterPostPresenceDataCallback
◆ ILAdapter_RegisterPostHeadPoseDataCallback
◆ ILAdapter_RegisterPostResponsiveGazePointDataCallback
◆ ILAdapter_RegisterTrackingStatusCallback
◆ ILAdapter_RegisterDeviceNotificationCallback
◆ ILAdapter_RegisterLoggingCallback
◆ ILAdapter_RegisterForwardLoggingStatementCallback