Torque Game Engine Documentation
TGE Version 1.5.2
Torque Home
Class Hierarchy
Data Structures
Namespaces
Namespace Members
File List
Globals
IdGenerator Class Reference
#include <idGenerator.h>
Public Member Functions
IdGenerator
(
U32
base,
U32
numIds)
void
reset
()
U32
alloc
()
void
free
(
U32
id)
U32
numIdsUsed
()
Private Member Functions
void
reclaim
()
Private Attributes
U32
mIdBlockBase
U32
mIdRangeSize
Vector
<
U32
>
mPool
U32
mNextId
Constructor & Destructor Documentation
IdGenerator::IdGenerator
(
U32
base
,
U32
numIds
)
[inline]
Member Function Documentation
void
IdGenerator::reclaim
(
)
[private]
void
IdGenerator::reset
(
)
[inline]
U32
IdGenerator::alloc
(
)
[inline]
void
IdGenerator::free
(
U32
id
)
[inline]
U32
IdGenerator::numIdsUsed
(
)
[inline]
Field Documentation
U32
IdGenerator::mIdBlockBase
[private]
U32
IdGenerator::mIdRangeSize
[private]
Vector
<
U32
>
IdGenerator::mPool
[private]
U32
IdGenerator::mNextId
[private]
All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with
Doxygen