#include <common.h>
Public Member Functions | |
| slice_generator (const GeneratorValue &aGV) | |
| void | store (const GeneratorValue &aGV) |
| slice_generator | snapshot (void) const |
| const GeneratorValue & | value (void) const |
| Non-atomic accessor, for when only one thread is there. | |
| template<class Iter> | |
| bool | cas (typename atomic< Iter >::atomic_type *ItPtr, Iter ItOld, Iter ItNew, const slice_generator &SgOld, const slice_generator &SgNew) |
Private Member Functions | |
| slice_generator () | |
Private Attributes | |
| atomic< GeneratorValue >::atomic_type | _Gen |
| rpa::slice_generator< GeneratorValue >::slice_generator | ( | ) | [private] |
No default constructor : The construction is controlled by derived classes in the output sequences.
| rpa::slice_generator< GeneratorValue >::slice_generator | ( | const GeneratorValue & | aGV | ) | [inline] |
| bool rpa::slice_generator< GeneratorValue >::cas | ( | typename atomic< Iter >::atomic_type * | ItPtr, | |
| Iter | ItOld, | |||
| Iter | ItNew, | |||
| const slice_generator< GeneratorValue > & | SgOld, | |||
| const slice_generator< GeneratorValue > & | SgNew | |||
| ) | [inline] |
| slice_generator rpa::slice_generator< GeneratorValue >::snapshot | ( | void | ) | const [inline] |
| void rpa::slice_generator< GeneratorValue >::store | ( | const GeneratorValue & | aGV | ) | [inline] |
| const GeneratorValue& rpa::slice_generator< GeneratorValue >::value | ( | void | ) | const [inline] |
Non-atomic accessor, for when only one thread is there.
atomic< GeneratorValue >::atomic_type rpa::slice_generator< GeneratorValue >::_Gen [private] |
1.4.7