Fawkes API  Fawkes Development Version
fawkes::openni::SkelIfObserver Class Reference

Skeleton interface observer. More...

#include <>>

Inheritance diagram for fawkes::openni::SkelIfObserver:

List of all members.

Public Member Functions

 SkelIfObserver (BlackBoard *bb, UserMap &users)
 Constructor.
 ~SkelIfObserver ()
 Destructor.
virtual void bb_interface_created (const char *type, const char *id) throw ()
 BlackBoard interface created notification.
void process_queue ()
 Process internal queue.

Detailed Description

Skeleton interface observer.

This class opens all OpenNI skeleton interfaces and registers as an observer to open any newly opened interface.

Author:
Tim Niemueller

Constructor & Destructor Documentation

fawkes::openni::SkelIfObserver::SkelIfObserver ( BlackBoard bb,
UserMap users 
)
fawkes::openni::SkelIfObserver::~SkelIfObserver ( )

Destructor.

Definition at line 78 of file skel_if_observer.cpp.

References fawkes::BlackBoard::unregister_observer().


Member Function Documentation

void fawkes::openni::SkelIfObserver::bb_interface_created ( const char *  type,
const char *  id 
) throw () [virtual]

BlackBoard interface created notification.

This is called whenever an interface is created for a type that you registered for.

Parameters:
typetype of the interface. If you want to store this make a copy as it is not guaranteed that the supplied string exists for longer than the duration of the method call
idID of the newly created interface. If you want to store this make a copy as it is not guaranteed that the supplied string exists for longer than the duration of the method call

Reimplemented from fawkes::BlackBoardInterfaceObserver.

Definition at line 85 of file skel_if_observer.cpp.

void fawkes::openni::SkelIfObserver::process_queue ( )

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