#include <zypp-media/ng/private/attachedmediainfo_p.h>
|
| AttachedMediaInfo (const std::string &id, ProvideQueue::Config::WorkerType workerType, const zypp::Url &baseUrl, const std::vector< zypp::Url > &mirrors, ProvideMediaSpec &spec) |
|
| AttachedMediaInfo (const std::string &id, ProvideQueueWeakRef backingQueue, ProvideQueue::Config::WorkerType workerType, const zypp::Url &baseUrl, const std::vector< zypp::Url > &mirrors, const ProvideMediaSpec &mediaSpec, const std::optional< zypp::Pathname > &mnt={}) |
|
void | setName (std::string &&name) |
|
const std::string & | name () const |
|
zypp::Url | attachedUrl () const |
|
bool | isSameMedium (const std::vector< zypp::Url > &urls, const ProvideMediaSpec &spec) |
|
| ReferenceCounted () |
| Default ctor.
|
|
| ReferenceCounted (const ReferenceCounted &rhs) |
| Copy ctor.
|
|
virtual | ~ReferenceCounted () |
| Dtor.
|
|
ReferenceCounted & | operator= (const ReferenceCounted &) |
| Assignment.
|
|
unsigned | refCount () const |
| Return reference counter value.
|
|
void | ref () const |
| Add a reference.
|
|
void | unref () const |
| Release a reference.
|
|
|
void | unref_to (unsigned int refCnt) const override |
|
void | ref_to (unsigned refCnt) const override |
| Trigger derived classes after refCount was increased.
|
|
virtual std::ostream & | dumpOn (std::ostream &str) const |
| Overload to realize std::ostream & operator<<.
|
|
virtual void | unref_to (unsigned) const |
| Trigger derived classes after refCount was decreased.
|
|
Definition at line 31 of file attachedmediainfo_p.h.
◆ AttachedMediaInfo() [1/2]
◆ AttachedMediaInfo() [2/2]
◆ unref_to()
void zyppng::AttachedMediaInfo::unref_to |
( |
unsigned int | refCnt | ) |
const |
|
overrideprotected |
◆ ref_to()
void zyppng::AttachedMediaInfo::ref_to |
( |
unsigned | | ) |
const |
|
overrideprotectedvirtual |
◆ setName()
void zyppng::AttachedMediaInfo::setName |
( |
std::string && | name | ) |
|
◆ name()
const std::string & zyppng::AttachedMediaInfo::name |
( |
| ) |
const |
◆ attachedUrl()
zypp::Url zyppng::AttachedMediaInfo::attachedUrl |
( |
| ) |
const |
◆ isSameMedium() [1/2]
Returns true if other requests the same medium as this instance
Definition at line 73 of file attachedmediainfo.cc.
◆ isSameMedium() [2/2]
◆ _name
std::string zyppng::AttachedMediaInfo::_name |
◆ _backingQueue
ProvideQueueWeakRef zyppng::AttachedMediaInfo::_backingQueue |
◆ _workerType
◆ _mirrors
std::vector<zypp::Url> zyppng::AttachedMediaInfo::_mirrors |
◆ _spec
◆ _localMountPoint
std::optional<zypp::Pathname> zyppng::AttachedMediaInfo::_localMountPoint |
◆ _idleSince
std::optional<std::chrono::steady_clock::time_point> zyppng::AttachedMediaInfo::_idleSince |
|
mutable |
The documentation for this class was generated from the following files: