LeiaSR SDK
720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
simulatedreality-win64-Release
include
sr
sense
application
applicationsense.h
Go to the documentation of this file.
1
5
#pragma once
6
#include <map>
7
#include <thread>
8
#include <mutex>
9
#include "
sr/management/srcontext.h
"
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
21
namespace
SR
{
22
33
class
DIMENCOSR_API
ApplicationSense
:
public
Sense
{
34
35
public
:
42
static
ApplicationSense
*
create
(
SRContext
&context);
43
49
virtual
std::vector<std::string>
getApplicationNames
() = 0;
50
};
51
52
}
53
54
#undef DIMENCOSR_API
DIMENCOSR_API
#define DIMENCOSR_API
Definition:
applicationsense.h:18
SR::ApplicationSense
Sense class which shares information about SR Applications throughout the SR system and to applicatio...
Definition:
applicationsense.h:33
SR::ApplicationSense::create
static ApplicationSense * create(SRContext &context)
Creates a functional ApplicationSense instance.
SR::ApplicationSense::getApplicationNames
virtual std::vector< std::string > getApplicationNames()=0
Get the names of all SR Applications connected to the server.
SR::SRContext
Maintains WorldObject and Sense objects during the application lifetime.
Definition:
srcontext.h:75
SR::Sense
Class of objects dealing with Streams of data.
Definition:
sense.h:37
SR
Namespace containing all C++ Simulated Reality classes.
Definition:
srconfiguration.h:20
srcontext.h
Generated by
1.9.2