NITE 1.5.1 - API Reference

XnVContextControl Class Reference

#include <XnVDeviceControl.h>

Inheritance diagram for XnVContextControl:
Collaboration diagram for XnVContextControl:

List of all members.

Public Member Functions

 XnVContextControl (const XnChar *strName="XnVContextControl")
virtual ~XnVContextControl ()
void Update (XnVMessage *pMessage)
virtual void Update (const xn::Context *pContext)=0

Detailed Description

A XnVContextControl is a Message Listener that expects Context Messages. It is meant to be a base class for Controls that are Context-based.

Definition at line 19 of file XnVDeviceControl.h.

Constructor & Destructor Documentation

XnVContextControl::XnVContextControl ( const XnChar *  strName = "XnVContextControl")

Constructor. Create a new Context Control

[in]strNameName of the control, for log purposes.
virtual XnVContextControl::~XnVContextControl ( ) [virtual]

Member Function Documentation

void XnVContextControl::Update ( XnVMessage pMessage) [virtual]

Handle a Message. This method extracts the inner Context, and calls the other Update method.

Implements XnVMessageListener.

Reimplemented in XnVSessionManager.

virtual void XnVContextControl::Update ( const xn::Context *  pContext) [pure virtual]

Handle a Context. This is the method users will implement.

Implemented in XnVDepthGenerator, XnVImageGenerator, and XnVSessionManager.

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