Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
steam::control::test::anonymous_namespace{memento-tie-test.cpp} Namespace Reference

Functions

void undo (short param, int memento)
 
int capture (short param)
 

Variables

int testVal =0
 used to verify the effect of testFunc
 
const size_t ALIGNMENT = sizeof(size_t)
 maximum additional storage maybe wasted due to alignment of the memento value within MementoTie
 

Function Documentation

◆ undo()

void undo ( short  param,
int  memento 
)
Parameters
mementosimulates "Undo" of the command operation

Definition at line 38 of file memento-tie-test.cpp.

References undo().

Referenced by undo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ capture()

int capture ( short  param)
Parameters
paramsimulates capturing the undo state

Definition at line 44 of file memento-tie-test.cpp.

Variable Documentation

◆ testVal

int testVal =0

used to verify the effect of testFunc

Definition at line 35 of file memento-tie-test.cpp.

◆ ALIGNMENT

const size_t ALIGNMENT = sizeof(size_t)

maximum additional storage maybe wasted due to alignment of the memento value within MementoTie

Definition at line 53 of file memento-tie-test.cpp.