19# ifdef COMPILING_DLL_SimulatedRealityCore
20# define SRAPI extern "C" __declspec(dllexport)
22# define SRAPI extern "C" __declspec(dllimport)
25# ifdef COMPILING_DLL_SimulatedRealityCore
26# error Trying to compile SimulatedRealityCore.dll using a non-C++ compiler! Use a C++ compiler instead!
28# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:15
void * SRContext
Definition: core_c.h:15
#define SRAPI
Definition: core_c.h:32
void * SR_systemSense
Definition: core_c.h:80
void * SR_systemEventListener
Definition: core_c.h:81
SRAPI void deleteSystemEventListener(SR_systemEventListener systemEventListener)
Cleans up underlying object instances used to facilitate system event update callbacks.
SRAPI void deleteSRContext(SRContext context)
Delete and clean up the instance of SRContext.
SRAPI SRContext newSRContext()
Construct an instance of SRContext, the environment in which created senses are kept track of.
SRAPI SR_systemSense createSystemSense(SRContext context)
Creates a functional SystemSense instance.
SRAPI SRContext newSRContextLensPreference(bool lensPreference)
Construct an instance of SRContext, the environment in which created senses are kept track of.
SRAPI void initializeSRContext(SRContext context)
Initialize all senses.
SRAPI SR_systemEventListener createSystemEventListener(SR_systemSense systemSense, void(*acceptSystemEventCallback)(SR_systemEvent))
Add a new callback function to listen to a specific systemSense.
C-compatible struct containing a system-wide event.
Definition: systemevent.h:46