Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 ()
 

Private Member Functions

 FreenectDriver ()
 

Private Attributes

boost::shared_ptr< FreenectDevicedevice_
 
std::vector< std::string > device_serials_
 
freenect_context * driver_
 
boost::shared_ptr< boost::thread > freenect_thread_
 
bool thread_running_
 

Detailed Description

Definition at line 9 of file freenect_driver.hpp.

Constructor & Destructor Documentation

freenect_camera::FreenectDriver::FreenectDriver ( )
inlineprivate

Definition at line 107 of file freenect_driver.hpp.

Member Function Documentation

void freenect_camera::FreenectDriver::enableDebug ( )
inline

Definition at line 102 of file freenect_driver.hpp.

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

Unsupported

Definition at line 48 of file freenect_driver.hpp.

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

Unsupported

Definition at line 43 of file freenect_driver.hpp.

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

Definition at line 86 of file freenect_driver.hpp.

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

Definition at line 74 of file freenect_driver.hpp.

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

Definition at line 78 of file freenect_driver.hpp.

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

Definition at line 13 of file freenect_driver.hpp.

unsigned freenect_camera::FreenectDriver::getNumberDevices ( )
inline

Definition at line 38 of file freenect_driver.hpp.

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

Definition at line 56 of file freenect_driver.hpp.

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

Definition at line 52 of file freenect_driver.hpp.

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

Definition at line 68 of file freenect_driver.hpp.

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

Definition at line 64 of file freenect_driver.hpp.

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

Definition at line 60 of file freenect_driver.hpp.

void freenect_camera::FreenectDriver::process ( )
inline

Definition at line 90 of file freenect_driver.hpp.

void freenect_camera::FreenectDriver::shutdown ( )
inline

Definition at line 18 of file freenect_driver.hpp.

void freenect_camera::FreenectDriver::updateDeviceList ( )
inline

Definition at line 27 of file freenect_driver.hpp.

Member Data Documentation

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

Definition at line 117 of file freenect_driver.hpp.

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

Definition at line 115 of file freenect_driver.hpp.

freenect_context* freenect_camera::FreenectDriver::driver_
private

Definition at line 114 of file freenect_driver.hpp.

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

Definition at line 116 of file freenect_driver.hpp.

bool freenect_camera::FreenectDriver::thread_running_
private

Definition at line 119 of file freenect_driver.hpp.


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


freenect_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu (original openni_camera driver)., Piyush Khandelwal (libfreenect port).
autogenerated on Fri Mar 20 2020 03:22:26