LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
applicationsense.h
Go to the documentation of this file.
1
5#pragma once
6#include <map>
7#include <thread>
8#include <mutex>
10
11#ifdef WIN32
12# ifdef COMPILING_DLL_SimulatedRealityCore
13# define DIMENCOSR_API __declspec(dllexport)
14# else
15# define DIMENCOSR_API __declspec(dllimport)
16# endif
17#else
18# define DIMENCOSR_API
19#endif
20
21namespace SR {
22
34
35public:
43
49 virtual std::vector<std::string> getApplicationNames() = 0;
50};
51
52}
53
54#undef DIMENCOSR_API
#define DIMENCOSR_API
Definition: applicationsense.h:18
Sense class which shares information about SR Applications throughout the SR system and to applicatio...
Definition: applicationsense.h:33
static ApplicationSense * create(SRContext &context)
Creates a functional ApplicationSense instance.
virtual std::vector< std::string > getApplicationNames()=0
Get the names of all SR Applications connected to the server.
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:75
Class of objects dealing with Streams of data.
Definition: sense.h:37
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:20