|
libzypp
17.35.14
|
#include <zypp-curl/ng/network/private/downloaderstates/final_p.h>

Public Member Functions | |
| FinishedState (NetworkRequestError &&error, DownloadPrivate &parent) | |
| void | enter () |
| void | exit () |
Public Member Functions inherited from zyppng::BasicState< DownloadPrivate, isFin > | |
| BasicState (DownloadPrivate &sm) | |
| BasicState (BasicState &&) noexcept=default | |
| ~BasicState () override | |
| BasicState & | operator= (BasicState &&) noexcept=default |
| DownloadPrivate & | stateMachine () |
| const DownloadPrivate & | stateMachine () 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) |
Public Attributes | |
| NetworkRequestError | _error |
Additional Inherited Members | |
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::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) |
Static Public Attributes inherited from zyppng::SimpleState< DownloadPrivate, Download::Finished, true > | |
| static constexpr auto | stateId |
Static Public Attributes inherited from zyppng::BasicState< DownloadPrivate, isFin > | |
| static constexpr bool | isFinal |
Protected Member Functions inherited from zyppng::Base | |
| Base (BasePrivate &dd) | |
Protected Attributes inherited from zyppng::Base | |
| std::unique_ptr< BasePrivate > | d_ptr |
Final state implementation, we enter this state as the very last step. It carries the result of the whole operation.
| zyppng::FinishedState::FinishedState | ( | NetworkRequestError && | error, |
| DownloadPrivate & | parent | ||
| ) |
Definition at line 16 of file final_p.cc.
| NetworkRequestError zyppng::FinishedState::_error |