#include <FixGenerationSizeStrategy.h>
Inherits IGenerationSizeStrategy.
Inheritance diagram for FixGenerationSizeStrategy:


Public Member Functions | |
| FixGenerationSizeStrategy (int value) | |
| constructor | |
| virtual | ~FixGenerationSizeStrategy () |
| default destructor | |
| virtual int | calcGenerationSize (Generation *oldGeneration) |
| gives the fix value m_size as new generation size back. | |
Protected Attributes | |
| int | m_size |
| the fix generation size | |
| FixGenerationSizeStrategy | ( | int | value | ) |
constructor
| value | (int) the fix value which is every time give back by calcGenerationSize. |
| ~FixGenerationSizeStrategy | ( | ) | [virtual] |
default destructor
| int calcGenerationSize | ( | Generation * | oldGeneration | ) | [virtual] |
gives the fix value m_size as new generation size back.
| oldGeneration | (Generation*) the old Generation. dont needed |
Implements IGenerationSizeStrategy.
int m_size [protected] |
the fix generation size
1.4.7