OpenNI 1.3.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Include
IXnNodeAllocator.h
Go to the documentation of this file.
1
/****************************************************************************
2
* *
3
* OpenNI 1.1 Alpha *
4
* Copyright (C) 2011 PrimeSense Ltd. *
5
* *
6
* This file is part of OpenNI. *
7
* *
8
* OpenNI is free software: you can redistribute it and/or modify *
9
* it under the terms of the GNU Lesser General Public License as published *
10
* by the Free Software Foundation, either version 3 of the License, or *
11
* (at your option) any later version. *
12
* *
13
* OpenNI is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16
* GNU Lesser General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU Lesser General Public License *
19
* along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
20
* *
21
****************************************************************************/
22
#ifndef _ININODEALLOCATOR_H
23
#define _ININODEALLOCATOR_H
24
25
//---------------------------------------------------------------------------
26
// Types
27
//---------------------------------------------------------------------------
28
class
XnNode
;
29
33
class
INiNodeAllocator
34
{
35
public
:
36
virtual
~INiNodeAllocator
() {}
37
43
virtual
XnNode
*
Allocate
() = 0;
44
50
virtual
void
Deallocate
(
XnNode
*pNode) = 0;
51
};
52
53
#endif //_ININODEALLOCATOR_H
Generated on Sat Jul 21 2012 03:52:39 for OpenNI 1.3.2 by
1.8.1.1