Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes | List of all members
FreenectDriver::VideoStream Class Referenceabstract

#include <VideoStream.hpp>

Inheritance diagram for FreenectDriver::VideoStream:
Inheritance graph
[legend]

Public Member Functions

void buildFrame (void *data, uint32_t timestamp)
 
virtual OniStatus getProperty (int propertyId, void *data, int *pDataSize)
 
OniBool isPropertySupported (int propertyId)
 
virtual OniStatus setProperty (int propertyId, const void *data, int dataSize)
 
OniStatus start ()
 
void stop ()
 
 VideoStream (Freenect::FreenectDevice *device)
 
- Public Member Functions inherited from oni::driver::StreamBase
virtual OniStatus convertDepthToColorCoordinates (StreamBase *, int, int, OniDepthPixel, int *, int *)
 
virtual int getRequiredFrameSize ()
 
virtual OniStatus invoke (int, void *, int)
 
virtual OniBool isCommandSupported (int)
 
virtual void notifyAllProperties ()
 
virtual void setNewFrameCallback (NewFrameCallback handler, void *pCookie)
 
virtual void setPropertyChangedCallback (PropertyChangedCallback handler, void *pCookie)
 
virtual void setServices (StreamServices *pStreamServices)
 
 StreamBase ()
 
virtual ~StreamBase ()
 

Protected Attributes

OniCropping cropping
 
Freenect::FreenectDevicedevice
 
bool mirroring
 
bool running
 
OniVideoMode video_mode
 

Static Protected Attributes

static const OniSensorType sensor_type
 

Private Member Functions

virtual void populateFrame (void *data, OniFrame *frame) const =0
 
virtual OniStatus setVideoMode (OniVideoMode requested_mode)=0
 

Private Attributes

unsigned int frame_id
 

Additional Inherited Members

- Protected Member Functions inherited from oni::driver::StreamBase
StreamServicesgetServices ()
 
void raiseNewFrame (OniFrame *pFrame)
 
void raisePropertyChanged (int propertyId, const void *data, int dataSize)
 

Detailed Description

Definition at line 10 of file VideoStream.hpp.

Constructor & Destructor Documentation

FreenectDriver::VideoStream::VideoStream ( Freenect::FreenectDevice device)
inline

Definition at line 27 of file VideoStream.hpp.

Member Function Documentation

void FreenectDriver::VideoStream::buildFrame ( void *  data,
uint32_t  timestamp 
)
inline

Definition at line 38 of file VideoStream.hpp.

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

Reimplemented from oni::driver::StreamBase.

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

Definition at line 79 of file VideoStream.hpp.

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

Reimplemented from oni::driver::StreamBase.

Definition at line 66 of file VideoStream.hpp.

virtual void FreenectDriver::VideoStream::populateFrame ( void *  data,
OniFrame frame 
) const
privatepure virtual
virtual OniStatus FreenectDriver::VideoStream::setProperty ( int  propertyId,
const void *  data,
int  dataSize 
)
inlinevirtual

Reimplemented from oni::driver::StreamBase.

Reimplemented in FreenectDriver::ColorStream.

Definition at line 126 of file VideoStream.hpp.

virtual OniStatus FreenectDriver::VideoStream::setVideoMode ( OniVideoMode  requested_mode)
privatepure virtual
OniStatus FreenectDriver::VideoStream::start ( )
inlinevirtual

Implements oni::driver::StreamBase.

Definition at line 57 of file VideoStream.hpp.

void FreenectDriver::VideoStream::stop ( )
inlinevirtual

Implements oni::driver::StreamBase.

Definition at line 62 of file VideoStream.hpp.

Member Data Documentation

OniCropping FreenectDriver::VideoStream::cropping
protected

Definition at line 23 of file VideoStream.hpp.

Freenect::FreenectDevice* FreenectDriver::VideoStream::device
protected

Definition at line 20 of file VideoStream.hpp.

unsigned int FreenectDriver::VideoStream::frame_id
private

Definition at line 13 of file VideoStream.hpp.

bool FreenectDriver::VideoStream::mirroring
protected

Definition at line 24 of file VideoStream.hpp.

bool FreenectDriver::VideoStream::running
protected

Definition at line 21 of file VideoStream.hpp.

const OniSensorType FreenectDriver::VideoStream::sensor_type
staticprotected

Definition at line 19 of file VideoStream.hpp.

OniVideoMode FreenectDriver::VideoStream::video_mode
protected

Definition at line 22 of file VideoStream.hpp.


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