STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::skeletons::skeletons_impl::memento_element< Spawner, S, Coord, In, Out > Struct Template Reference

a memento element is used in memento in order to reduce the compilation time by avoiding boost::bind. More...

Public Member Functions

 memento_element (Spawner spawner, S &skeleton, std::size_t lid_offset, Coord const &skeleton_size, Coord const &coord, In const &in, Out const &out, std::size_t cur_stage)
 
void operator() () override
 
void set_is_lazy (bool is_lazy) override
 
bool is_lazy () override
 

Detailed Description

template<typename Spawner, typename S, typename Coord, typename In, typename Out>
struct stapl::skeletons::skeletons_impl::memento_element< Spawner, S, Coord, In, Out >

a memento element is used in memento in order to reduce the compilation time by avoiding boost::bind.

A memento_element basically stores the spawning state of a skeleton and allows resuming of the spawning process at a later time.

Template Parameters
Spawnerthe spawner which was originally spawning the given skeleton.
Sthe skeleton which was paused
Coordthe coordinate information of the paused spawning process.
Inthe input flow to the paused spawning process.
Outthe output flow to the paused spawning process.

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