This class is used to implement the FIFO cache policy. More...
#include <FIFOCachePolicy.h>
  
 Public Member Functions | |
| FIFOCachePolicy () | |
| Default constructor.  More... | |
| virtual | ~FIFOCachePolicy () | 
| Virtual destructor.  More... | |
Access Methods  | |
Method used to access the cache policy  | |
| virtual void | added (int value) | 
| Function used to add a new index to be controlled.  More... | |
| virtual void | update (int value) | 
| Function used to inform that an index must be updated.  More... | |
| virtual void | toRemove (int &value) | 
| Function used to check what index has to be removed from the cache.  More... | |
| virtual void | accessed (int value) | 
| Function used to inform that an index was accessed.  More... | |
Protected Attributes | |
| std::vector< int > | m_FIFO | 
This class is used to implement the FIFO cache policy.
Definition at line 48 of file FIFOCachePolicy.h.
| te::graph::FIFOCachePolicy::FIFOCachePolicy | ( | ) | 
Default constructor.
Definition at line 28 of file FIFOCachePolicy.cpp.
      
  | 
  virtual | 
Virtual destructor.
Definition at line 32 of file FIFOCachePolicy.cpp.
      
  | 
  virtual | 
Function used to inform that an index was accessed.
| value | Object index attribute | 
Implements te::graph::AbstractCachePolicy.
Definition at line 65 of file FIFOCachePolicy.cpp.
      
  | 
  virtual | 
Function used to add a new index to be controlled.
| value | Object index attribute | 
Implements te::graph::AbstractCachePolicy.
Definition at line 37 of file FIFOCachePolicy.cpp.
      
  | 
  virtual | 
Function used to check what index has to be removed from the cache.
| value | Object index attribute | 
Implements te::graph::AbstractCachePolicy.
Definition at line 58 of file FIFOCachePolicy.cpp.
      
  | 
  virtual | 
Function used to inform that an index must be updated.
| value | Object index attribute | 
Implements te::graph::AbstractCachePolicy.
Definition at line 42 of file FIFOCachePolicy.cpp.
      
  | 
  protected | 
Definition at line 100 of file FIFOCachePolicy.h.