#include <RsSensor.hh>
Public Member Functions | |
int | close () |
rs2::device | getDevice () |
rs2::sensor & | getRsSensor () |
std::string | getSensorName () |
std::unordered_map< long long int, rs2::video_stream_profile > | getStreamProfiles () |
std::vector< RsOption > | getSupportedOptions () |
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 |
MemoryPool * | m_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_profile > | m_streamProfiles |
Definition at line 19 of file RsSensor.hh.
RsSensor::RsSensor | ( | UsageEnvironment * | t_env, |
rs2::sensor | t_sensor, | ||
rs2::device | t_device | ||
) |
Definition at line 14 of file RsSensor.cpp.
int RsSensor::close | ( | ) |
Definition at line 57 of file RsSensor.cpp.
|
inline |
Definition at line 37 of file RsSensor.hh.
|
inline |
Definition at line 27 of file RsSensor.hh.
std::string RsSensor::getSensorName | ( | ) |
Definition at line 111 of file RsSensor.cpp.
|
static |
Definition at line 99 of file RsSensor.cpp.
|
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.
|
private |
Definition at line 44 of file RsSensor.hh.
|
private |
Definition at line 48 of file RsSensor.hh.
|
private |
Definition at line 47 of file RsSensor.hh.
|
private |
Definition at line 49 of file RsSensor.hh.
|
private |
Definition at line 50 of file RsSensor.hh.
|
private |
Definition at line 45 of file RsSensor.hh.
|
private |
Definition at line 46 of file RsSensor.hh.