LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
Macros | Typedefs | Functions
core_c.h File Reference
#include "sr/sense/system/systemevent.h"
Include dependency graph for core_c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SRAPI
 

Typedefs

typedef void * SRContext
 
typedef void * SR_systemSense
 
typedef void * SR_systemEventListener
 

Functions

SRAPI SRContext newSRContext ()
 Construct an instance of SRContext, the environment in which created senses are kept track of. More...
 
SRAPI SRContext newSRContextLensPreference (bool lensPreference)
 Construct an instance of SRContext, the environment in which created senses are kept track of. More...
 
SRAPI void initializeSRContext (SRContext context)
 Initialize all senses. More...
 
SRAPI void deleteSRContext (SRContext context)
 Delete and clean up the instance of SRContext. More...
 
SRAPI SR_systemSense createSystemSense (SRContext context)
 Creates a functional SystemSense instance. More...
 
SRAPI SR_systemEventListener createSystemEventListener (SR_systemSense systemSense, void(*acceptSystemEventCallback)(SR_systemEvent))
 Add a new callback function to listen to a specific systemSense. More...
 
SRAPI void deleteSystemEventListener (SR_systemEventListener systemEventListener)
 Cleans up underlying object instances used to facilitate system event update callbacks. More...
 

Macro Definition Documentation

◆ SRAPI

#define SRAPI

Typedef Documentation

◆ SR_systemEventListener

typedef void* SR_systemEventListener

◆ SR_systemSense

typedef void* SR_systemSense

◆ SRContext

typedef void* SRContext

Copyright (C) 2025 Leia, Inc.