XnModuleCppRegistratration.h File Reference

#include "XnModuleCppInterface.h"

Go to the source code of this file.

Defines

#define XN_EXPORT_MODULE(ModuleClass)
#define XN_EXPORT_DEVICE(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Device, __ModuleGetDeviceInterface)
#define XN_EXPORT_DEPTH(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Depth, __ModuleGetDepthGeneratorInterface)
#define XN_EXPORT_IMAGE(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Image, __ModuleGetImageGeneratorInterface)
#define XN_EXPORT_IR(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, IR, __ModuleGetIRGeneratorInterface)
#define XN_EXPORT_USER(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, User, __ModuleGetUserGeneratorInterface)
#define XN_EXPORT_HANDS(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Hands, __ModuleGetHandsGeneratorInterface)
#define XN_EXPORT_GESTURE(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Gesture, __ModuleGetGestureGeneratorInterface)
#define XN_EXPORT_SCENE(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Scene, __ModuleGetSceneAnalyzerInterface)
#define XN_EXPORT_AUDIO(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Audio, __ModuleGetAudioGeneratorInterface)
#define XN_EXPORT_RECORDER(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Recorder, __ModuleGetRecorderInterface)
#define XN_EXPORT_PLAYER(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Player, __ModuleGetPlayerInterface)
#define XN_EXPORT_CODEC(ExportedClass)   _XN_EXPORT_NODE_COMMON(ExportedClass, Codec, __ModuleGetCodecInterface)

Functions

XN_C_API_EXPORT XnStatus XN_C_DECL XN_MODULE_LOAD ()
XN_C_API_EXPORT void XN_C_DECL XN_MODULE_UNLOAD ()
XN_C_API_EXPORT XnUInt32 XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_COUNT ()
XN_C_API_EXPORT XnStatus XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS (XnModuleGetExportedInterfacePtr *aEntryPoints, XnUInt32 nCount)
XN_C_API_EXPORT void XN_C_DECL XN_MODULE_GET_OPEN_NI_VERSION (XnVersion *pVersion)

Define Documentation

#define XN_EXPORT_AUDIO ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Audio, __ModuleGetAudioGeneratorInterface)

Exports an Audio generator from the DLL.

#define XN_EXPORT_CODEC ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Codec, __ModuleGetCodecInterface)
#define XN_EXPORT_DEPTH ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Depth, __ModuleGetDepthGeneratorInterface)

Exports a depth generator from the DLL.

#define XN_EXPORT_DEVICE ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Device, __ModuleGetDeviceInterface)

Declare the static variable Exports a device node from the DLL.

#define XN_EXPORT_GESTURE ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Gesture, __ModuleGetGestureGeneratorInterface)
#define XN_EXPORT_HANDS ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Hands, __ModuleGetHandsGeneratorInterface)
#define XN_EXPORT_IMAGE ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Image, __ModuleGetImageGeneratorInterface)

Exports an image generator from the DLL.

#define XN_EXPORT_IR ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, IR, __ModuleGetIRGeneratorInterface)

Exports an IR generator from the DLL.

#define XN_EXPORT_MODULE ( ModuleClass   ) 
Value:
\
    static ModuleClass __moduleInstance;                                             \
    Module* _XN_MODULE_INST = &__moduleInstance;

Exports an OpenNI module from the DLL.

#define XN_EXPORT_PLAYER ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Player, __ModuleGetPlayerInterface)

Exports a Player from the DLL.

#define XN_EXPORT_RECORDER ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Recorder, __ModuleGetRecorderInterface)

Exports a Recorder from the DLL.

#define XN_EXPORT_SCENE ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, Scene, __ModuleGetSceneAnalyzerInterface)
#define XN_EXPORT_USER ( ExportedClass   )     _XN_EXPORT_NODE_COMMON(ExportedClass, User, __ModuleGetUserGeneratorInterface)

Function Documentation

XN_C_API_EXPORT XnUInt32 XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_COUNT (  ) 
XN_C_API_EXPORT XnStatus XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS ( XnModuleGetExportedInterfacePtr aEntryPoints,
XnUInt32  nCount 
)
XN_C_API_EXPORT void XN_C_DECL XN_MODULE_GET_OPEN_NI_VERSION ( XnVersion pVersion  ) 
XN_C_API_EXPORT XnStatus XN_C_DECL XN_MODULE_LOAD (  ) 
XN_C_API_EXPORT void XN_C_DECL XN_MODULE_UNLOAD (  ) 

Generated on 11 Feb 2011 for OpenNI 1.0.0 by  doxygen 1.6.1