ValueChangeTransaction< T > Class Template Reference

Helper class to provide transactional semantics for a value change. More...

#include <Component/ModelParam.H>

List of all members.

Public Member Functions

 ValueChangeTransaction (T *p, const T &newval)
void acceptChange ()

Detailed Description

template<class T>
class ValueChangeTransaction< T >

Helper class to provide transactional semantics for a value change.

The provisionally assigns a new value to a variable, but upon destruction (e.g. at block exit), the original value is restored unless the transaction has been explicitly accepted.

Definition at line 185 of file ModelParam.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:26:28 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3