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);
122 populateDeviceList ();
124 std::shared_ptr<PXCSession> session_;
125 std::shared_ptr<PXCCaptureManager> capture_manager_;
127 std::vector<DeviceInfo> device_list_;
129 static std::mutex mutex_;