#include <rampmode.h>

Public Member Functions | |
| size_t | activeLevel () const |
| Returns the lastly calculated memory level for the active status. | |
| size_t | normalLevel () const |
| Returns the lastly calculated memory level for the normal status. | |
| virtual void | onScanComplete ()=0 |
| Called when the scan is complete and there is the need for a new calculation. | |
| virtual void | onScanInit ()=0 |
| Called before starting a scan loop. | |
| RampMode () | |
| virtual void | reset () |
| Called when first set. | |
| virtual | ~RampMode () |
Protected Attributes | |
| size_t | m_active |
| size_t | m_normal |
The subclasses of this virtual class contain a configurable algorithm used by the Memory Pool to update its status after a succesful garbage collection.
| Falcon::RampMode::RampMode | ( | ) | [inline] |
| virtual Falcon::RampMode::~RampMode | ( | ) | [virtual] |
| size_t Falcon::RampMode::activeLevel | ( | ) | const [inline] |
Returns the lastly calculated memory level for the active status.
| size_t Falcon::RampMode::normalLevel | ( | ) | const [inline] |
Returns the lastly calculated memory level for the normal status.
| virtual void Falcon::RampMode::onScanComplete | ( | ) | [pure virtual] |
Called when the scan is complete and there is the need for a new calculation.
No need for parameters as mempool, memory sizes and statistics are globally available.
Implemented in Falcon::RampStrict, Falcon::RampLoose, and Falcon::RampSmooth.
| virtual void Falcon::RampMode::onScanInit | ( | ) | [pure virtual] |
Called before starting a scan loop.
No need for parameters as mempool, memory sizes and statistics are globally available.
Implemented in Falcon::RampStrict, Falcon::RampLoose, and Falcon::RampSmooth.
| virtual void Falcon::RampMode::reset | ( | ) | [virtual] |
size_t Falcon::RampMode::m_active [protected] |
size_t Falcon::RampMode::m_normal [protected] |
1.5.8