VISH  0.2
Public Member Functions | Protected Attributes
MemCore::AlzheimerCreator Class Reference

A Creator object which forgets its data when memory is going low. More...

#include </home/werner/origo/vish/memcore/AlzheimerCreator.hpp>

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

A Creator object which forgets its data when memory is going low.

Derive from Creator<Object> instead?


Constructor & Destructor Documentation

MemCore::AlzheimerCreator::AlzheimerCreator ( const RefPtr< Object > &  D,
const WeakPtr< Cache > &  cache 
) [inline]

Construct a creator with optional data object.

Note:
The constructor does not yet activate memory management for the data object. The activateCaching() needs to be called explicitely AFTER there exists at least one strong reference pointer to the data object and to the Creator object (`this' object). This cannot be done at the constructor, because there is not yet any strong reference pointer that keeps the Creator object alive!

The documentation for this class was generated from the following file: