Skip to content

Commit

Permalink
Adding to C++ wrapper a method to access the underlying freenect_device
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph J Dillon <joe.robotics@hotmail.com> josephd
  • Loading branch information
josephd committed Nov 20, 2012
1 parent 9ab2c20 commit 0db382c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrappers/cpp/libfreenect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ namespace Freenect {
freenect_resolution getDepthResolution() {
return m_depth_resolution;
}
const freenect_device *getDevice() {
return m_dev;
}
// Do not call directly even in child
virtual void VideoCallback(void *video, uint32_t timestamp) = 0;
// Do not call directly even in child
Expand Down

0 comments on commit 0db382c

Please sign in to comment.