Public Member Functions | Private Attributes | List of all members
astra_wrapper::AstraFrameListener Class Reference

#include <astra_frame_listener.h>

Inheritance diagram for astra_wrapper::AstraFrameListener:
Inheritance graph
[legend]

Public Member Functions

 AstraFrameListener ()
 
void onNewFrame (openni::VideoStream &stream)
 
void setCallback (FrameCallbackFunction &callback)
 
void setUseDeviceTimer (bool enable)
 
virtual ~AstraFrameListener ()
 
- Public Member Functions inherited from openni::VideoStream::NewFrameListener
 NewFrameListener ()
 
virtual ~NewFrameListener ()
 

Private Attributes

FrameCallbackFunction callback_
 
openni::VideoFrameRef m_frame
 
double prev_time_stamp_
 
boost::shared_ptr< AstraTimerFiltertimer_filter_
 
bool user_device_timer_
 

Detailed Description

Definition at line 49 of file astra_frame_listener.h.

Constructor & Destructor Documentation

astra_wrapper::AstraFrameListener::AstraFrameListener ( )

Definition at line 46 of file astra_frame_listener.cpp.

virtual astra_wrapper::AstraFrameListener::~AstraFrameListener ( )
inlinevirtual

Definition at line 54 of file astra_frame_listener.h.

Member Function Documentation

void astra_wrapper::AstraFrameListener::onNewFrame ( openni::VideoStream )
virtual

Derived classes should implement this function to handle new frames.

Implements openni::VideoStream::NewFrameListener.

Definition at line 63 of file astra_frame_listener.cpp.

void astra_wrapper::AstraFrameListener::setCallback ( FrameCallbackFunction callback)
inline

Definition at line 59 of file astra_frame_listener.h.

void astra_wrapper::AstraFrameListener::setUseDeviceTimer ( bool  enable)

Definition at line 55 of file astra_frame_listener.cpp.

Member Data Documentation

FrameCallbackFunction astra_wrapper::AstraFrameListener::callback_
private

Definition at line 69 of file astra_frame_listener.h.

openni::VideoFrameRef astra_wrapper::AstraFrameListener::m_frame
private

Definition at line 67 of file astra_frame_listener.h.

double astra_wrapper::AstraFrameListener::prev_time_stamp_
private

Definition at line 74 of file astra_frame_listener.h.

boost::shared_ptr<AstraTimerFilter> astra_wrapper::AstraFrameListener::timer_filter_
private

Definition at line 72 of file astra_frame_listener.h.

bool astra_wrapper::AstraFrameListener::user_device_timer_
private

Definition at line 71 of file astra_frame_listener.h.


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


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