libzypp: zyppng::worker::ProvideWorkerItem Class Reference

libzypp 17.36.6

Public Types | Public Member Functions | Public Attributes | List of all members
zyppng::worker::ProvideWorkerItem Class Reference

`#include <zypp-media/ng/worker/provideworker.h>`

Inheritance diagram for zyppng::worker::ProvideWorkerItem:

## Public Types
enum | State { Pending , Running , Finished }
Public Types inherited from zyppng::Base
using | Ptr = std::shared_ptr<Base>
using | WeakPtr = std::weak_ptr<Base>

## Public Member Functions
| ProvideWorkerItem (ProvideMessage &&spec)
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
State | _state = Pending
ProvideMessage | _spec

## 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)
Protected Member Functions inherited from zyppng::Base
| Base (BasePrivate &dd)
Protected Attributes inherited from zyppng::Base
std::unique_ptr< BasePrivate > | d_ptr

## Detailed Description

Definition at line 50 of file provideworker.h.

## Member Enumeration Documentation

## ◆ State

enum zyppng::worker::ProvideWorkerItem::State

Enumerator
Pending |
Running |
Finished |

Definition at line 53 of file provideworker.h.

## Constructor & Destructor Documentation

## ◆ ProvideWorkerItem()

zyppng::worker::ProvideWorkerItem::ProvideWorkerItem | ( | ProvideMessage && | spec | ) |
| inline

Definition at line 59 of file provideworker.h.

## Member Data Documentation

## ◆ _state

State zyppng::worker::ProvideWorkerItem::_state = Pending

Definition at line 61 of file provideworker.h.

## ◆ _spec

ProvideMessage zyppng::worker::ProvideWorkerItem::_spec

Definition at line 62 of file provideworker.h.

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

- zypp-media/ng/worker/provideworker.h