Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
systemeventlistener.h
Go to the documentation of this file.
1
10#pragma once
11#include "systemevent.h"
12
13#ifdef WIN32
14# ifdef COMPILING_DLL_SimulatedRealityCore
15# define DIMENCOSR_API __declspec(dllexport)
16# else
17# define DIMENCOSR_API __declspec(dllimport)
18# endif
19#else
20# define DIMENCOSR_API
21#endif
22
23namespace SR {
24
31public:
40 virtual void accept(const SystemEvent& frame) = 0;
41};
42
43}
44
45#undef DIMENCOSR_API
Interface for listening to SR_systemEvent updates.
Definition: systemeventlistener.h:30
virtual void accept(const SystemEvent &frame)=0
Accept an SR_systemEvent frame.
Class containing dynamic-length event messages.
Definition: systemevent.h:65
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25
#define DIMENCOSR_API
Definition: systemeventlistener.h:20