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

#include <OniDriverAPI.h>

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

Public Member Functions

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::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
virtual int oni::driver::StreamBase::getRequiredFrameSize ( )
inlinevirtual

Definition at line 79 of file OniDriverAPI.h.

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

Definition at line 95 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
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 92 of file OniDriverAPI.h.

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

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

Reimplemented in FreenectDriver::VideoStream, and FreenectDriver::ColorStream.

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

Implemented in FreenectDriver::VideoStream.

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

Implemented in FreenectDriver::VideoStream.

Member Data Documentation

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

Definition at line 99 of file OniDriverAPI.h.

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

Definition at line 100 of file OniDriverAPI.h.

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

Definition at line 101 of file OniDriverAPI.h.

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

Definition at line 102 of file OniDriverAPI.h.

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

Definition at line 98 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 Mon Jun 10 2019 13:46:43