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

#include <OniDriverAPI.h>

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 108 of file OniDriverAPI.h.

Constructor & Destructor Documentation

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

Definition at line 111 of file OniDriverAPI.h.

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

Definition at line 112 of file OniDriverAPI.h.

Member Function Documentation

virtual StreamBase* oni::driver::DeviceBase::createStream ( OniSensorType  )
pure virtual
virtual void oni::driver::DeviceBase::destroyStream ( StreamBase pStream)
pure virtual
virtual OniStatus oni::driver::DeviceBase::getProperty ( int  ,
void ,
int *   
)
inlinevirtual

Definition at line 120 of file OniDriverAPI.h.

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

Definition at line 122 of file OniDriverAPI.h.

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

Definition at line 123 of file OniDriverAPI.h.

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

Definition at line 129 of file OniDriverAPI.h.

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

Definition at line 121 of file OniDriverAPI.h.

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

Definition at line 127 of file OniDriverAPI.h.

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

Definition at line 132 of file OniDriverAPI.h.

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

Definition at line 119 of file OniDriverAPI.h.

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

Definition at line 126 of file OniDriverAPI.h.

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

Definition at line 124 of file OniDriverAPI.h.

Member Data Documentation

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

Definition at line 135 of file OniDriverAPI.h.

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

Definition at line 136 of file OniDriverAPI.h.


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


astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34