libzypp  17.32.5
zyppng::KeyRingWorkflow::AsyncImportKeyFromRepoExecutor Struct Reference
Inheritance diagram for zyppng::KeyRingWorkflow::AsyncImportKeyFromRepoExecutor:

Public Member Functions

bool askUserToAcceptPackageKey (const zypp::PublicKey &key_r, const zypp::KeyContext &keycontext_r=zypp::KeyContext())
 
 ImportKeyFromRepoLogic (ZyppContextRefType context, std::string &&keyId, zypp::RepoInfo &&info)
 
- Public Member Functions inherited from zyppng::KeyRingWorkflow::ImportKeyFromRepoLogic< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
 ZYPP_ENABLE_LOGIC_BASE (AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool >)
 
 ImportKeyFromRepoLogic (ZyppContextRefType context, std::string &&keyId, zypp::RepoInfo &&info)
 
MaybeAsyncRef< boolexecute ()
 
- Public Member Functions inherited from zyppng::LogicBase< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
 LogicBase ()
 
virtual ~LogicBase ()
 
AsyncImportKeyFromRepoExecutor * executor ()
 
auto makeReadyResult (T &&res)
 
- Public Member Functions inherited from zyppng::AsyncOp< bool >
 AsyncOp ()=default
 
 AsyncOp (const AsyncOp &other)=delete
 
 AsyncOp (AsyncOp &&other) noexcept=default
 
AsyncOpoperator= (const AsyncOp &other)=delete
 
AsyncOpoperator= (AsyncOp &&other) noexcept=default
 
 ~AsyncOp () override
 
void setReady (value_type &&val)
 
bool isReady () const
 
void onReady (Fun &&cb)
 
value_typeget ()
 
- Public Member Functions inherited from zyppng::AsyncOpBase
virtual bool canCancel ()
 
virtual void cancel ()
 
SignalProxy< void()> sigStarted ()
 
SignalProxy< void(const std::string &, int, int)> sigProgress ()
 
SignalProxy< void()> sigReady ()
 
- Public Member Functions inherited from zyppng::Base
 Base ()
 
virtual ~Base ()
 
WeakPtr parent () const
 
void addChild (const Base::Ptr &child)
 
void removeChild (const Ptr &child)
 
const std::unordered_set< Ptr > & children () const
 
std::thread::id threadId () const
 
template<typename T >
std::vector< std::weak_ptr< T > > findChildren () const
 
template<typename T >
std::shared_ptr< T > shared_this () const
 
template<typename T >
std::shared_ptr< T > shared_this ()
 
template<typename T >
std::weak_ptr< T > weak_this () const
 
template<typename T >
std::weak_ptr< T > weak_this ()
 
template<typename SenderFunc , typename ReceiverFunc >
auto connect (SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc)
 
template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker>
std::enable_if_t< std::is_member_function_pointer_v< SenderFunc >, connectionconnectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers)
 

Additional Inherited Members

- Public Types inherited from zyppng::KeyRingWorkflow::ImportKeyFromRepoLogic< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
using ZyppContextRefType = MaybeAsyncContextRef< zyppng::AsyncOp< bool > >
 
using ZyppContextType = remove_smart_ptr_t< ZyppContextRefType >
 
using ProvideType = typename ZyppContextType::ProvideType
 
using MediaHandle = typename ProvideType::MediaHandle
 
using ProvideRes = typename ProvideType::Res
 
- Public Types inherited from zyppng::LogicBase< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
using ExecutorType = AsyncImportKeyFromRepoExecutor
 
using Result = typename zyppng::AsyncOp< bool > ::value_type
 
using MaybeAsyncRef = std::conditional_t< detail::is_async_op_v< zyppng::AsyncOp< bool > >, AsyncOpRef< Type >, Type >
 
- Public Types inherited from zyppng::AsyncOp< bool >
using value_type = bool
 
using Ptr = std::shared_ptr< AsyncOp< bool > >
 
- Public Types inherited from zyppng::Base
using Ptr = std::shared_ptr< Base >
 
using WeakPtr = std::weak_ptr< Base >
 
- Static Public Member Functions inherited from zyppng::LogicBase< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
static std::enable_if_t< detail::is_async_op_v< FOpType >, AsyncOpRef< Result > > run (Args &&...args)
 
static std::enable_if_t< !detail::is_async_op_v< FOpType >, Resultrun (Args &&...args)
 
- Static Public Member Functions inherited from zyppng::Base
template<typename Obj , typename Functor >
static decltype(auto) make_base_slot (Obj *o, Functor &&f)
 
template<typename SenderFunc , typename ReceiverFunc >
static auto connect (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc)
 
template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker>
static auto connectFunc (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers)
 
- Public Attributes inherited from zyppng::KeyRingWorkflow::ImportKeyFromRepoLogic< AsyncImportKeyFromRepoExecutor, zyppng::AsyncOp< bool > >
ZyppContextRefType _context
 
std::string _keyId
 
zypp::RepoInfo _repo
 
- Protected Member Functions inherited from zyppng::Base
 Base (BasePrivate &dd)
 
- Protected Attributes inherited from zyppng::AsyncOpBase
Signal< void()> _sigStarted
 
Signal< void()> _sigReady
 
Signal< void(const std::string &, int, int)> _sigProgress
 
- Protected Attributes inherited from zyppng::Base
std::unique_ptr< BasePrivated_ptr
 

Detailed Description

Definition at line 100 of file keyringwf.cc.

Member Function Documentation

◆ askUserToAcceptPackageKey()

bool zyppng::KeyRingWorkflow::AsyncImportKeyFromRepoExecutor::askUserToAcceptPackageKey ( const zypp::PublicKey key_r,
const zypp::KeyContext keycontext_r = zypp::KeyContext() 
)
inline

Definition at line 103 of file keyringwf.cc.

◆ ImportKeyFromRepoLogic()

Definition at line 40 of file keyringwf.cc.


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