23 #ifndef __PLUGINS_OPENNI_IMAGE_THREAD_H_ 24 #define __PLUGINS_OPENNI_IMAGE_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <core/utils/lockptr.h> 28 #include <aspect/logging.h> 29 #include <aspect/configurable.h> 30 #include <aspect/clock.h> 31 #include <aspect/blocked_timing.h> 32 #include <plugins/openni/aspect/openni.h> 35 #if defined(__linux__) && not defined(linux) 38 #if defined(__i386__) && not defined(i386) 41 #include <XnCppWrapper.h> 44 class SharedMemoryImageBuffer;
61 virtual void finalize();
64 protected:
virtual void run() { Thread::run(); }
67 xn::ImageGenerator *__image_gen;
68 xn::ImageMetaData *__image_md;
75 DEBAYER_NEAREST_NEIGHBOR,
79 CopyMode __cfg_copy_mode;
81 unsigned short int __usb_vendor;
82 unsigned short int __usb_product;
83 unsigned int __image_width;
84 unsigned int __image_height;
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to get access to the OpenNI context.
A class for handling time.
Thread class encapsulation of pthreads.
Thread aspect to use blocked timing.
Shared memory image buffer.
Thread aspect to log output.
Thread aspect to access configuration data.
virtual void run()
Stub to see name in backtrace for easier debugging.
OpenNI Image Provider Thread.