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

Public Member Functions

oni::driver::StreamBasecreateStream (OniSensorType sensorType)
 
void destroyStream (oni::driver::StreamBase *pStream)
 
 Device (freenect_context *fn_ctx, int index)
 
OniStatus getProperty (int propertyId, void *data, int *pDataSize)
 
OniStatus getSensorInfoList (OniSensorInfo **pSensors, int *numSensors)
 
OniStatus invoke (int commandId, void *data, int dataSize)
 
OniBool isCommandSupported (int commandId)
 
OniBool isImageRegistrationModeSupported (OniImageRegistrationMode mode)
 
OniBool isPropertySupported (int propertyId)
 
OniStatus setProperty (int propertyId, const void *data, int dataSize)
 
 ~Device ()
 
- Public Member Functions inherited from oni::driver::DeviceBase
 DeviceBase ()
 
virtual void notifyAllProperties ()
 
virtual void setPropertyChangedCallback (PropertyChangedCallback handler, void *pCookie)
 
virtual OniStatus tryManualTrigger ()
 
virtual ~DeviceBase ()
 
- Public Member Functions inherited from Freenect::FreenectDevice
 FreenectDevice (freenect_context *_ctx, int _index)
 
freenect_depth_format getDepthFormat ()
 
freenect_resolution getDepthResolution ()
 
const freenect_devicegetDevice ()
 
FreenectTiltState getState () const
 
freenect_video_format getVideoFormat ()
 
freenect_resolution getVideoResolution ()
 
void setDepthFormat (freenect_depth_format requested_format, freenect_resolution requested_resolution=FREENECT_RESOLUTION_MEDIUM)
 
int setFlag (freenect_flag flag, bool value)
 
void setLed (freenect_led_options _option)
 
void setTiltDegrees (double _angle)
 
void setVideoFormat (freenect_video_format requested_format, freenect_resolution requested_resolution=FREENECT_RESOLUTION_MEDIUM)
 
void startDepth ()
 
void startVideo ()
 
void stopDepth ()
 
void stopVideo ()
 
void updateState ()
 
virtual ~FreenectDevice ()
 

Private Member Functions

void DepthCallback (void *data, uint32_t timestamp)
 
void VideoCallback (void *data, uint32_t timestamp)
 

Private Attributes

ColorStreamcolor
 
DepthStreamdepth
 

Additional Inherited Members

- Protected Member Functions inherited from oni::driver::DeviceBase
void raisePropertyChanged (int propertyId, const void *data, int dataSize)
 
- Protected Member Functions inherited from Freenect::FreenectDevice
int getDepthBufferSize ()
 
int getVideoBufferSize ()
 

Detailed Description

Definition at line 27 of file DeviceDriver.cpp.

Constructor & Destructor Documentation

FreenectDriver::Device::Device ( freenect_context fn_ctx,
int  index 
)
inline

Definition at line 42 of file DeviceDriver.cpp.

FreenectDriver::Device::~Device ( )
inline

Definition at line 45 of file DeviceDriver.cpp.

Member Function Documentation

oni::driver::StreamBase* FreenectDriver::Device::createStream ( OniSensorType  sensorType)
inlinevirtual

Implements oni::driver::DeviceBase.

Definition at line 65 of file DeviceDriver.cpp.

void FreenectDriver::Device::DepthCallback ( void *  data,
uint32_t  timestamp 
)
inlineprivatevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 34 of file DeviceDriver.cpp.

void FreenectDriver::Device::destroyStream ( oni::driver::StreamBase pStream)
inlinevirtual

Implements oni::driver::DeviceBase.

Definition at line 84 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Device::getProperty ( int  propertyId,
void *  data,
int *  pDataSize 
)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 111 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Device::getSensorInfoList ( OniSensorInfo **  pSensors,
int *  numSensors 
)
inlinevirtual

Implements oni::driver::DeviceBase.

Definition at line 55 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Device::invoke ( int  commandId,
void *  data,
int  dataSize 
)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 193 of file DeviceDriver.cpp.

OniBool FreenectDriver::Device::isCommandSupported ( int  commandId)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 183 of file DeviceDriver.cpp.

OniBool FreenectDriver::Device::isImageRegistrationModeSupported ( OniImageRegistrationMode  mode)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 53 of file DeviceDriver.cpp.

OniBool FreenectDriver::Device::isPropertySupported ( int  propertyId)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 104 of file DeviceDriver.cpp.

OniStatus FreenectDriver::Device::setProperty ( int  propertyId,
const void *  data,
int  dataSize 
)
inlinevirtual

Reimplemented from oni::driver::DeviceBase.

Definition at line 144 of file DeviceDriver.cpp.

void FreenectDriver::Device::VideoCallback ( void *  data,
uint32_t  timestamp 
)
inlineprivatevirtual

Reimplemented from Freenect::FreenectDevice.

Definition at line 37 of file DeviceDriver.cpp.

Member Data Documentation

ColorStream* FreenectDriver::Device::color
private

Definition at line 30 of file DeviceDriver.cpp.

DepthStream* FreenectDriver::Device::depth
private

Definition at line 31 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