CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet > Class Template Reference

A mixin for height-based touching. More...

Inheritance diagram for catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >:

Public Member Functions

 HeightBasedTouchMixin (TSet &set, THeightGroupedSet &heightGroupedSet)
 Creates a mixin around set and heightGroupedSet. More...
 
THeightGroupedSet::ElementType::Identifiers touch (Height height)
 Touches the cache at height and returns identifiers of all deactivating elements. More...
 

Private Attributes

TSet & m_set
 
THeightGroupedSet & m_heightGroupedSet
 

Detailed Description

template<typename TSet, typename THeightGroupedSet>
class catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >

A mixin for height-based touching.

Constructor & Destructor Documentation

◆ HeightBasedTouchMixin()

template<typename TSet , typename THeightGroupedSet >
catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >::HeightBasedTouchMixin ( TSet &  set,
THeightGroupedSet &  heightGroupedSet 
)
inline

Creates a mixin around set and heightGroupedSet.

Member Function Documentation

◆ touch()

template<typename TSet , typename THeightGroupedSet >
THeightGroupedSet::ElementType::Identifiers catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >::touch ( Height  height)
inline

Touches the cache at height and returns identifiers of all deactivating elements.

Here is the call graph for this function:

Member Data Documentation

◆ m_heightGroupedSet

template<typename TSet , typename THeightGroupedSet >
THeightGroupedSet& catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >::m_heightGroupedSet
private

◆ m_set

template<typename TSet , typename THeightGroupedSet >
TSet& catapult::cache::HeightBasedTouchMixin< TSet, THeightGroupedSet >::m_set
private

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