6 #include "DeviceSource.hh" 8 #include <condition_variable> void deliverRSFrame(rs2::frame *t_frame)
RsDeviceSource(UsageEnvironment &t_env, rs2::video_stream_profile &t_videoStreamProfile, rs2::frame_queue &t_queue)
virtual ~RsDeviceSource()
rs2::frame_queue * m_framesQueue
rs2::frame_queue * getFramesQueue()
static void waitForFrame(RsDeviceSource *t_deviceSource)
virtual void doGetNextFrame()
rs2::video_stream_profile * m_streamProfile
void handleWaitForFrame()
static RsDeviceSource * createNew(UsageEnvironment &t_env, rs2::video_stream_profile &t_videoStreamProfile, rs2::frame_queue &t_queue)