Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::OpenNiAspect Class Reference

Thread aspect to get access to the OpenNI context. More...

#include <>>

Inheritance diagram for fawkes::OpenNiAspect:

Public Member Functions

 OpenNiAspect ()
 Constructor.
virtual ~OpenNiAspect ()
 Virtual empty destructor.
- Public Member Functions inherited from fawkes::Aspect
const std::list< const char * > & get_aspects () const
 Get list of aspect names attached to a aspected thread.

Protected Attributes

LockPtr< xn::Context > openni
 Central OpenNI context.

Friends

class OpenNiAspectIniFin

Additional Inherited Members

- Protected Member Functions inherited from fawkes::Aspect
void add_aspect (const char *name)
 Add an aspect to a thread.

Detailed Description

Thread aspect to get access to the OpenNI context.

Give this aspect to your thread to interact with the central OpenNI context. Use this as a last resort, first check if the desired information is available via the blackboard (e.g. user skeleton data) or via FireVision (camera images).

Author
Tim Niemueller

Definition at line 39 of file openni.h.

Constructor & Destructor Documentation

fawkes::OpenNiAspect::OpenNiAspect ( )

Constructor.

Definition at line 49 of file openni.cpp.

fawkes::OpenNiAspect::~OpenNiAspect ( )
virtual

Virtual empty destructor.

Definition at line 56 of file openni.cpp.

Member Data Documentation

fawkes:LockPtr< xn::Context > fawkes::OpenNiAspect::openni
protected

Central OpenNI context.

Make sure you use proper locking in your application when using the class, or chaos and havoc will come upon you.

Definition at line 48 of file openni.h.

Referenced by OpenNiDepthThread::init(), OpenNiImageThread::init(), OpenNiHandTrackerThread::init(), OpenNiUserTrackerThread::init(), OpenNiPointCloudThread::init(), OpenNiDepthThread::loop(), OpenNiImageThread::loop(), and OpenNiPointCloudThread::loop().


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