Interface for objects that can be pooled. 更多...
#include <MediaObjectPool.h>
类 IMediaPoolable 继承关系图:Public 成员函数 | |
| virtual void | InitializePoolable () |
| Called when the object is removed from the pool. 更多... | |
| virtual bool | IsReadyForReuse () |
| Used to check if returned object is ready for reuse right away | |
| virtual void | ShutdownPoolable () |
| Called when the object added to the pool. 更多... | |
| virtual | ~IMediaPoolable () |
| Virtual destructor. | |
Interface for objects that can be pooled.
|
inlinevirtual |
Called when the object is removed from the pool.
Override this method to initialize a poolable object before it is being reused.
|
inlinevirtual |
Called when the object added to the pool.
Override this method to clean up a poolable object when it is no longer used.