Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
networkinterface.h
Go to the documentation of this file.
1
10#pragma once
11
12#ifdef WIN32
13# ifdef COMPILING_DLL_SimulatedRealityCore
14# define DIMENCOSR_API __declspec(dllexport)
15# else
16# define DIMENCOSR_API __declspec(dllimport)
17# endif
18#else
19# define DIMENCOSR_API
20#endif
21
22namespace SR {
23
30public:
38 virtual void send(uint64_t destination, void* payload, uint64_t payloadSize) = 0;
39
47 virtual bool isActive() = 0;
48};
49
50}
51
52#undef DIMENCOSR_API
Interface defining how to send messages between SR applications.
Definition: networkinterface.h:29
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:25
#define DIMENCOSR_API
Definition: networkinterface.h:19