72 using Ptr = std::shared_ptr<RealSenseDeviceManager>;
80 std::lock_guard<std::mutex> lock (mutex_);
90 return (device_list_.size ());
93 std::shared_ptr<RealSenseDevice>
96 std::shared_ptr<RealSenseDevice>
99 std::shared_ptr<RealSenseDevice>
111 weak_ptr<RealSenseDevice> device_ptr;
112 inline bool isCaptured () {
return (!device_ptr.expired ()); }
116 std::shared_ptr<RealSenseDevice>
117 capture (DeviceInfo& device_info);
119 RealSenseDeviceManager ();
124 populateDeviceList ();
126 std::shared_ptr<PXCSession> session_;
127 std::shared_ptr<PXCCaptureManager> capture_manager_;
129 std::vector<DeviceInfo> device_list_;
131 static std::mutex mutex_;