OpenNI 1.5.7
Macros | Typedefs | Functions
XnModuleCppRegistratration.h File Reference
#include "XnModuleCppInterface.h"
#include <XnUtils.h>

Go to the source code of this file.

Macros

#define XN_EXPORT_MODULE(ModuleClass)
 
#define XN_EXPORT_NODE(ExportedClass, nodeType)    _XN_EXPORT_NODE_COMMON(ExportedClass, nodeType)
 
#define XN_EXPORT_DEVICE(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_DEVICE)
 
#define XN_EXPORT_DEPTH(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_DEPTH)
 
#define XN_EXPORT_IMAGE(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_IMAGE)
 
#define XN_EXPORT_IR(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_IR)
 
#define XN_EXPORT_USER(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_USER)
 
#define XN_EXPORT_HANDS(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_HANDS)
 
#define XN_EXPORT_GESTURE(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_GESTURE)
 
#define XN_EXPORT_SCENE(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_SCENE)
 
#define XN_EXPORT_AUDIO(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_AUDIO)
 
#define XN_EXPORT_RECORDER(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_RECORDER)
 
#define XN_EXPORT_PLAYER(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_PLAYER)
 
#define XN_EXPORT_CODEC(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_CODEC)
 
#define XN_EXPORT_SCRIPT(ExportedClass)    _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_SCRIPT)
 
#define XN_MODULE_FUNC_TYPE   static
 

Typedefs

typedef void(* GetInterfaceFuncPtr) (void *pInterface)
 

Functions

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

Macro Definition Documentation

◆ XN_EXPORT_AUDIO

#define XN_EXPORT_AUDIO ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_AUDIO)

Exports an Audio generator from the DLL.

◆ XN_EXPORT_CODEC

#define XN_EXPORT_CODEC ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_CODEC)

◆ XN_EXPORT_DEPTH

#define XN_EXPORT_DEPTH ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_DEPTH)

Exports a depth generator from the DLL.

◆ XN_EXPORT_DEVICE

#define XN_EXPORT_DEVICE ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_DEVICE)

Exports a device node from the DLL.

◆ XN_EXPORT_GESTURE

#define XN_EXPORT_GESTURE ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_GESTURE)

◆ XN_EXPORT_HANDS

#define XN_EXPORT_HANDS ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_HANDS)

◆ XN_EXPORT_IMAGE

#define XN_EXPORT_IMAGE ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_IMAGE)

Exports an image generator from the DLL.

◆ XN_EXPORT_IR

#define XN_EXPORT_IR ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_IR)

Exports an IR generator from the DLL.

◆ XN_EXPORT_MODULE

#define XN_EXPORT_MODULE ( ModuleClass)
Value:
\
static ModuleClass __moduleInstance; \
static Module* _XN_MODULE_INST = &__moduleInstance;
Definition XnModuleCppInterface.h:47

Exports an OpenNI module from the DLL.

◆ XN_EXPORT_NODE

#define XN_EXPORT_NODE ( ExportedClass,
nodeType )    _XN_EXPORT_NODE_COMMON(ExportedClass, nodeType)

Exports a node from the DLL.

◆ XN_EXPORT_PLAYER

#define XN_EXPORT_PLAYER ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_PLAYER)

Exports a Player from the DLL.

◆ XN_EXPORT_RECORDER

#define XN_EXPORT_RECORDER ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_RECORDER)

Exports a Recorder from the DLL.

◆ XN_EXPORT_SCENE

#define XN_EXPORT_SCENE ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_SCENE)

◆ XN_EXPORT_SCRIPT

#define XN_EXPORT_SCRIPT ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_SCRIPT)

◆ XN_EXPORT_USER

#define XN_EXPORT_USER ( ExportedClass)     _XN_EXPORT_NODE_COMMON(ExportedClass, XN_NODE_TYPE_USER)

◆ XN_MODULE_FUNC_TYPE

#define XN_MODULE_FUNC_TYPE   static

Typedef Documentation

◆ GetInterfaceFuncPtr

typedef void(* GetInterfaceFuncPtr) (void *pInterface)

Function Documentation

◆ XN_MODULE_GET_EXPORTED_NODES_COUNT()

XN_MODULE_FUNC_TYPE XnUInt32 XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_COUNT ( )

◆ XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS()

XN_MODULE_FUNC_TYPE XnStatus XN_C_DECL XN_MODULE_GET_EXPORTED_NODES_ENTRY_POINTS ( XnModuleGetExportedInterfacePtr * aEntryPoints,
XnUInt32 nCount )

◆ XN_MODULE_GET_OPEN_NI_VERSION()

XN_MODULE_FUNC_TYPE void XN_C_DECL XN_MODULE_GET_OPEN_NI_VERSION ( XnVersion * pVersion)

◆ XN_MODULE_LOAD()

XN_MODULE_FUNC_TYPE XnStatus XN_C_DECL XN_MODULE_LOAD ( )

◆ XN_MODULE_UNLOAD()

XN_MODULE_FUNC_TYPE void XN_C_DECL XN_MODULE_UNLOAD ( )