Public Attributes

XnModuleExportedProductionNodeInterface Struct Reference

#include <XnModuleInterface.h>

List of all members.

Public Attributes

void(* GetDescription )(XnProductionNodeDescription *pDescription)
XnStatus(* EnumerateProductionTrees )(XnContext *pContext, XnNodeInfoList *pNodesList, XnEnumerationErrors *pErrors)
XnStatus(* Create )(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance)
void(* Destroy )(XnModuleNodeHandle hInstance)
union {
   void(*   Device )(XnModuleDeviceInterface *pInterface)
   void(*   Depth )(XnModuleDepthGeneratorInterface *pInterface)
   void(*   Image )(XnModuleImageGeneratorInterface *pInterface)
   void(*   IR )(XnModuleIRGeneratorInterface *pInterface)
   void(*   User )(XnModuleUserGeneratorInterface *pInterface)
   void(*   Hands )(XnModuleHandsGeneratorInterface *pInterace)
   void(*   Gesture )(XnModuleGestureGeneratorInterface *pInterface)
   void(*   Scene )(XnModuleSceneAnalyzerInterface *pInterface)
   void(*   Audio )(XnModuleAudioGeneratorInterface *pInterface)
   void(*   Recorder )(XnModuleRecorderInterface *pInterface)
   void(*   Player )(XnModulePlayerInterface *pInterface)
   void(*   Codec )(XnModuleCodecInterface *pInterface)
   void(*   General )(void *)
GetInterface

Member Data Documentation

XnStatus(* XnModuleExportedProductionNodeInterface::Create)(XnContext *pContext, const XnChar *strInstanceName, const XnChar *strCreationInfo, XnNodeInfoList *pNeededNodes, const XnChar *strConfigurationDir, XnModuleNodeHandle *phInstance)

Creates an instance of this generator.

Parameters:
pContext [in] Current OpenNI context
strInstanceName [in] The name of this new instance.
strCreationInfo [in] Optional creation info (returned from enumeration).
pNeededNodes [in] A list of inputs for this generator.
strConfigurationDir [in] The module configuration dir, or NULL if it doesn't have one.
phInstance [out] A handle to the created instance.

Destroys an instance previously created using Create().

Parameters:
hGenerator [in] A handle to the instance to be destroyed.

Find all tree possibilities for this production node.

Parameters:
pContext [in] Current OpenNI context
pNodesList [in] A list to be filled with production trees.
pErrors [in] Optional. An enumeration errors object to be passed to enumeration functions.

Gets a description of this generator.

Parameters:
pDescription [in/out] A struct to be filled with the description.

Fills a struct with the entire interface exported. The type of the struct passed to this function is determined according to the type this production node declares itself. For example, a depth generator will be passed a pointer to a XnModuleDepthGeneratorInterface struct.

Parameters:
pInterface [in/out] A pointer to a struct to be filled.

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