27 #ifndef COSMO_AUTO_RELEASE_POOL_INTERFACE_H
28 #define COSMO_AUTO_RELEASE_POOL_INTERFACE_H
30 #include <Pt/Cosmo/Api.h>
81 _pool->onAttachReleasable(*
this);
113 virtual void onRelease() = 0;
120 _pool->onDetachReleasable(*
this);
130 otherPool->onDetachReleasable(other);
134 _pool->onAttachReleasable(*
this);
151 #endif // include guard
Core module.
Definition: Allocator.h:33
Auto-release pool interface.
Definition: IAutoReleasePool.h:46
Auto-release pool implementation.
Definition: AutoReleasePool.h:45
Auto-releasable resource.
Definition: IAutoReleasePool.h:68