Public Member Functions | |
void | deviceClose (oni::driver::DeviceBase *pDevice) |
oni::driver::DeviceBase * | deviceOpen (const char *uri, const char *mode=NULL) |
Driver (OniDriverServices *pDriverServices) | |
OniStatus | initialize (oni::driver::DeviceConnectedCallback connectedCallback, oni::driver::DeviceDisconnectedCallback disconnectedCallback, oni::driver::DeviceStateChangedCallback deviceStateChangedCallback, void *pCookie) |
void | shutdown () |
OniStatus | tryDevice (const char *uri) |
~Driver () | |
Public Member Functions inherited from oni::driver::DriverBase | |
virtual void | disableFrameSync (void *) |
DriverBase (OniDriverServices *pDriverServices) | |
virtual void * | enableFrameSync (StreamBase **, int) |
virtual OniStatus | initialize (DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void *pCookie) |
virtual | ~DriverBase () |
Private Types | |
typedef std::map< OniDeviceInfo, oni::driver::DeviceBase * > | OniDeviceMap |
Static Private Member Functions | |
static std::string | devid_to_uri (int id) |
static int | uri_to_devid (const std::string uri) |
Static Private Member Functions inherited from Freenect::Freenect | |
static void * | pthread_callback (void *user_data) |
Private Attributes | |
OniDeviceMap | devices |
Private Attributes inherited from Freenect::Freenect | |
freenect_context * | m_ctx |
Additional Inherited Members | |
Protected Member Functions inherited from oni::driver::DriverBase | |
void | deviceConnected (const OniDeviceInfo *pInfo) |
void | deviceDisconnected (const OniDeviceInfo *pInfo) |
void | deviceStateChanged (const OniDeviceInfo *pInfo, int errorState) |
DriverServices & | getServices () |
Private Member Functions inherited from Freenect::Freenect | |
template<typename ConcreteDevice > | |
ConcreteDevice & | createDevice (int _index) |
void | deleteDevice (int _index) |
int | deviceCount () |
Freenect () | |
void | operator() () |
~Freenect () | |
Definition at line 210 of file DeviceDriver.cpp.
|
private |
Definition at line 213 of file DeviceDriver.cpp.
|
inline |
Definition at line 229 of file DeviceDriver.cpp.
|
inline |
Definition at line 237 of file DeviceDriver.cpp.
|
inlinevirtual |
Implements oni::driver::DriverBase.
Definition at line 286 of file DeviceDriver.cpp.
|
inlinevirtual |
Implements oni::driver::DriverBase.
Definition at line 261 of file DeviceDriver.cpp.
|
inlinestaticprivate |
Definition at line 216 of file DeviceDriver.cpp.
|
inline |
Definition at line 241 of file DeviceDriver.cpp.
|
inlinevirtual |
Implements oni::driver::DriverBase.
Definition at line 312 of file DeviceDriver.cpp.
|
inlinevirtual |
Reimplemented from oni::driver::DriverBase.
Definition at line 303 of file DeviceDriver.cpp.
|
inlinestaticprivate |
Definition at line 220 of file DeviceDriver.cpp.
|
private |
Definition at line 214 of file DeviceDriver.cpp.