#include <environment.h>
Classes | |
struct | extrinsics_lock |
Public Member Functions | |
extrinsics_graph () | |
extrinsics_lock | lock () |
void | override_extrinsics (const stream_interface &from, const stream_interface &to, rs2_extrinsics const &extr) |
void | register_extrinsics (const stream_interface &from, const stream_interface &to, std::weak_ptr< lazy< rs2_extrinsics >> extr) |
void | register_extrinsics (const stream_interface &from, const stream_interface &to, rs2_extrinsics extr) |
void | register_same_extrinsics (const stream_interface &from, const stream_interface &to) |
bool | try_fetch_extrinsics (const stream_interface &from, const stream_interface &to, rs2_extrinsics *extr) |
Private Member Functions | |
void | cleanup_extrinsics () |
int | find_stream_profile (const stream_interface &p, bool add_if_not_there=true) |
bool | try_fetch_extrinsics (int from, int to, std::set< int > &visited, rs2_extrinsics *extr) |
Private Attributes | |
PRIVATE_TESTABLE | __pad0__: std::shared_ptr<lazy<rs2_extrinsics>> fetch_edge(int from |
std::vector< std::shared_ptr< lazy< rs2_extrinsics > > > | _external_extrinsics |
std::map< int, std::map< int, std::weak_ptr< lazy< rs2_extrinsics > > > > | _extrinsics |
std::shared_ptr< lazy< rs2_extrinsics > > | _id |
std::atomic< int > | _locks_count |
std::mutex | _mutex |
std::map< int, std::weak_ptr< const stream_interface > > | _streams |
PRIVATE_TESTABLE int | to |
Definition at line 12 of file environment.h.
librealsense::extrinsics_graph::extrinsics_graph | ( | ) |
Definition at line 8 of file environment.cpp.
|
private |
Definition at line 82 of file environment.cpp.
|
private |
Definition at line 115 of file environment.cpp.
extrinsics_graph::extrinsics_lock librealsense::extrinsics_graph::lock | ( | ) |
Definition at line 17 of file environment.cpp.
void librealsense::extrinsics_graph::override_extrinsics | ( | const stream_interface & | from, |
const stream_interface & | to, | ||
rs2_extrinsics const & | extr | ||
) |
Definition at line 55 of file environment.cpp.
void librealsense::extrinsics_graph::register_extrinsics | ( | const stream_interface & | from, |
const stream_interface & | to, | ||
std::weak_ptr< lazy< rs2_extrinsics >> | extr | ||
) |
Definition at line 28 of file environment.cpp.
void librealsense::extrinsics_graph::register_extrinsics | ( | const stream_interface & | from, |
const stream_interface & | to, | ||
rs2_extrinsics | extr | ||
) |
Definition at line 48 of file environment.cpp.
void librealsense::extrinsics_graph::register_same_extrinsics | ( | const stream_interface & | from, |
const stream_interface & | to | ||
) |
Definition at line 23 of file environment.cpp.
bool librealsense::extrinsics_graph::try_fetch_extrinsics | ( | const stream_interface & | from, |
const stream_interface & | to, | ||
rs2_extrinsics * | extr | ||
) |
Definition at line 132 of file environment.cpp.
|
private |
Definition at line 149 of file environment.cpp.
|
private |
Definition at line 54 of file environment.h.
|
private |
Definition at line 51 of file environment.h.
|
private |
Definition at line 60 of file environment.h.
|
private |
Definition at line 49 of file environment.h.
|
private |
Definition at line 59 of file environment.h.
|
private |
Definition at line 48 of file environment.h.
|
private |
Definition at line 62 of file environment.h.
|
private |
Definition at line 54 of file environment.h.