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 |
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.
Spawner | the spawner which was originally spawning the given skeleton. |
S | the skeleton which was paused |
Coord | the coordinate information of the paused spawning process. |
In | the input flow to the paused spawning process. |
Out | the output flow to the paused spawning process. |