Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
McdCalc_Cached< Entry, Entries > Class Template Reference

#include <cache_adt.h>

Public Member Functions

 McdCalc_Cached ()
 
void notify_added (const Entry &entry)
 
void notify_decreased (const Entry &entry)
 
void notify_impending_increase_or_remove (const Entry &entry)
 
void notify_increased_or_removed (const Entry &entry)
 
float operator() (const Entries &entries)
 

Private Attributes

float min_credit_density
 
bool min_valid
 
bool is_min_entry
 

Constructor & Destructor Documentation

◆ McdCalc_Cached()

template<class Entry , class Entries >
McdCalc_Cached< Entry, Entries >::McdCalc_Cached ( )
inline

Member Function Documentation

◆ notify_added()

template<class Entry , class Entries >
void McdCalc_Cached< Entry, Entries >::notify_added ( const Entry entry)
inline

◆ notify_decreased()

template<class Entry , class Entries >
void McdCalc_Cached< Entry, Entries >::notify_decreased ( const Entry entry)
inline

◆ notify_impending_increase_or_remove()

template<class Entry , class Entries >
void McdCalc_Cached< Entry, Entries >::notify_impending_increase_or_remove ( const Entry entry)
inline

◆ notify_increased_or_removed()

template<class Entry , class Entries >
void McdCalc_Cached< Entry, Entries >::notify_increased_or_removed ( const Entry entry)
inline

◆ operator()()

template<class Entry , class Entries >
float McdCalc_Cached< Entry, Entries >::operator() ( const Entries &  entries)
inline

Member Data Documentation

◆ is_min_entry

template<class Entry , class Entries >
bool McdCalc_Cached< Entry, Entries >::is_min_entry
private

◆ min_credit_density

template<class Entry , class Entries >
float McdCalc_Cached< Entry, Entries >::min_credit_density
private

◆ min_valid

template<class Entry , class Entries >
bool McdCalc_Cached< Entry, Entries >::min_valid
private

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