libzypp 17.37.17
|
#include <zypp/ng/workflows/downloadwf.h>
Public Types | |
using | ContextRefType = ZyppContextRefType |
using | ContextType = typename ZyppContextRefType::element_type |
using | ProvideType = typename ContextType::ProvideType |
using | MediaHandle = typename ProvideType::MediaHandle |
Public Types inherited from zyppng::Base | |
using | Ptr = std::shared_ptr<Base> |
using | WeakPtr = std::weak_ptr<Base> |
Public Member Functions | |
ZYPP_DECL_PRIVATE_CONSTR_ARGS (CacheProviderContext, ZyppContextRefType zyppContext, zypp::Pathname destDir) | |
const ContextRefType & | zyppContext () const |
const zypp::Pathname & | destDir () const |
void | addCacheDir (const zypp::Pathname &p) |
const std::vector< zypp::Pathname > & | cacheDirs () const |
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 >, connection > | connectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
Protected Member Functions | |
ZYPP_ADD_PRIVATE_CONSTR_HELPER () | |
Protected Member Functions inherited from zyppng::Base | |
Base (BasePrivate &dd) |
Protected Attributes | |
ContextRefType | _zyppContext |
zypp::Pathname | _destDir |
std::vector< zypp::Pathname > | _cacheDirs |
Protected Attributes inherited from zyppng::Base | |
std::unique_ptr< BasePrivate > | d_ptr |
Additional Inherited Members | |
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) |
Definition at line 27 of file downloadwf.h.
using zyppng::CacheProviderContext< ZyppContextRefType >::ContextRefType = ZyppContextRefType |
Definition at line 32 of file downloadwf.h.
using zyppng::CacheProviderContext< ZyppContextRefType >::ContextType = typename ZyppContextRefType::element_type |
Definition at line 33 of file downloadwf.h.
using zyppng::CacheProviderContext< ZyppContextRefType >::ProvideType = typename ContextType::ProvideType |
Definition at line 34 of file downloadwf.h.
using zyppng::CacheProviderContext< ZyppContextRefType >::MediaHandle = typename ProvideType::MediaHandle |
Definition at line 35 of file downloadwf.h.
|
protected |
zyppng::CacheProviderContext< ZyppContextRefType >::ZYPP_DECL_PRIVATE_CONSTR_ARGS | ( | CacheProviderContext< ZyppContextRefType > | , |
ZyppContextRefType | zyppContext, | ||
zypp::Pathname | destDir ) |
const CacheProviderContext< ZyppContextRefType >::ContextRefType & zyppng::CacheProviderContext< ZyppContextRefType >::zyppContext | ( | ) | const |
Definition at line 35 of file downloadwf.cc.
const zypp::Pathname & zyppng::CacheProviderContext< ZyppContextRefType >::destDir | ( | ) | const |
Definition at line 42 of file downloadwf.cc.
void zyppng::CacheProviderContext< ZyppContextRefType >::addCacheDir | ( | const zypp::Pathname & | p | ) |
Definition at line 48 of file downloadwf.cc.
const std::vector< zypp::Pathname > & zyppng::CacheProviderContext< ZyppContextRefType >::cacheDirs | ( | ) | const |
Definition at line 54 of file downloadwf.cc.
|
protected |
Definition at line 47 of file downloadwf.h.
|
protected |
Definition at line 48 of file downloadwf.h.
|
protected |
Definition at line 49 of file downloadwf.h.