Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
PackageInstaller.PendingPackage Class Reference

Public Member Functions

def __init__ (self, packageName, version, host)
 
def __cmp__ (self, pp)
 
def checkDescFile (self)
 
def getDescFile (self, http)
 
def getProgress (self)
 

Public Attributes

 calledPackageFinished
 
 calledPackageStarted
 
 done
 
 downloadEffort
 
 host
 
 notified
 
 package
 
 packageName
 
 prevDownloadedEffort
 
 prevDownloadEffort
 
 success
 
 version
 

Static Public Attributes

 notify = directNotify.newCategory("PendingPackage")
 

Detailed Description

This class describes a package added to the installer for
download. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  packageName,
  version,
  host 
)

Member Function Documentation

◆ __cmp__()

def __cmp__ (   self,
  pp 
)
Python comparision function.  This makes all
PendingPackages withe same (packageName, version, host)
combination be deemed equivalent. 

◆ checkDescFile()

def checkDescFile (   self)
Returns true if the desc file is already downloaded
and good, or false if it needs to be downloaded. 

◆ getDescFile()

def getDescFile (   self,
  http 
)
Synchronously downloads the desc files required for
the package. 

◆ getProgress()

def getProgress (   self)
Returns the download progress of this package in the
range 0..1. 

Member Data Documentation

◆ calledPackageFinished

calledPackageFinished

◆ calledPackageStarted

calledPackageStarted

◆ done

done

◆ downloadEffort

downloadEffort

◆ host

host

◆ notified

notified

◆ notify

notify = directNotify.newCategory("PendingPackage")
static

◆ package

package

◆ packageName

packageName

◆ prevDownloadedEffort

prevDownloadedEffort

◆ prevDownloadEffort

prevDownloadEffort

◆ success

success

◆ version

version