libzypp 17.31.23
zyppng::AttachedMediaInfo Struct Reference

#include </home/abuild/rpmbuild/BUILD/libzypp-17.31.23/zypp-media/ng/private/attachedmediainfo_p.h>

Public Member Functions

void ref ()
 
void unref ()
 
bool isSameMedium (const std::vector< zypp::Url > &urls, const ProvideMediaSpec &spec)
 

Public Attributes

std::string _name
 
ProvideQueueWeakRef _backingQueue
 
ProvideQueue::Config::WorkerType _workerType
 
zypp::Url _attachedUrl
 
ProvideMediaSpec _spec
 
uint _refCount = 0
 
std::chrono::steady_clock::time_point _idleSince = std::chrono::steady_clock::time_point::max()
 

Detailed Description

Definition at line 27 of file attachedmediainfo_p.h.

Member Function Documentation

◆ ref()

void zyppng::AttachedMediaInfo::ref ( )
inline

Definition at line 30 of file attachedmediainfo_p.h.

◆ unref()

void zyppng::AttachedMediaInfo::unref ( )
inline

Definition at line 36 of file attachedmediainfo_p.h.

◆ isSameMedium()

bool zyppng::AttachedMediaInfo::isSameMedium ( const std::vector< zypp::Url > &  urls,
const ProvideMediaSpec spec 
)
inline

Returns true if other requests the same medium as this instance

Definition at line 48 of file attachedmediainfo_p.h.

Member Data Documentation

◆ _name

std::string zyppng::AttachedMediaInfo::_name

Definition at line 58 of file attachedmediainfo_p.h.

◆ _backingQueue

ProvideQueueWeakRef zyppng::AttachedMediaInfo::_backingQueue

Definition at line 59 of file attachedmediainfo_p.h.

◆ _workerType

ProvideQueue::Config::WorkerType zyppng::AttachedMediaInfo::_workerType

Definition at line 60 of file attachedmediainfo_p.h.

◆ _attachedUrl

zypp::Url zyppng::AttachedMediaInfo::_attachedUrl

Definition at line 61 of file attachedmediainfo_p.h.

◆ _spec

ProvideMediaSpec zyppng::AttachedMediaInfo::_spec

Definition at line 62 of file attachedmediainfo_p.h.

◆ _refCount

uint zyppng::AttachedMediaInfo::_refCount = 0

Definition at line 63 of file attachedmediainfo_p.h.

◆ _idleSince

std::chrono::steady_clock::time_point zyppng::AttachedMediaInfo::_idleSince = std::chrono::steady_clock::time_point::max()

Definition at line 64 of file attachedmediainfo_p.h.


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