kokkos-execution 0.0.1
Loading...
Searching...
No Matches
experimental::execution::detail::enter_scopes::state< Receiver, Senders > Class Template Reference

#include <enter_scopes.hpp>

Classes

struct  receiver_base_
struct  receiver_type_
struct  rollback_receiver_type_

Public Member Functions

constexpr state (Receiver r, Senders &&... senders) noexcept((std::is_nothrow_constructible_v< state_type_< Senders >, Senders, receiver_type_ > &&...))
constexpr void start () &noexcept

Private Types

using env_type_ = ::stdexec::env_of_t<Receiver>
template<typename S>
using state_type_ = enter_scope_sender_state<S, receiver_type_, rollback_receiver_type_>

Private Member Functions

constexpr bool is_complete_ () noexcept
constexpr void complete_ () noexcept
template<typename... Args>
constexpr void fail_ (Args &&... args) noexcept
constexpr void rollback_complete_ () noexcept

Private Attributes

Receiver r_
std::tuple< state_type_< Senders >... > states_
storage_for_completion_signatures<::stdexec::env_of_t< Receiver > >::template __f< Senders... > storage_
std::atomic< bool > stored_ {false}
std::atomic< std::size_t > outstanding_ {sizeof...(Senders)}

Detailed Description

template<typename Receiver, typename... Senders>
class experimental::execution::detail::enter_scopes::state< Receiver, Senders >

Definition at line 137 of file enter_scopes.hpp.

Member Typedef Documentation

◆ env_type_

template<typename Receiver, typename... Senders>
using experimental::execution::detail::enter_scopes::state< Receiver, Senders >::env_type_ = ::stdexec::env_of_t<Receiver>
private

Definition at line 138 of file enter_scopes.hpp.

◆ state_type_

template<typename Receiver, typename... Senders>
template<typename S>
using experimental::execution::detail::enter_scopes::state< Receiver, Senders >::state_type_ = enter_scope_sender_state<S, receiver_type_, rollback_receiver_type_>
private

Definition at line 161 of file enter_scopes.hpp.

Constructor & Destructor Documentation

◆ state()

template<typename Receiver, typename... Senders>
experimental::execution::detail::enter_scopes::state< Receiver, Senders >::state ( Receiver r,
Senders &&... senders )
inlineexplicitconstexprnoexcept

Definition at line 214 of file enter_scopes.hpp.

Member Function Documentation

◆ complete_()

template<typename Receiver, typename... Senders>
void experimental::execution::detail::enter_scopes::state< Receiver, Senders >::complete_ ( )
inlineconstexprprivatenoexcept

Definition at line 173 of file enter_scopes.hpp.

◆ fail_()

template<typename Receiver, typename... Senders>
template<typename... Args>
void experimental::execution::detail::enter_scopes::state< Receiver, Senders >::fail_ ( Args &&... args)
inlineconstexprprivatenoexcept

Definition at line 201 of file enter_scopes.hpp.

◆ is_complete_()

template<typename Receiver, typename... Senders>
bool experimental::execution::detail::enter_scopes::state< Receiver, Senders >::is_complete_ ( )
inlineconstexprprivatenoexcept

Definition at line 169 of file enter_scopes.hpp.

◆ rollback_complete_()

template<typename Receiver, typename... Senders>
void experimental::execution::detail::enter_scopes::state< Receiver, Senders >::rollback_complete_ ( )
inlineconstexprprivatenoexcept

Definition at line 208 of file enter_scopes.hpp.

◆ start()

template<typename Receiver, typename... Senders>
void experimental::execution::detail::enter_scopes::state< Receiver, Senders >::start ( ) &
inlineconstexprnoexcept

Definition at line 224 of file enter_scopes.hpp.

Member Data Documentation

◆ outstanding_

template<typename Receiver, typename... Senders>
std::atomic<std::size_t> experimental::execution::detail::enter_scopes::state< Receiver, Senders >::outstanding_ {sizeof...(Senders)}
private

Definition at line 167 of file enter_scopes.hpp.

◆ r_

template<typename Receiver, typename... Senders>
Receiver experimental::execution::detail::enter_scopes::state< Receiver, Senders >::r_
private

Definition at line 162 of file enter_scopes.hpp.

◆ states_

template<typename Receiver, typename... Senders>
std::tuple<state_type_<Senders>...> experimental::execution::detail::enter_scopes::state< Receiver, Senders >::states_
private

Definition at line 163 of file enter_scopes.hpp.

◆ storage_

template<typename Receiver, typename... Senders>
storage_for_completion_signatures<::stdexec::env_of_t<Receiver>>::template __f<Senders...> experimental::execution::detail::enter_scopes::state< Receiver, Senders >::storage_
private

Definition at line 165 of file enter_scopes.hpp.

◆ stored_

template<typename Receiver, typename... Senders>
std::atomic<bool> experimental::execution::detail::enter_scopes::state< Receiver, Senders >::stored_ {false}
private

Definition at line 166 of file enter_scopes.hpp.


The documentation for this class was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/stdexec/P3955/enter_scopes.hpp