#include <freenect_driver.hpp>
Public Member Functions | |
void | enableDebug () |
unsigned | getAddress (unsigned device_idx) |
unsigned | getBus (unsigned device_idx) |
boost::shared_ptr< FreenectDevice > | getDeviceByAddress (unsigned bus, unsigned address) |
boost::shared_ptr< FreenectDevice > | getDeviceByIndex (unsigned device_idx) |
boost::shared_ptr< FreenectDevice > | getDeviceBySerialNumber (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 FreenectDriver & | getInstance () |
Private Member Functions | |
FreenectDriver () | |
Private Attributes | |
boost::shared_ptr< FreenectDevice > | device_ |
std::vector< std::string > | device_serials_ |
freenect_context * | driver_ |
boost::shared_ptr< boost::thread > | freenect_thread_ |
bool | thread_running_ |
Definition at line 9 of file freenect_driver.hpp.
freenect_camera::FreenectDriver::FreenectDriver | ( | ) | [inline, private] |
Definition at line 107 of file freenect_driver.hpp.
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 | ( | ) | [inline, static] |
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.
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.