Photon Voice v2.53

Public Member Functions | Properties | List of all members
ObjectFactory< TType, TInfo > Interface Template Reference

Uniform interface to ObjectPool<TType, TInfo> and single reusable object. More...

Inherits IDisposable.

Public Member Functions

TType New ()
 
TType New (TInfo info)
 
void Free (TType obj)
 
void Free (TType obj, TInfo info)
 

Properties

TInfo Info [get]
 

Detailed Description

Uniform interface to ObjectPool<TType, TInfo> and single reusable object.

Template Parameters
TTypeObject type.
TInfoType of property used to check 2 objects identity (like integral length of array).