Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
FreenectDriver::Driver Class Reference
Inheritance diagram for FreenectDriver::Driver:
Inheritance graph
[legend]

Public Member Functions

void deviceClose (oni::driver::DeviceBase *pDevice)
 
oni::driver::DeviceBasedeviceOpen (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 voidenableFrameSync (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_contextm_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)
 
DriverServicesgetServices ()
 
- Private Member Functions inherited from Freenect::Freenect
template<typename ConcreteDevice >
ConcreteDevice & createDevice (int _index)
 
void deleteDevice (int _index)
 
int deviceCount ()
 
 Freenect ()
 
void operator() ()
 
 ~Freenect ()
 

Detailed Description

Definition at line 210 of file DeviceDriver.cpp.

Member Typedef Documentation

Definition at line 213 of file DeviceDriver.cpp.

Constructor & Destructor Documentation

FreenectDriver::Driver::Driver ( OniDriverServices pDriverServices)
inline

Definition at line 229 of file DeviceDriver.cpp.

FreenectDriver::Driver::~Driver ( )
inline

Definition at line 237 of file DeviceDriver.cpp.

Member Function Documentation

void FreenectDriver::Driver::deviceClose ( oni::driver::DeviceBase pDevice)
inlinevirtual

Implements oni::driver::DriverBase.

Definition at line 286 of file DeviceDriver.cpp.

oni::driver::DeviceBase* FreenectDriver::Driver::deviceOpen ( const char *  uri,
const char *  mode = NULL 
)
inlinevirtual

Implements oni::driver::DriverBase.

Definition at line 261 of file DeviceDriver.cpp.

static std::string FreenectDriver::Driver::devid_to_uri ( int  id)
inlinestaticprivate

Definition at line 216 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Driver::initialize ( oni::driver::DeviceConnectedCallback  connectedCallback,
oni::driver::DeviceDisconnectedCallback  disconnectedCallback,
oni::driver::DeviceStateChangedCallback  deviceStateChangedCallback,
void *  pCookie 
)
inline

Definition at line 241 of file DeviceDriver.cpp.

void FreenectDriver::Driver::shutdown ( )
inlinevirtual

Implements oni::driver::DriverBase.

Definition at line 312 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Driver::tryDevice ( const char *  uri)
inlinevirtual

Reimplemented from oni::driver::DriverBase.

Definition at line 303 of file DeviceDriver.cpp.

static int FreenectDriver::Driver::uri_to_devid ( const std::string  uri)
inlinestaticprivate

Definition at line 220 of file DeviceDriver.cpp.

Member Data Documentation

OniDeviceMap FreenectDriver::Driver::devices
private

Definition at line 214 of file DeviceDriver.cpp.


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


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:43