#include <astra_frame_listener.h>
Public Member Functions | |
AstraFrameListener () | |
void | onNewFrame (openni::VideoStream &stream) |
void | setCallback (FrameCallbackFunction &callback) |
void | setUseDeviceTimer (bool enable) |
virtual | ~AstraFrameListener () |
Private Attributes | |
FrameCallbackFunction | callback_ |
openni::VideoFrameRef | m_frame |
double | prev_time_stamp_ |
boost::shared_ptr < AstraTimerFilter > | timer_filter_ |
bool | user_device_timer_ |
Definition at line 49 of file astra_frame_listener.h.
Definition at line 46 of file astra_frame_listener.cpp.
virtual astra_wrapper::AstraFrameListener::~AstraFrameListener | ( | ) | [inline, virtual] |
Definition at line 54 of file astra_frame_listener.h.
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.
Definition at line 69 of file astra_frame_listener.h.
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.