MAUtil::PlaceholderPool Namespace Reference


Detailed Description

A dynamic pool of MoSync placeholder resource handles.

Such handles are used to construct new MoSync resources, such as images, sound clips or data objects.


Functions

MAHandle alloc ()
void put (MAHandle h)


Function Documentation

MAHandle MAUtil::PlaceholderPool::alloc  ) 
 

Retrieves and removes a MAHandle from the pool, or, if the pool is empty, allocates a new MAHandle.

void MAUtil::PlaceholderPool::put MAHandle  h  ) 
 

Adds a MAHandle to the pool. If the MAHandle refers to a valid MoSync Object, that object is destroyed.


Generated on Sat Feb 13 00:15:40 2010 for MoSync 2 beta 1 by  doxygen 1.4.6-NO