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

Public Member Functions

zypp::CheckSum checksumFromFile (SyncContextRef &, const zypp::Pathname &path, const std::string &checksumType)
 
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< SyncCheckSumExecutor, SyncOp< expected< void > > >
 ZYPP_ENABLE_LOGIC_BASE (SyncCheckSumExecutor, SyncOp< expected< void > >)
 
 CheckSumWorkflowLogic (ZyppContextRefType zyppContext, zypp::CheckSum &&checksum, zypp::Pathname file)
 
auto execute ()
 
- Public Member Functions inherited from zyppng::LogicBase< SyncCheckSumExecutor, SyncOp< expected< void > > >
 LogicBase ()
 
virtual ~LogicBase ()
 
SyncCheckSumExecutor * executor ()
 
auto makeReadyResult (T &&res)
 
- 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< SyncCheckSumExecutor, SyncOp< expected< void > > >
using ZyppContextRefType
 
using ZyppContextType
 
using ProvideType
 
using MediaHandle
 
using ProvideRes
 
- Public Types inherited from zyppng::LogicBase< SyncCheckSumExecutor, SyncOp< expected< void > > >
using ExecutorType
 
using Result
 
using MaybeAsyncRef
 
- Public Types inherited from zyppng::SyncOp< expected< void > >
using value_type
 
- 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< SyncCheckSumExecutor, SyncOp< 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< SyncCheckSumExecutor, SyncOp< expected< void > > >
ZyppContextRefType _context
 
zypp::CheckSum _checksum
 
zypp::Pathname _file
 
- Protected Attributes inherited from zyppng::Base
std::unique_ptr< BasePrivated_ptr
 

Detailed Description

Definition at line 137 of file checksumwf.cc.

Member Function Documentation

◆ checksumFromFile()

zypp::CheckSum zyppng::CheckSumWorkflow::SyncCheckSumExecutor::checksumFromFile ( SyncContextRef & ,
const zypp::Pathname & path,
const std::string & checksumType )
inline

Definition at line 141 of file checksumwf.cc.

◆ askUserToAcceptNoDigest()

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

Definition at line 144 of file checksumwf.cc.

◆ askUserToAccepUnknownDigest()

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

Definition at line 148 of file checksumwf.cc.

◆ askUserToAcceptWrongDigest()

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

Definition at line 152 of file checksumwf.cc.


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