LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
networkinterface.h
Go to the documentation of this file.
1
5#pragma once
6
7#ifdef WIN32
8# ifdef COMPILING_DLL_SimulatedRealityCore
9# define DIMENCOSR_API __declspec(dllexport)
10# else
11# define DIMENCOSR_API __declspec(dllimport)
12# endif
13#else
14# define DIMENCOSR_API
15#endif
16
17namespace SR {
18
25public:
33 virtual void send(uint64_t destination, void* payload, uint64_t payloadSize) = 0;
34
42 virtual bool isActive() = 0;
43};
44
45}
46
47#undef DIMENCOSR_API
Interface defining how to send messages between SR applications.
Definition: networkinterface.h:24
virtual void send(uint64_t destination, void *payload, uint64_t payloadSize)=0
Send data over NetworkInterface.
virtual bool isActive()=0
Returns whether the connection is active.
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:20
#define DIMENCOSR_API
Definition: networkinterface.h:14