#include <SPCachedFactory.h>
Protected Types | |
typedef CallBackSP | ProductReturn |
Protected Member Functions | |
SmartPointer () | |
virtual | ~SmartPointer () |
ProductReturn | encapsulate (AbstractProduct *pProduct) |
AbstractProduct * | release (ProductReturn &pProduct) |
const char * | name () |
The object will come back to the Cache as soon as no more SmartPtr are referencing this object. You can customize the SmartPointer with the standard SmartPtr policies (OwnershipPolicy, ConversionPolicy, CheckingPolicy, ConstnessPolicy) but StoragePolicy is forced to FunctionStorage.
Definition at line 165 of file SPCachedFactory.h.