|
void | initialize () override |
|
ProvidePromiseRef< ProvideRes > | promise () |
|
void | setMediaRef (Provide::MediaHandle &&hdl) |
|
Provide::MediaHandle & | mediaRef () |
|
ItemStats | makeStats () override |
|
zypp::ByteCount | bytesExpected () const override |
|
| ProvideItem (ProvidePrivate &parent) |
|
| ~ProvideItem () |
|
virtual void | released () |
|
State | state () const |
|
SignalProxy< void(ProvideItem &item, State oldState, State newState)> | sigStateChanged () |
|
ProvidePrivate & | provider () |
|
virtual bool | canRedirectTo (ProvideRequestRef startedReq, const zypp::Url &url) |
|
const std::optional< ItemStats > & | currentStats () const |
|
const std::optional< ItemStats > & | previousStats () const |
|
virtual std::chrono::steady_clock::time_point | startTime () const |
|
virtual std::chrono::steady_clock::time_point | finishedTime () const |
|
void | pulse () |
|
| 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) |
|
|
static ProvideFileItemRef | create (const std::vector< zypp::Url > &urls, const ProvideFileSpec &request, ProvidePrivate &parent) |
|
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) |
|
|
| ProvideFileItem (const std::vector< zypp::Url > &urls, const ProvideFileSpec &request, ProvidePrivate &parent) |
|
void | informalMessage (ProvideQueue &, ProvideRequestRef req, const ProvideMessage &msg) override |
|
void | finishReq (ProvideQueue &queue, ProvideRequestRef finishedReq, const ProvideMessage &msg) override |
|
void | cancelWithError (std::exception_ptr error) override |
|
expected< zypp::media::AuthData > | authenticationRequired (ProvideQueue &queue, ProvideRequestRef req, const zypp::Url &effectiveUrl, int64_t lastTimestamp, const std::map< std::string, std::string > &extraFields) override |
|
virtual void | finishReq (ProvideQueue &queue, ProvideRequestRef finishedReq, const ProvideMessage &msg) |
|
virtual void | finishReq (ProvideQueue *queue, ProvideRequestRef finishedReq, const std::exception_ptr excpt) |
|
virtual void | cacheMiss (ProvideRequestRef req) |
|
virtual void | finishReq (ProvideQueue *queue, ProvideRequestRef finishedReq, const std::exception_ptr excpt) |
|
bool | safeRedirectTo (ProvideRequestRef startedReq, const zypp::Url &url) |
|
void | redirectTo (ProvideRequestRef startedReq, const zypp::Url &url) |
|
virtual bool | enqueueRequest (ProvideRequestRef request) |
|
bool | dequeue () |
|
void | updateState (const State newState) |
|
void | setFinished () |
|
| Base (BasePrivate &dd) |
|
Item downloading and providing a file
Definition at line 133 of file provideitem_p.h.