|
libzypp 17.32.6
|
#include <zypp-media/ng/worker/mountingworker.h>

Public Member Functions | |
| MountingWorker (std::string_view workerName, DeviceDriverRef driver) | |
| ~MountingWorker () | |
| void | immediateShutdown () override |
Public Member Functions inherited from zyppng::worker::ProvideWorker | |
| ProvideWorker (std::string_view workerName) | |
| virtual | ~ProvideWorker () |
| RpcMessageStream::Ptr | messageStream () const |
| expected< void > | run (int recv=STDIN_FILENO, int send=STDOUT_FILENO) |
| std::deque< ProvideWorkerItemRef > & | requestQueue () |
| MediaChangeRes | requestMediaChange (const uint32_t id, const std::string &label, const int32_t mediaNr, const std::vector< std::string > &devices, const std::optional< std::string > &desc={}) |
| expected< AuthInfo > | requireAuthorization (const uint32_t id, const zypp::Url &url, const std::string &lastTriedUsername="", const int64_t lastTimestamp=-1, const std::map< std::string, std::string > &extraFields={}) |
| ProvideNotificatioMode | provNotificationMode () const |
| void | setProvNotificationMode (const ProvideNotificatioMode &provNotificationMode) |
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) |
Private Attributes | |
| DeviceDriverRef | _driver |
| bool | _devicesDetected = false |
Definition at line 21 of file mountingworker.h.
| zyppng::worker::MountingWorker::MountingWorker | ( | std::string_view | workerName, |
| DeviceDriverRef | driver ) |
Definition at line 20 of file mountingworker.cc.
| zyppng::worker::MountingWorker::~MountingWorker | ( | ) |
Definition at line 25 of file mountingworker.cc.
|
overridevirtual |
Called when the worker process exits
Reimplemented from zyppng::worker::ProvideWorker.
Definition at line 188 of file mountingworker.cc.
|
overrideprotectedvirtual |
Implements zyppng::worker::ProvideWorker.
Definition at line 30 of file mountingworker.cc.
|
overrideprotectedvirtual |
Automatically called whenever a new item is enqueued.
Implements zyppng::worker::ProvideWorker.
Definition at line 35 of file mountingworker.cc.
|
overrideprotected |
Definition at line 183 of file mountingworker.cc.
|
private |
Definition at line 36 of file mountingworker.h.
Definition at line 37 of file mountingworker.h.