Everett
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
everett::redundant_snapshot< P, Storage > Struct Template Reference

#include <redundant_runtime.h>

Classes

struct  state
 

Public Types

using policy_type = P
 
using storage_type = Storage
 
using query_type = cola_query_root< P, redundant_node< P, Storage > >
 
using object_pointer = std::shared_ptr< redundant_object< P, Storage > const >
 

Public Member Functions

std::uint64_t admissions () const noexcept
 
redundant_frontier< P, Storage > const & frontier () const &noexcept
 
redundant_frontier< P, Storage > const & frontier () const &&=delete
 
std::span< object_pointer const > runs () const &noexcept
 
std::span< object_pointer const > runs () const &&=delete
 
query_type const & query_root () const &noexcept
 
query_type const & query_root () const &&=delete
 
auto cursor (bit_view key) const
 
auto cursor_owned (bit_string key) const
 
bool same_layout (redundant_snapshot const &other) const noexcept
 

Static Public Member Functions

static redundant_snapshot restore (redundant_frontier< P, Storage > frontier, typename redundant_node< P, Storage >::pair_type head)
 

Private Member Functions

 redundant_snapshot (std::shared_ptr< state const > value)
 

Private Attributes

std::shared_ptr< state const > state_
 

Friends

template<class , class , class >
struct redundant_runtime
 

Member Typedef Documentation

◆ object_pointer

template<class P , class Storage = profile_runtime_storage<P>>
using everett::redundant_snapshot< P, Storage >::object_pointer = std::shared_ptr<redundant_object<P, Storage> const>

◆ policy_type

template<class P , class Storage = profile_runtime_storage<P>>
using everett::redundant_snapshot< P, Storage >::policy_type = P

◆ query_type

template<class P , class Storage = profile_runtime_storage<P>>
using everett::redundant_snapshot< P, Storage >::query_type = cola_query_root<P, redundant_node<P, Storage> >

◆ storage_type

template<class P , class Storage = profile_runtime_storage<P>>
using everett::redundant_snapshot< P, Storage >::storage_type = Storage

Constructor & Destructor Documentation

◆ redundant_snapshot()

template<class P , class Storage = profile_runtime_storage<P>>
everett::redundant_snapshot< P, Storage >::redundant_snapshot ( std::shared_ptr< state const >  value)
inlineexplicitprivate

Member Function Documentation

◆ admissions()

template<class P , class Storage = profile_runtime_storage<P>>
std::uint64_t everett::redundant_snapshot< P, Storage >::admissions ( ) const
inlinenoexcept

◆ cursor()

template<class P , class Storage = profile_runtime_storage<P>>
auto everett::redundant_snapshot< P, Storage >::cursor ( bit_view  key) const
inline

◆ cursor_owned()

template<class P , class Storage = profile_runtime_storage<P>>
auto everett::redundant_snapshot< P, Storage >::cursor_owned ( bit_string  key) const
inline

◆ frontier() [1/2]

template<class P , class Storage = profile_runtime_storage<P>>
redundant_frontier< P, Storage > const & everett::redundant_snapshot< P, Storage >::frontier ( ) const &&
delete

◆ frontier() [2/2]

template<class P , class Storage = profile_runtime_storage<P>>
redundant_frontier< P, Storage > const & everett::redundant_snapshot< P, Storage >::frontier ( ) const &
inlinenoexcept

◆ query_root() [1/2]

template<class P , class Storage = profile_runtime_storage<P>>
query_type const & everett::redundant_snapshot< P, Storage >::query_root ( ) const &&
delete

◆ query_root() [2/2]

template<class P , class Storage = profile_runtime_storage<P>>
query_type const & everett::redundant_snapshot< P, Storage >::query_root ( ) const &
inlinenoexcept

◆ restore()

template<class P , class Storage = profile_runtime_storage<P>>
static redundant_snapshot everett::redundant_snapshot< P, Storage >::restore ( redundant_frontier< P, Storage >  frontier,
typename redundant_node< P, Storage >::pair_type  head 
)
inlinestatic

◆ runs() [1/2]

template<class P , class Storage = profile_runtime_storage<P>>
std::span< object_pointer const > everett::redundant_snapshot< P, Storage >::runs ( ) const &&
delete

◆ runs() [2/2]

template<class P , class Storage = profile_runtime_storage<P>>
std::span< object_pointer const > everett::redundant_snapshot< P, Storage >::runs ( ) const &
inlinenoexcept

◆ same_layout()

template<class P , class Storage = profile_runtime_storage<P>>
bool everett::redundant_snapshot< P, Storage >::same_layout ( redundant_snapshot< P, Storage > const &  other) const
inlinenoexcept

Friends And Related Symbol Documentation

◆ redundant_runtime

template<class P , class Storage = profile_runtime_storage<P>>
template<class , class , class >
friend struct redundant_runtime
friend

Member Data Documentation

◆ state_

template<class P , class Storage = profile_runtime_storage<P>>
std::shared_ptr<state const> everett::redundant_snapshot< P, Storage >::state_
private

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