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

#include <OniDriverAPI.h>

Public Member Functions

virtual OniStatus convertC2DCoordinates (int, int, OniDepthPixel, int *, int *)
 
virtual OniStatus convertD2CCoordinates (int, int, OniDepthPixel, int *, int *)
 
virtual OniStatus convertDepthToColorCoordinates (StreamBase *, int, int, OniDepthPixel, int *, int *)
 
virtual OniStatus getProperty (int, void *, int *)
 
virtual int getRequiredFrameSize ()
 
virtual OniStatus invoke (int, void *, int)
 
virtual OniBool isCommandSupported (int)
 
virtual OniBool isPropertySupported (int)
 
virtual void notifyAllProperties ()
 
virtual void setNewFrameCallback (NewFrameCallback handler, void *pCookie)
 
virtual OniStatus setProperty (int, const void *, int)
 
virtual void setPropertyChangedCallback (PropertyChangedCallback handler, void *pCookie)
 
virtual void setServices (StreamServices *pStreamServices)
 
virtual OniStatus start ()=0
 
virtual void stop ()=0
 
 StreamBase ()
 
virtual ~StreamBase ()
 

Protected Member Functions

StreamServicesgetServices ()
 
void raiseNewFrame (OniFrame *pFrame)
 
void raisePropertyChanged (int propertyId, const void *data, int dataSize)
 

Private Attributes

NewFrameCallback m_newFrameCallback
 
voidm_newFrameCallbackCookie
 
PropertyChangedCallback m_propertyChangedCallback
 
voidm_propertyChangedCookie
 
StreamServicesm_pServices
 

Detailed Description

Definition at line 65 of file OniDriverAPI.h.

Constructor & Destructor Documentation

oni::driver::StreamBase::StreamBase ( )
inline

Definition at line 68 of file OniDriverAPI.h.

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

Definition at line 69 of file OniDriverAPI.h.

Member Function Documentation

virtual OniStatus oni::driver::StreamBase::convertC2DCoordinates ( int  ,
int  ,
OniDepthPixel  ,
int *  ,
int *   
)
inlinevirtual

Definition at line 91 of file OniDriverAPI.h.

virtual OniStatus oni::driver::StreamBase::convertD2CCoordinates ( int  ,
int  ,
OniDepthPixel  ,
int *  ,
int *   
)
inlinevirtual

Definition at line 93 of file OniDriverAPI.h.

virtual OniStatus oni::driver::StreamBase::convertDepthToColorCoordinates ( StreamBase ,
int  ,
int  ,
OniDepthPixel  ,
int *  ,
int *   
)
inlinevirtual

Definition at line 89 of file OniDriverAPI.h.

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

Definition at line 74 of file OniDriverAPI.h.

virtual int oni::driver::StreamBase::getRequiredFrameSize ( )
inlinevirtual

Definition at line 79 of file OniDriverAPI.h.

StreamServices& oni::driver::StreamBase::getServices ( )
inlineprotected

Definition at line 98 of file OniDriverAPI.h.

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

Definition at line 76 of file OniDriverAPI.h.

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

Definition at line 77 of file OniDriverAPI.h.

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

Definition at line 75 of file OniDriverAPI.h.

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

Definition at line 87 of file OniDriverAPI.h.

void oni::driver::StreamBase::raiseNewFrame ( OniFrame pFrame)
inlineprotected

Definition at line 95 of file OniDriverAPI.h.

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

Definition at line 96 of file OniDriverAPI.h.

virtual void oni::driver::StreamBase::setNewFrameCallback ( NewFrameCallback  handler,
void pCookie 
)
inlinevirtual

Definition at line 84 of file OniDriverAPI.h.

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

Definition at line 73 of file OniDriverAPI.h.

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

Definition at line 85 of file OniDriverAPI.h.

virtual void oni::driver::StreamBase::setServices ( StreamServices pStreamServices)
inlinevirtual

Definition at line 71 of file OniDriverAPI.h.

virtual OniStatus oni::driver::StreamBase::start ( )
pure virtual
virtual void oni::driver::StreamBase::stop ( )
pure virtual

Member Data Documentation

NewFrameCallback oni::driver::StreamBase::m_newFrameCallback
private

Definition at line 102 of file OniDriverAPI.h.

void* oni::driver::StreamBase::m_newFrameCallbackCookie
private

Definition at line 103 of file OniDriverAPI.h.

PropertyChangedCallback oni::driver::StreamBase::m_propertyChangedCallback
private

Definition at line 104 of file OniDriverAPI.h.

void* oni::driver::StreamBase::m_propertyChangedCookie
private

Definition at line 105 of file OniDriverAPI.h.

StreamServices* oni::driver::StreamBase::m_pServices
private

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