Public Member Functions

XnVContextControl Class Reference

#include <XnVDeviceControl.h>

Inheritance diagram for XnVContextControl:
Inheritance graph
[legend]
Collaboration diagram for XnVContextControl:
Collaboration graph
[legend]

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

Parameters:
[in] strName Name 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.

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

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

Implemented in XnVDepthGenerator, and XnVImageGenerator.


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