Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PkgDuSlave Class Reference

PMPackage helper to calculate and provide du information. More...

#include <PkgDu.h>

List of all members.

Private Types

typedef PkgDuMaster::MountPoint MountPoint

Private Member Functions

PkgDuSlaveoperator= (const PkgDuSlave &)
 PkgDuSlave (const PkgDuSlave &)
 PkgDuSlave ()
 ~PkgDuSlave ()
bool sync (const PMPackage &pkg_r, PkgDuMaster &master_r) const
bool add (const PMPackage &pkg_r, PkgDuMaster &master_r) const
bool sub (const PMPackage &pkg_r, PkgDuMaster &master_r) const

Private Attributes

unsigned _count
FSize_data


Detailed Description

PMPackage helper to calculate and provide du information.


Member Typedef Documentation

typedef PkgDuMaster::MountPoint PkgDuSlave::MountPoint [private]
 


Constructor & Destructor Documentation

PkgDuSlave::PkgDuSlave const PkgDuSlave  )  [private]
 

PkgDuSlave::PkgDuSlave  )  [private]
 

PkgDuSlave::~PkgDuSlave  )  [private]
 


Member Function Documentation

bool PkgDuSlave::add const PMPackage pkg_r,
PkgDuMaster master_r
const [private]
 

Sync, and add available data to PkgDuMasters statistics. Return true if there were data to contribute.

PkgDuSlave& PkgDuSlave::operator= const PkgDuSlave  )  [private]
 

bool PkgDuSlave::sub const PMPackage pkg_r,
PkgDuMaster master_r
const [private]
 

Sync, and subtract available data from PkgDuMasters statistics. Return true if there were data to contribute.

bool PkgDuSlave::sync const PMPackage pkg_r,
PkgDuMaster master_r
const [private]
 

Ckeck whether in sync with PkgDuMaster. If not recompute data. Return true if there are data to contribute.


Member Data Documentation

unsigned PkgDuSlave::_count [mutable, private]
 

Last PkgDuMaster synccount

FSize* PkgDuSlave::_data [mutable, private]
 

Data computed according to last PkgDuMaster


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6