OpenNI/OpenNI — Issue #50: Recommand add GetContext() interface in C++
Author: KHeresy
Created: 2011-12-23 01:37:47+00:00
State: open

The interface to get context now is:

void ProductionNode::GetContext(Context& context) const

But in this way, user need to define a variable of context, and then assign value by GetContext.

Context xContext;
ProductionNode::GetContext( xContext );

But if ProductionNode can provide a interface like:

Context& ProductionNode::GetContext() const;

It should be more convenient to use.