libzypp 17.34.1
zyppng::CheckSumWorkflow::AsyncCheckSumExecutor Struct Reference
Inheritance diagram for zyppng::CheckSumWorkflow::AsyncCheckSumExecutor:

Public Member Functions

bool askUserToAcceptNoDigest (const zypp::Pathname &file)
 
bool askUserToAccepUnknownDigest (const zypp::Pathname &file, const std::string &name)
 
bool askUserToAcceptWrongDigest (const zypp::Pathname &file, const std::string &requested, const std::string &found)
 
- Public Member Functions inherited from zyppng::CheckSumWorkflow::CheckSumWorkflowLogic< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
 ZYPP_ENABLE_LOGIC_BASE (AsyncCheckSumExecutor, AsyncOp< expected< void > >)
 
 CheckSumWorkflowLogic (ZyppContextRefType zyppContext, zypp::CheckSum &&checksum, zypp::Pathname file)
 
auto execute ()
 
- Public Member Functions inherited from zyppng::LogicBase< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
 LogicBase ()
 
virtual ~LogicBase ()
 
AsyncCheckSumExecutor * executor ()
 
auto makeReadyResult (T &&res)
 
- Public Member Functions inherited from zyppng::AsyncOp< expected< void > >
 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::CheckSumWorkflow::CheckSumWorkflowLogic< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
using ZyppContextRefType
 
using ZyppContextType
 
using ProvideType
 
using MediaHandle
 
using ProvideRes
 
- Public Types inherited from zyppng::LogicBase< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
using ExecutorType
 
using Result
 
using MaybeAsyncRef
 
- Public Types inherited from zyppng::AsyncOp< expected< void > >
using value_type
 
using Ptr
 
- 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< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
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)
 
- Protected Member Functions inherited from zyppng::Base
 Base (BasePrivate &dd)
 
- Protected Attributes inherited from zyppng::CheckSumWorkflow::CheckSumWorkflowLogic< AsyncCheckSumExecutor, AsyncOp< expected< void > > >
ZyppContextRefType _context
 
zypp::CheckSum _checksum
 
zypp::Pathname _file
 
- 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 112 of file checksumwf.cc.

Member Function Documentation

◆ askUserToAcceptNoDigest()

bool zyppng::CheckSumWorkflow::AsyncCheckSumExecutor::askUserToAcceptNoDigest ( const zypp::Pathname & file)
inline

Definition at line 116 of file checksumwf.cc.

◆ askUserToAccepUnknownDigest()

bool zyppng::CheckSumWorkflow::AsyncCheckSumExecutor::askUserToAccepUnknownDigest ( const zypp::Pathname & file,
const std::string & name )
inline

Definition at line 122 of file checksumwf.cc.

◆ askUserToAcceptWrongDigest()

bool zyppng::CheckSumWorkflow::AsyncCheckSumExecutor::askUserToAcceptWrongDigest ( const zypp::Pathname & file,
const std::string & requested,
const std::string & found )
inline

Definition at line 128 of file checksumwf.cc.


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