#include <tm-device.h>
Public Member Functions | |
bool | compress_while_record () const override |
void | connect_controller (const std::array< uint8_t, 6 > &mac_address) override |
void | disable_loopback () override |
void | disconnect_controller (int id) override |
void | enable_loopback (const std::string &source_file) override |
std::vector< tagged_profile > | get_profiles_tags () const override |
std::shared_ptr< tm2_sensor > | get_tm2_sensor () |
void | hardware_reset () override |
bool | is_enabled () const override |
tm2_device (std::shared_ptr< context > ctx, const platform::backend_device_group &group, bool register_device_notifications) | |
virtual | ~tm2_device () |
Public Member Functions inherited from librealsense::device | |
virtual bool | contradicts (const stream_profile_interface *a, const std::vector< stream_profile > &others) const override |
virtual std::shared_ptr< matcher > | create_matcher (const frame_holder &frame) const override |
size_t | find_sensor_idx (const sensor_interface &s) const |
std::shared_ptr< context > | get_context () const override |
platform::backend_device_group | get_device_data () const override |
std::pair< uint32_t, rs2_extrinsics > | get_extrinsics (const stream_interface &stream) const override |
sensor_interface & | get_sensor (size_t subdevice) override |
const sensor_interface & | get_sensor (size_t subdevice) const override |
size_t | get_sensors_count () const override |
bool | is_valid () const override |
virtual void | stop_activity () const |
void | tag_profiles (stream_profiles profiles) const override |
virtual | ~device () |
Public Member Functions inherited from librealsense::device_interface | |
virtual | ~device_interface ()=default |
Public Member Functions inherited from librealsense::info_interface | |
virtual | ~info_interface ()=default |
Public Member Functions inherited from librealsense::recordable< info_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::info_container | |
void | create_snapshot (std::shared_ptr< info_interface > &snapshot) const override |
void | enable_recording (std::function< void(const info_interface &)> record_action) override |
const std::string & | get_info (rs2_camera_info info) const override |
void | register_info (rs2_camera_info info, const std::string &val) |
bool | supports_info (rs2_camera_info info) const override |
void | update (std::shared_ptr< extension_snapshot > ext) override |
void | update_info (rs2_camera_info info, const std::string &val) |
Public Member Functions inherited from librealsense::extension_snapshot | |
virtual | ~extension_snapshot ()=default |
Public Member Functions inherited from librealsense::tm2_extensions | |
virtual | ~tm2_extensions ()=default |
Protected Member Functions | |
void | register_stream_to_extrinsic_group (const stream_interface &stream, uint32_t group_index) |
Protected Member Functions inherited from librealsense::device | |
int | add_sensor (const std::shared_ptr< sensor_interface > &sensor_base) |
int | assign_sensor (const std::shared_ptr< sensor_interface > &sensor_base, uint8_t idx) |
device (std::shared_ptr< context > ctx, const platform::backend_device_group group, bool device_changed_notifications=false) | |
std::vector< rs2_format > | map_supported_color_formats (rs2_format source_format) |
void | register_stream_to_extrinsic_group (const stream_interface &stream, uint32_t groupd_index) |
Private Member Functions | |
template<typename Request , typename Response > | |
platform::usb_status | bulk_request_response (const Request &request, Response &response, size_t max_response_size=0, bool assert_success=true) |
bool | cancel_request (platform::rs_usb_request request) |
platform::rs_usb_request | interrupt_read_request (std::vector< uint8_t > &buffer, std::shared_ptr< platform::usb_request_callback > callback) |
platform::rs_usb_request | stream_read_request (std::vector< uint8_t > &buffer, std::shared_ptr< platform::usb_request_callback > callback) |
platform::usb_status | stream_write (const t265::bulk_message_request_header *request) |
void | submit_request (platform::rs_usb_request request) |
Static Private Member Functions | |
static const char * | tm2_device_name () |
Friends | |
class | tm2_sensor |
Additional Inherited Members | |
Protected Attributes inherited from librealsense::device | |
std::map< int, std::pair< uint32_t, std::shared_ptr< const stream_interface > > > | _extrinsics |
Definition at line 22 of file tm-device.h.
librealsense::tm2_device::tm2_device | ( | std::shared_ptr< context > | ctx, |
const platform::backend_device_group & | group, | ||
bool | register_device_notifications | ||
) |
Definition at line 1916 of file tm-device.cpp.
|
virtual |
Definition at line 2008 of file tm-device.cpp.
|
private |
Definition at line 2026 of file tm-device.cpp.
|
private |
Definition at line 2105 of file tm-device.cpp.
|
inlineoverridevirtual |
Reimplemented from librealsense::device.
Definition at line 43 of file tm-device.h.
|
inlineoverridevirtual |
Implements librealsense::tm2_extensions.
Definition at line 36 of file tm-device.h.
|
overridevirtual |
Implements librealsense::tm2_extensions.
Definition at line 2141 of file tm-device.cpp.
|
inlineoverridevirtual |
Implements librealsense::tm2_extensions.
Definition at line 37 of file tm-device.h.
|
overridevirtual |
Enable loopback will replace the input and ouput of the tm2 sensor
Implements librealsense::tm2_extensions.
Definition at line 2124 of file tm-device.cpp.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
Definition at line 39 of file tm-device.h.
|
inline |
Definition at line 45 of file tm-device.h.
|
overridevirtual |
Reimplemented from librealsense::device.
Definition at line 2018 of file tm-device.cpp.
|
private |
Definition at line 2113 of file tm-device.cpp.
|
overridevirtual |
Implements librealsense::tm2_extensions.
Definition at line 2147 of file tm-device.cpp.
|
protected |
Definition at line 2152 of file tm-device.cpp.
|
private |
Definition at line 2090 of file tm-device.cpp.
|
private |
Definition at line 2069 of file tm-device.cpp.
|
private |
Definition at line 2098 of file tm-device.cpp.
|
inlinestaticprivate |
Definition at line 51 of file tm-device.h.
|
friend |
Definition at line 78 of file tm-device.h.
|
private |
Definition at line 55 of file tm-device.h.
|
private |
Definition at line 65 of file tm-device.h.
|
private |
Definition at line 62 of file tm-device.h.
|
private |
Definition at line 62 of file tm-device.h.
|
private |
Definition at line 63 of file tm-device.h.
|
private |
Definition at line 63 of file tm-device.h.
|
private |
Definition at line 61 of file tm-device.h.
|
private |
Definition at line 61 of file tm-device.h.
|
private |
Definition at line 70 of file tm-device.h.
|
private |
Definition at line 58 of file tm-device.h.
|
private |
Definition at line 57 of file tm-device.h.
|
private |
Definition at line 59 of file tm-device.h.