Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
videolistener.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "videoframe.h"
13
14#ifdef WIN32
15# ifdef COMPILING_DLL_SimulatedRealityCameras
16# define DIMENCOSR_API __declspec(dllexport)
17# else
18# define DIMENCOSR_API __declspec(dllimport)
19# endif
20#else
21# define DIMENCOSR_API
22#endif
23
24namespace SR {
25
32public:
41 virtual void accept(const VideoFrame& frame) = 0;
42};
43
44}
45
46#undef DIMENCOSR_API
Class containing an image recorded by a Camera.
Definition: videoframe.h:50
Interface for listening to SR_videoFrame updates.
Definition: videolistener.h:31
virtual void accept(const VideoFrame &frame)=0
Accept an SR_videoFrame frame.
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25
#define DIMENCOSR_API
Definition: videolistener.h:21