Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
xiaoqiang_freenect_camera::FreenectDriver Class Reference

#include <freenect_driver.hpp>

Public Member Functions

void enableDebug ()
 
unsigned getAddress (unsigned device_idx)
 
unsigned getBus (unsigned device_idx)
 
boost::shared_ptr< FreenectDevicegetDeviceByAddress (unsigned bus, unsigned address)
 
boost::shared_ptr< FreenectDevicegetDeviceByIndex (unsigned device_idx)
 
boost::shared_ptr< FreenectDevicegetDeviceBySerialNumber (std::string serial)
 
unsigned getNumberDevices ()
 
unsigned getProductID (unsigned device_idx)
 
const char * getProductName (unsigned device_idx)
 
const char * getSerialNumber (unsigned device_idx)
 
unsigned getVendorID (unsigned device_idx)
 
const char * getVendorName (unsigned device_idx)
 
void process ()
 
void shutdown ()
 
void updateDeviceList ()
 

Static Public Member Functions

static FreenectDrivergetInstance (freenect_device_flags subdevs)
 
static FreenectDrivergetInstance ()
 

Private Member Functions

 FreenectDriver ()
 
 FreenectDriver (freenect_device_flags subdevs)
 

Private Attributes

boost::shared_ptr< FreenectDevicedevice_
 
std::vector< std::string > device_serials_
 
freenect_contextdriver_
 
boost::shared_ptr< boost::threadfreenect_thread_
 
freenect_device_flags subdevs_
 
bool thread_running_
 

Detailed Description

Definition at line 9 of file freenect_driver.hpp.

Constructor & Destructor Documentation

xiaoqiang_freenect_camera::FreenectDriver::FreenectDriver ( )
inlineprivate

Definition at line 112 of file freenect_driver.hpp.

xiaoqiang_freenect_camera::FreenectDriver::FreenectDriver ( freenect_device_flags  subdevs)
inlineprivate

Definition at line 120 of file freenect_driver.hpp.

Member Function Documentation

void xiaoqiang_freenect_camera::FreenectDriver::enableDebug ( )
inline

Definition at line 107 of file freenect_driver.hpp.

unsigned xiaoqiang_freenect_camera::FreenectDriver::getAddress ( unsigned  device_idx)
inline

Unsupported

Definition at line 53 of file freenect_driver.hpp.

unsigned xiaoqiang_freenect_camera::FreenectDriver::getBus ( unsigned  device_idx)
inline

Unsupported

Definition at line 48 of file freenect_driver.hpp.

boost::shared_ptr<FreenectDevice> xiaoqiang_freenect_camera::FreenectDriver::getDeviceByAddress ( unsigned  bus,
unsigned  address 
)
inline

Definition at line 91 of file freenect_driver.hpp.

boost::shared_ptr<FreenectDevice> xiaoqiang_freenect_camera::FreenectDriver::getDeviceByIndex ( unsigned  device_idx)
inline

Definition at line 79 of file freenect_driver.hpp.

boost::shared_ptr<FreenectDevice> xiaoqiang_freenect_camera::FreenectDriver::getDeviceBySerialNumber ( std::string  serial)
inline

Definition at line 83 of file freenect_driver.hpp.

static FreenectDriver& xiaoqiang_freenect_camera::FreenectDriver::getInstance ( freenect_device_flags  subdevs)
inlinestatic

Definition at line 14 of file freenect_driver.hpp.

static FreenectDriver& xiaoqiang_freenect_camera::FreenectDriver::getInstance ( )
inlinestatic

Definition at line 19 of file freenect_driver.hpp.

unsigned xiaoqiang_freenect_camera::FreenectDriver::getNumberDevices ( )
inline

Definition at line 43 of file freenect_driver.hpp.

unsigned xiaoqiang_freenect_camera::FreenectDriver::getProductID ( unsigned  device_idx)
inline

Definition at line 61 of file freenect_driver.hpp.

const char* xiaoqiang_freenect_camera::FreenectDriver::getProductName ( unsigned  device_idx)
inline

Definition at line 57 of file freenect_driver.hpp.

const char* xiaoqiang_freenect_camera::FreenectDriver::getSerialNumber ( unsigned  device_idx)
inline

Definition at line 73 of file freenect_driver.hpp.

unsigned xiaoqiang_freenect_camera::FreenectDriver::getVendorID ( unsigned  device_idx)
inline

Definition at line 69 of file freenect_driver.hpp.

const char* xiaoqiang_freenect_camera::FreenectDriver::getVendorName ( unsigned  device_idx)
inline

Definition at line 65 of file freenect_driver.hpp.

void xiaoqiang_freenect_camera::FreenectDriver::process ( )
inline

Definition at line 95 of file freenect_driver.hpp.

void xiaoqiang_freenect_camera::FreenectDriver::shutdown ( )
inline

Definition at line 23 of file freenect_driver.hpp.

void xiaoqiang_freenect_camera::FreenectDriver::updateDeviceList ( )
inline

Definition at line 32 of file freenect_driver.hpp.

Member Data Documentation

boost::shared_ptr<FreenectDevice> xiaoqiang_freenect_camera::FreenectDriver::device_
private

Definition at line 136 of file freenect_driver.hpp.

std::vector<std::string> xiaoqiang_freenect_camera::FreenectDriver::device_serials_
private

Definition at line 134 of file freenect_driver.hpp.

freenect_context* xiaoqiang_freenect_camera::FreenectDriver::driver_
private

Definition at line 133 of file freenect_driver.hpp.

boost::shared_ptr<boost::thread> xiaoqiang_freenect_camera::FreenectDriver::freenect_thread_
private

Definition at line 135 of file freenect_driver.hpp.

freenect_device_flags xiaoqiang_freenect_camera::FreenectDriver::subdevs_
private

Definition at line 137 of file freenect_driver.hpp.

bool xiaoqiang_freenect_camera::FreenectDriver::thread_running_
private

Definition at line 138 of file freenect_driver.hpp.


The documentation for this class was generated from the following file:


xiaoqiang_freenect_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu (original openni_camera driver)., Piyush Khandelwal (libfreenect port).
autogenerated on Mon Jun 10 2019 15:53:18