#include <ip_device.hh>
Public Member Functions | |
ip_device (rs2::software_device sw_device, std::string ip_address) | |
~ip_device () | |
Public Attributes | |
ip_sensor * | remote_sensors [NUM_OF_SENSORS] |
Private Member Functions | |
std::vector< IpDeviceControlData > | get_controls (int sensor_id) |
void | get_option_value (int sensor_index, rs2_option opt, float &val) |
bool | init_device_data (rs2::software_device sw_device) |
void | inject_frames_loop (std::shared_ptr< rs_rtp_stream > rtp_stream) |
void | polling_state_loop () |
std::vector< rs2_video_stream > | query_streams (int sensor_id) |
void | recover_rtsp_client (int sensor_index) |
void | set_option_value (int sensor_index, rs2_option opt, float val) |
void | stop_sensor_streams (int sensor_id) |
void | update_option_value (int sensor_index, rs2_option opt, float val) |
void | update_sensor_state (int sensor_index, std::vector< rs2::stream_profile > updated_streams, bool recover) |
Private Attributes | |
std::map< std::pair< rs2_stream, int >, int > | default_streams |
std::map< long long int, std::thread > | inject_frames_thread |
std::string | ip_address |
unsigned int | ip_port |
bool | is_device_alive |
MemoryPool * | memory_pool |
std::map< long long int, rs_rtp_callback * > | rtp_callbacks |
std::map< long long int, std::shared_ptr< rs_rtp_stream > > | streams_collection |
std::thread | sw_device_status_check |
Definition at line 31 of file ip_device.hh.
ip_device::ip_device | ( | rs2::software_device | sw_device, |
std::string | ip_address | ||
) |
Definition at line 69 of file ip_device.cpp.
ip_device::~ip_device | ( | ) |
Definition at line 31 of file ip_device.cpp.
|
private |
Definition at line 102 of file ip_device.cpp.
|
private |
Definition at line 293 of file ip_device.cpp.
|
private |
Definition at line 111 of file ip_device.cpp.
|
private |
Definition at line 357 of file ip_device.cpp.
|
private |
Definition at line 216 of file ip_device.cpp.
|
private |
Definition at line 87 of file ip_device.cpp.
|
private |
Definition at line 23 of file ip_device.cpp.
|
private |
Definition at line 285 of file ip_device.cpp.
|
private |
Definition at line 57 of file ip_device.cpp.
|
private |
Definition at line 272 of file ip_device.cpp.
|
private |
Definition at line 314 of file ip_device.cpp.
|
private |
Definition at line 80 of file ip_device.hh.
|
private |
Definition at line 52 of file ip_device.hh.
|
private |
Definition at line 46 of file ip_device.hh.
|
private |
Definition at line 47 of file ip_device.hh.
|
private |
Definition at line 41 of file ip_device.hh.
|
private |
Definition at line 44 of file ip_device.hh.
ip_sensor* ip_device::remote_sensors[NUM_OF_SENSORS] |
Definition at line 38 of file ip_device.hh.
|
private |
Definition at line 54 of file ip_device.hh.
|
private |
Definition at line 50 of file ip_device.hh.
|
private |
Definition at line 56 of file ip_device.hh.