Point Cloud Library (PCL) 1.12.0
|
A helper class for enumerating and managing access to DepthSense devices. More...
#include <pcl/io/depth_sense/depth_sense_device_manager.h>
Public Types | |
using | Ptr = std::shared_ptr<DepthSenseDeviceManager> |
Public Member Functions | |
std::size_t | getNumDevices () |
Get the number of connected DepthSense devices. | |
std::string | captureDevice (DepthSenseGrabberImpl *grabber) |
Capture first available device and associate it with a given grabber instance. | |
std::string | captureDevice (DepthSenseGrabberImpl *grabber, std::size_t index) |
Capture the device with given index and associate it with a given grabber instance. | |
std::string | captureDevice (DepthSenseGrabberImpl *grabber, const std::string &sn) |
Capture the device with given serial number and associate it with a given grabber instance. | |
void | releaseDevice (const std::string &sn) |
Release DepthSense device with given serial number. | |
void | reconfigureDevice (const std::string &sn) |
Reconfigure DepthSense device with given serial number. | |
void | startDevice (const std::string &sn) |
Start data capturing for a given device. | |
void | stopDevice (const std::string &sn) |
Stop data capturing for a given device. | |
~DepthSenseDeviceManager () | |
Static Public Member Functions | |
static Ptr & | getInstance () |
A helper class for enumerating and managing access to DepthSense devices.
Definition at line 62 of file depth_sense_device_manager.h.
using pcl::io::depth_sense::DepthSenseDeviceManager::Ptr = std::shared_ptr<DepthSenseDeviceManager> |
Definition at line 67 of file depth_sense_device_manager.h.
pcl::io::depth_sense::DepthSenseDeviceManager::~DepthSenseDeviceManager | ( | ) |
std::string pcl::io::depth_sense::DepthSenseDeviceManager::captureDevice | ( | DepthSenseGrabberImpl * | grabber | ) |
Capture first available device and associate it with a given grabber instance.
std::string pcl::io::depth_sense::DepthSenseDeviceManager::captureDevice | ( | DepthSenseGrabberImpl * | grabber, |
const std::string & | sn ) |
Capture the device with given serial number and associate it with a given grabber instance.
std::string pcl::io::depth_sense::DepthSenseDeviceManager::captureDevice | ( | DepthSenseGrabberImpl * | grabber, |
std::size_t | index ) |
Capture the device with given index and associate it with a given grabber instance.
Definition at line 70 of file depth_sense_device_manager.h.
|
inline |
Get the number of connected DepthSense devices.
Definition at line 84 of file depth_sense_device_manager.h.
Reconfigure DepthSense device with given serial number.
Release DepthSense device with given serial number.
Start data capturing for a given device.
Stop data capturing for a given device.