Freenect::Freenect< T > Class Template Reference

#include <libfreenect.hpp>

Inheritance diagram for Freenect::Freenect< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

T & createDevice (int _index)
void deleteDevice (int _index)
int deviceCount ()
 Freenect ()
void operator() ()
 ~Freenect ()

Static Public Member Functions

static void * pthread_callback (void *user_data)

Private Attributes

freenect_contextm_ctx
std::map< int, T * > m_devices
volatile bool m_stop
pthread_t m_thread

Detailed Description

template<class T>
class Freenect::Freenect< T >

Definition at line 113 of file libfreenect.hpp.


Constructor & Destructor Documentation

template<class T>
Freenect::Freenect< T >::Freenect (  )  [inline]

Definition at line 115 of file libfreenect.hpp.

template<class T>
Freenect::Freenect< T >::~Freenect (  )  [inline]

Definition at line 119 of file libfreenect.hpp.


Member Function Documentation

template<class T>
T& Freenect::Freenect< T >::createDevice ( int  _index  )  [inline]

Definition at line 127 of file libfreenect.hpp.

template<class T>
void Freenect::Freenect< T >::deleteDevice ( int  _index  )  [inline]

Definition at line 131 of file libfreenect.hpp.

template<class T>
int Freenect::Freenect< T >::deviceCount (  )  [inline]

Definition at line 134 of file libfreenect.hpp.

template<class T>
void Freenect::Freenect< T >::operator() (  )  [inline]

Definition at line 138 of file libfreenect.hpp.

template<class T>
static void* Freenect::Freenect< T >::pthread_callback ( void *  user_data  )  [inline, static]

Definition at line 143 of file libfreenect.hpp.


Member Data Documentation

template<class T>
freenect_context* Freenect::Freenect< T >::m_ctx [private]

Definition at line 148 of file libfreenect.hpp.

template<class T>
std::map<int, T*> Freenect::Freenect< T >::m_devices [private]

Definition at line 151 of file libfreenect.hpp.

template<class T>
volatile bool Freenect::Freenect< T >::m_stop [private]

Definition at line 149 of file libfreenect.hpp.

template<class T>
pthread_t Freenect::Freenect< T >::m_thread [private]

Definition at line 150 of file libfreenect.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


freenect
Author(s): Ivan Dryanovski
autogenerated on Fri Jan 11 09:12:33 2013