DGtal 1.4.0
|
Aim: Defines the concept describing a cache read policy. More...
#include <DGtal/images/CImageCacheReadPolicy.h>
Public Types | |
typedef T::ImageContainer | ImageContainer |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CImageCacheReadPolicy) | |
void | checkConstConstraints () const |
Private Attributes | |
T | myT |
ImageContainer * | myIC |
T::Point | myPoint |
T::Domain | myDomain |
Aim: Defines the concept describing a cache read policy.
Description of concept 'CImageCacheReadPolicy'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Get page | x.getPage(p) | p of type Point | ImageContainer | p should be in a domain of the cache | get the alias on the image that contains the point p | ||
Get page | x.getPage(d) | d of type Domain | ImageContainer | d should be in a domain of the cache | get the alias on the image that matchs the domain d | ||
Get page to detach | x.getPageToDetach() | ImageContainer | get the alias on the image that we have to detach | ||||
Update cache | x.updateCache(d) | d of type Domain | update the cache with a new Domain d | ||||
Clear cache | x.clearCache() | clear the cache |
ImageCacheReadPolicyLAST, ImageCacheReadPolicyFIFO
T | the type that should be a model of CImageCacheReadPolicy. |
Definition at line 93 of file CImageCacheReadPolicy.h.
typedef T::ImageContainer DGtal::concepts::CImageCacheReadPolicy< T >::ImageContainer |
Definition at line 98 of file CImageCacheReadPolicy.h.
|
inline |
Definition at line 100 of file CImageCacheReadPolicy.h.
References DGtal::concepts::CImageCacheReadPolicy< T >::checkConstConstraints(), DGtal::concepts::CImageCacheReadPolicy< T >::myDomain, DGtal::concepts::CImageCacheReadPolicy< T >::myIC, DGtal::concepts::CImageCacheReadPolicy< T >::myPoint, DGtal::concepts::CImageCacheReadPolicy< T >::myT, and DGtal::concepts::ConceptUtils::sameType().
|
inline |
Definition at line 112 of file CImageCacheReadPolicy.h.
Referenced by DGtal::concepts::CImageCacheReadPolicy< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 121 of file CImageCacheReadPolicy.h.
Referenced by DGtal::concepts::CImageCacheReadPolicy< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 119 of file CImageCacheReadPolicy.h.
Referenced by DGtal::concepts::CImageCacheReadPolicy< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 120 of file CImageCacheReadPolicy.h.
Referenced by DGtal::concepts::CImageCacheReadPolicy< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 118 of file CImageCacheReadPolicy.h.
Referenced by DGtal::concepts::CImageCacheReadPolicy< T >::BOOST_CONCEPT_USAGE().