49 std::shared_ptr<lazy<rs2_extrinsics>>
_id;
54 std::shared_ptr<lazy<rs2_extrinsics>> fetch_edge(
int from,
int to);
60 std::map<int, std::map<int, std::weak_ptr<lazy<rs2_extrinsics>>>>
_extrinsics;
62 std::map<int, std::weak_ptr<const stream_interface>>
_streams;
76 void set_time_service(std::shared_ptr<platform::time_service> ts);
77 std::shared_ptr<platform::time_service> get_time_service();
87 std::shared_ptr<platform::time_service>
_ts;
std::vector< std::shared_ptr< lazy< rs2_extrinsics > > > _external_extrinsics
std::map< int, std::map< int, std::weak_ptr< lazy< rs2_extrinsics > > > > _extrinsics
void cleanup_extrinsics()
std::shared_ptr< platform::time_service > _ts
std::atomic< int > _locks_count
void register_same_extrinsics(const stream_interface &from, const stream_interface &to)
std::map< int, std::weak_ptr< const stream_interface > > _streams
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)
extrinsics_graph & _owner
extrinsics_graph _extrinsics
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
int find_stream_profile(const stream_interface &p, bool add_if_not_there=true)
std::shared_ptr< lazy< rs2_extrinsics > > _id
bool try_fetch_extrinsics(const stream_interface &from, const stream_interface &to, rs2_extrinsics *extr)
std::atomic< int > _stream_id
extrinsics_lock(const extrinsics_lock &lock)
extrinsics_lock(extrinsics_graph &owner)