Planeshift
dtNodePool Class Reference

#include <DetourNode.h>

Public Member Functions

void clear ()
 
 dtNodePool (int maxNodes, int hashSize)
 
dtNodefindNode (dtPolyRef id)
 
dtNodeIndex getFirst (int bucket) const
 
int getHashSize () const
 
int getMaxNodes () const
 
int getMemUsed () const
 
dtNodeIndex getNext (int i) const
 
dtNodegetNode (dtPolyRef id)
 
dtNodegetNodeAtIdx (unsigned int idx)
 
const dtNodegetNodeAtIdx (unsigned int idx) const
 
unsigned int getNodeIdx (const dtNode *node) const
 
void operator= (const dtNodePool &)
 
 ~dtNodePool ()
 

Detailed Description

Definition at line 44 of file DetourNode.h.

Constructor & Destructor Documentation

dtNodePool::dtNodePool ( int  maxNodes,
int  hashSize 
)
dtNodePool::~dtNodePool ( )

Member Function Documentation

void dtNodePool::clear ( )
dtNode* dtNodePool::findNode ( dtPolyRef  id)
dtNodeIndex dtNodePool::getFirst ( int  bucket) const
inline

Definition at line 83 of file DetourNode.h.

int dtNodePool::getHashSize ( ) const
inline

Definition at line 82 of file DetourNode.h.

int dtNodePool::getMaxNodes ( ) const
inline

Definition at line 80 of file DetourNode.h.

int dtNodePool::getMemUsed ( ) const
inline

Definition at line 72 of file DetourNode.h.

dtNodeIndex dtNodePool::getNext ( int  i) const
inline

Definition at line 84 of file DetourNode.h.

dtNode* dtNodePool::getNode ( dtPolyRef  id)
dtNode* dtNodePool::getNodeAtIdx ( unsigned int  idx)
inline

Definition at line 60 of file DetourNode.h.

const dtNode* dtNodePool::getNodeAtIdx ( unsigned int  idx) const
inline

Definition at line 66 of file DetourNode.h.

unsigned int dtNodePool::getNodeIdx ( const dtNode node) const
inline

Definition at line 54 of file DetourNode.h.

void dtNodePool::operator= ( const dtNodePool )
inline

Definition at line 49 of file DetourNode.h.


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