Public Member Functions | Protected Member Functions | Private Attributes | List of all members
oni::driver::DeviceBase Class Referenceabstract

#include <OniDriverAPI.h>

Inheritance diagram for oni::driver::DeviceBase:
Inheritance graph
[legend]

Public Member Functions

virtual StreamBasecreateStream (OniSensorType)=0
 
virtual void destroyStream (StreamBase *pStream)=0
 
 DeviceBase ()
 
virtual OniStatus getProperty (int, void *, int *)
 
virtual OniStatus getSensorInfoList (OniSensorInfo **pSensorInfos, int *numSensors)=0
 
virtual OniStatus invoke (int, void *, int)
 
virtual OniBool isCommandSupported (int)
 
virtual OniBool isImageRegistrationModeSupported (OniImageRegistrationMode mode)
 
virtual OniBool isPropertySupported (int)
 
virtual void notifyAllProperties ()
 
virtual OniStatus setProperty (int, const void *, int)
 
virtual void setPropertyChangedCallback (PropertyChangedCallback handler, void *pCookie)
 
virtual OniStatus tryManualTrigger ()
 
virtual ~DeviceBase ()
 

Protected Member Functions

void raisePropertyChanged (int propertyId, const void *data, int dataSize)
 

Private Attributes

PropertyChangedCallback m_propertyChangedCallback
 
voidm_propertyChangedCookie
 

Detailed Description

Definition at line 105 of file OniDriverAPI.h.

Constructor & Destructor Documentation

oni::driver::DeviceBase::DeviceBase ( )
inline

Definition at line 108 of file OniDriverAPI.h.

virtual oni::driver::DeviceBase::~DeviceBase ( )
inlinevirtual

Definition at line 109 of file OniDriverAPI.h.

Member Function Documentation

virtual StreamBase* oni::driver::DeviceBase::createStream ( OniSensorType  )
pure virtual

Implemented in FreenectDriver::Device.

virtual void oni::driver::DeviceBase::destroyStream ( StreamBase pStream)
pure virtual

Implemented in FreenectDriver::Device.

virtual OniStatus oni::driver::DeviceBase::getProperty ( int  ,
void ,
int *   
)
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 117 of file OniDriverAPI.h.

virtual OniStatus oni::driver::DeviceBase::getSensorInfoList ( OniSensorInfo **  pSensorInfos,
int *  numSensors 
)
pure virtual

Implemented in FreenectDriver::Device.

virtual OniStatus oni::driver::DeviceBase::invoke ( int  ,
void ,
int   
)
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 119 of file OniDriverAPI.h.

virtual OniBool oni::driver::DeviceBase::isCommandSupported ( int  )
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 120 of file OniDriverAPI.h.

virtual OniBool oni::driver::DeviceBase::isImageRegistrationModeSupported ( OniImageRegistrationMode  mode)
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 126 of file OniDriverAPI.h.

virtual OniBool oni::driver::DeviceBase::isPropertySupported ( int  )
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 118 of file OniDriverAPI.h.

virtual void oni::driver::DeviceBase::notifyAllProperties ( )
inlinevirtual

Definition at line 124 of file OniDriverAPI.h.

void oni::driver::DeviceBase::raisePropertyChanged ( int  propertyId,
const void data,
int  dataSize 
)
inlineprotected

Definition at line 129 of file OniDriverAPI.h.

virtual OniStatus oni::driver::DeviceBase::setProperty ( int  ,
const void ,
int   
)
inlinevirtual

Reimplemented in FreenectDriver::Device.

Definition at line 116 of file OniDriverAPI.h.

virtual void oni::driver::DeviceBase::setPropertyChangedCallback ( PropertyChangedCallback  handler,
void pCookie 
)
inlinevirtual

Definition at line 123 of file OniDriverAPI.h.

virtual OniStatus oni::driver::DeviceBase::tryManualTrigger ( )
inlinevirtual

Definition at line 121 of file OniDriverAPI.h.

Member Data Documentation

PropertyChangedCallback oni::driver::DeviceBase::m_propertyChangedCallback
private

Definition at line 132 of file OniDriverAPI.h.

void* oni::driver::DeviceBase::m_propertyChangedCookie
private

Definition at line 133 of file OniDriverAPI.h.


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


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Thu Jun 6 2019 19:25:39