libzypp: zypp/ng/workflows/logichelpers.h File Reference

libzypp 17.38.11

logichelpers.h File Reference
`#include <zypp-core/ng/async/awaitable.h>`
`#include <zypp/ng/context.h>`

Go to the source code of this file.

## Classes
struct | zyppng::detail::LogicBaseExec< Op, typename >
struct | zyppng::detail::LogicBaseExec< Op, std::enable_if_t< detail::is_async_op_v< Op > > >
struct | zyppng::MaybeAsyncMixin
struct | zyppng::LogicBase< Executor, OpType >
struct | zyppng::SyncOp< Result >
struct | zyppng::SimpleExecutor< Logic, OpType >

## Namespaces
namespace | zyppng
namespace | zyppng::detail

## Macros
#define | ZYPP_ENABLE_MAYBE_ASYNC_MIXIN(IsAsync)
#define | ZYPP_ENABLE_LOGIC_BASE(Executor, OpType)

## Macro Definition Documentation

## ◆ ZYPP_ENABLE_MAYBE_ASYNC_MIXIN

#define ZYPP_ENABLE_MAYBE_ASYNC_MIXIN | ( |  | IsAsync | ) |

Value:
template<class T> \
using MaybeAsyncRef = MaybeAwaitable<T>

Forward declares some convenience functions from MaybeAsyncMixin class so they can be used directly See MaybeAsyncMixin for documentation

Definition at line 51 of file logichelpers.h.

## ◆ ZYPP_ENABLE_LOGIC_BASE

#define ZYPP_ENABLE_LOGIC_BASE | ( |  | Executor,
|  |  | OpType )

Value:
using LogicBase<Executor, OpType>::executor; \
template<class T> \
using MaybeAsyncRef = typename LogicBase<Executor, OpType>:: template MaybeAsyncRef<T>

Forward declares some convenience functions from Base class so they can be used directly See LogicBase for documentation

Definition at line 210 of file logichelpers.h.