XnBaseNode.h
Go to the documentation of this file.
/****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* *
* This file is part of OpenNI. *
* *
* OpenNI is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as published *
* by the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* OpenNI is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
* *
****************************************************************************/
#ifndef _NINODEALLOC_H
#define _NINODEALLOC_H
//---------------------------------------------------------------------------
// Includes
//---------------------------------------------------------------------------
#include <XnDataTypes.h>
//---------------------------------------------------------------------------
// Types
//---------------------------------------------------------------------------
typedef struct XnBaseNode
{
XnBaseNode* m_pNext;
XnBaseNode* m_pPrevious;
XnValue m_Data;
} XnBaseNode;
//---------------------------------------------------------------------------
// Exported Function Declaration
//---------------------------------------------------------------------------
XN_C_API XnBaseNode* XN_C_DECL xnAllocateBaseNode();
XN_C_API void XN_C_DECL xnDeallocateBaseNode(XnBaseNode* pNode);
#endif //_NINODEALLOC_H
xnDeallocateBaseNode
XN_C_API void XN_C_DECL xnDeallocateBaseNode(XnBaseNode *pNode)
xnAllocateBaseNode
XN_C_API XnBaseNode *XN_C_DECL xnAllocateBaseNode()
XnDataTypes.h
XnValue
void * XnValue
Definition XnDataTypes.h:36
XN_C_API
#define XN_C_API
Definition XnPlatform.h:132
XnBaseNode
Definition XnBaseNode.h:36
XnBaseNode::m_pNext
XnBaseNode * m_pNext
Definition XnBaseNode.h:38
XnBaseNode::m_pPrevious
XnBaseNode * m_pPrevious
Definition XnBaseNode.h:40
XnBaseNode::m_Data
XnValue m_Data
Definition XnBaseNode.h:42