Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
admin_c.h
Go to the documentation of this file.
1
10#ifndef ADMIN_C_H
11#define ADMIN_C_H
12
13//TODO include application information struct type
14
15typedef void* SRContext;
16
17#ifdef WIN32
18#ifdef __cplusplus
19# ifdef COMPILING_DLL_SimulatedRealityCore
20# define SRAPI extern "C" __declspec(dllexport)
21# else
22# define SRAPI extern "C" __declspec(dllimport)
23# endif
24#else
25# ifdef COMPILING_DLL_SimulatedRealityCore
26# error Trying to compile SimulatedRealityCore.dll using a non-C++ compiler! Use a C++ compiler instead!
27# else
28# define SRAPI __declspec(dllimport)
29# endif
30#endif
31#else
32# define SRAPI
33#endif
34
39typedef void* SR_applicationSense;
40
48
52typedef struct {
53 unsigned int size;
56
64
71
72#undef SRAPI
73
74#endif // ADMIN_C_H
SRAPI SR_applicationList getApplicationNames(SR_applicationSense applicationSense)
Returns a list of applications that are currently connected to the SR Service.
SRAPI SR_applicationSense createApplicationSense(SRContext context)
Create an application sense instance to gain information about running SR applications.
void * SRContext
Definition: admin_c.h:15
#define SRAPI
Definition: admin_c.h:32
void * SR_applicationSense
Application Programming Interface to be used by (Admin) C SR applications.
Definition: admin_c.h:39
SRAPI void cleanupApplicationList(SR_applicationList applicationList)
Clears the memory allocated for the list of applications returned by getApplicationNames.
C-compatible struct to represent the contents of the std::vector<std::string> returned in the C++ int...
Definition: admin_c.h:52
char ** applicationNames
Definition: admin_c.h:54
unsigned int size
Definition: admin_c.h:53