#include <astra_frame_listener.h>
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< AstraTimerFilter > | timer_filter_ |
bool | user_device_timer_ |
Definition at line 49 of file astra_frame_listener.h.
astra_wrapper::AstraFrameListener::AstraFrameListener | ( | ) |
Definition at line 46 of file astra_frame_listener.cpp.
|
inlinevirtual |
Definition at line 54 of file astra_frame_listener.h.
|
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.
|
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.
|
private |
Definition at line 69 of file astra_frame_listener.h.
|
private |
Definition at line 67 of file astra_frame_listener.h.
|
private |
Definition at line 74 of file astra_frame_listener.h.
|
private |
Definition at line 72 of file astra_frame_listener.h.
|
private |
Definition at line 71 of file astra_frame_listener.h.