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