Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
RsSensor Class Reference

#include <RsSensor.hh>

Public Member Functions

int close ()
 
rs2::device getDevice ()
 
rs2::sensorgetRsSensor ()
 
std::string getSensorName ()
 
std::unordered_map< long long int, rs2::video_stream_profilegetStreamProfiles ()
 
std::vector< RsOptiongetSupportedOptions ()
 
int open (std::unordered_map< long long int, rs2::frame_queue > &t_streamProfilesQueues)
 
 RsSensor (UsageEnvironment *t_env, rs2::sensor t_sensor, rs2::device t_device)
 
int start (std::unordered_map< long long int, rs2::frame_queue > &t_streamProfilesQueues)
 
int stop ()
 

Static Public Member Functions

static long long int getStreamProfileKey (rs2::stream_profile t_profile)
 

Private Attributes

UsageEnvironment * env
 
rs2::device m_device
 
std::unordered_map< long long int, std::shared_ptr< ICompression > > m_iCompress
 
MemoryPoolm_memPool
 
std::unordered_map< long long int, std::chrono::high_resolution_clock::time_point > m_prevSample
 
rs2::sensor m_sensor
 
std::unordered_map< long long int, rs2::video_stream_profilem_streamProfiles
 

Detailed Description

Definition at line 19 of file RsSensor.hh.

Constructor & Destructor Documentation

RsSensor::RsSensor ( UsageEnvironment *  t_env,
rs2::sensor  t_sensor,
rs2::device  t_device 
)

Definition at line 14 of file RsSensor.cpp.

Member Function Documentation

int RsSensor::close ( )

Definition at line 57 of file RsSensor.cpp.

rs2::device RsSensor::getDevice ( )
inline

Definition at line 37 of file RsSensor.hh.

rs2::sensor& RsSensor::getRsSensor ( )
inline

Definition at line 27 of file RsSensor.hh.

std::string RsSensor::getSensorName ( )

Definition at line 111 of file RsSensor.cpp.

long long int RsSensor::getStreamProfileKey ( rs2::stream_profile  t_profile)
static

Definition at line 99 of file RsSensor.cpp.

std::unordered_map<long long int, rs2::video_stream_profile> RsSensor::getStreamProfiles ( )
inline

Definition at line 31 of file RsSensor.hh.

std::vector< RsOption > RsSensor::getSupportedOptions ( )

Definition at line 129 of file RsSensor.cpp.

int RsSensor::open ( std::unordered_map< long long int, rs2::frame_queue > &  t_streamProfilesQueues)

Definition at line 31 of file RsSensor.cpp.

int RsSensor::start ( std::unordered_map< long long int, rs2::frame_queue > &  t_streamProfilesQueues)

Definition at line 69 of file RsSensor.cpp.

int RsSensor::stop ( )

Definition at line 63 of file RsSensor.cpp.

Member Data Documentation

UsageEnvironment* RsSensor::env
private

Definition at line 44 of file RsSensor.hh.

rs2::device RsSensor::m_device
private

Definition at line 48 of file RsSensor.hh.

std::unordered_map<long long int, std::shared_ptr<ICompression> > RsSensor::m_iCompress
private

Definition at line 47 of file RsSensor.hh.

MemoryPool* RsSensor::m_memPool
private

Definition at line 49 of file RsSensor.hh.

std::unordered_map<long long int, std::chrono::high_resolution_clock::time_point> RsSensor::m_prevSample
private

Definition at line 50 of file RsSensor.hh.

rs2::sensor RsSensor::m_sensor
private

Definition at line 45 of file RsSensor.hh.

std::unordered_map<long long int, rs2::video_stream_profile> RsSensor::m_streamProfiles
private

Definition at line 46 of file RsSensor.hh.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32