Inherits ObjectPool< T, ImageBufferInfo >.
|
|
delegate T | Factory (ImageBufferNativePool< T > pool, ImageBufferInfo info) |
| |
|
| ImageBufferNativePool (int capacity, Factory factory, string name) |
| |
|
| ImageBufferNativePool (int capacity, Factory factory, string name, ImageBufferInfo info) |
| |
| | ObjectPool (int capacity, string name) |
| | Create a new ObjectPool instance. Does not call Init(). More...
|
| |
| | ObjectPool (int capacity, string name, TInfo info) |
| | Create a new ObjectPool instance with the given info structure. Calls Init(). More...
|
| |
| void | Init (TInfo info) |
| | (Re-)Initializes this ObjectPool. More...
|
| |
| TType | AcquireOrCreate () |
| | Acquire an existing object, or create a new one if none are available. More...
|
| |
| TType | AcquireOrCreate (TInfo info) |
| | Acquire an existing object (if info matches), or create a new one from the passed info. More...
|
| |
| virtual bool | Release (TType obj, TInfo objInfo) |
| | Returns object to pool. More...
|
| |
| virtual bool | Release (TType obj) |
| | Returns object to pool, or destroys it if the pool is full. More...
|
| |
| void | Dispose () |
| | Free resources assoicated with this ObjectPool More...
|
| |
|
|
override T | createObject (ImageBufferInfo info) |
| |
|
override void | destroyObject (T obj) |
| |
|
override bool | infosMatch (ImageBufferInfo i0, ImageBufferInfo i1) |
| |
|
abstract TType | createObject (TInfo info) |
| |
|
abstract void | destroyObject (TType obj) |
| |
|
abstract bool | infosMatch (TInfo i0, TInfo i1) |
| |
|
|
int | capacity |
| |
|
TInfo | info |
| |
|
int | pos |
| |
|
string | name |
| |
| TInfo | Info [get] |
| | The property (info) that objects in this Pool must match. More...
|
| |