API FramePoolCollectionMixin CreatePool

Returns a frame pool within a collection of frame pools. pool = collection:CreatePool(frameType, parent, template [, resetterFunc, forbidden]) pool = collection:GetOrCreatePool(frameType, parent, template [, resetterFunc, forbidden]) collection:CreatePoolIfNeeded(frameType, parent, template [, resetterFunc, forbidden])

Arguments

 * frameType : - See.
 * parent : | - Required, even if, because the third argument is required.
 * template : - Identifies each pool within the collection.
 * resetterFunc : - See.
 * forbidden : - See.

Returns

 * pool : - FramePoolMixin

Details

 * Every pool in a collection is identified by its XML template, so unlike or  this argument is required.
 * GetOrCreatePool avoids overwriting an existing pool, which CreatePool would do.
 * CreatePoolIfNeeded also creates the pool if it does not exist, but without any return value.