Telamon
Classes | Public Types | Public Member Functions | List of all members
telamon_simulator::OperationRecord< LockFree > Class Template Reference

A class which represents a single operation contained in a OperationRecordBox. More...

#include <OperationHelping.hh>

Classes

struct  Completed
 Meta data related to CAS which is complete. More...
 
struct  ExecutingCas
 Meta data related to CAS which is going to be executed. More...
 
struct  PostCas
 Meta data related to CAS which has already been executed. More...
 
struct  PreCas
 Meta data related to CAS which is still pending. More...
 

Public Types

using OperationState = std::variant< PreCas, ExecutingCas, PostCas, Completed >
 

Public Member Functions

 OperationRecord (int t_owner, OperationState t_state, const typename LockFree::Input &t_input)
 
 OperationRecord (const OperationRecord &copy, OperationState t_state)
 
 OperationRecord (OperationRecord &&) noexcept=default
 
 OperationRecord (const OperationRecord &)=default
 
bool operator== (const OperationRecord &rhs) const
 
bool operator!= (const OperationRecord &rhs) const
 
auto owner () const noexcept -> int
 
auto state () const noexcept -> OperationState
 
auto input () const noexcept -> const typename LockFree::Input &
 
void set_state (const OperationState &t_state) noexcept
 

Detailed Description

template<NormalizedRepresentation LockFree>
class telamon_simulator::OperationRecord< LockFree >

A class which represents a single operation contained in a OperationRecordBox.


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