direct.showbase.ObjectReport

from direct.showbase.ObjectReport import ExclusiveObjectPool, ObjectReport
>>> from direct.showbase import ObjectReport
>>> o=ObjectReport.ObjectReport('baseline')
>>> run()
...
>>> o2=ObjectReport.ObjectReport('')
>>> o.diff(o2)

Inheritance diagram

Inheritance diagram of direct.showbase.ObjectReport

class ExclusiveObjectPool(objects)[source]

Bases: DirectObject

__init__(self, objects)[source]
addExclObjs(*objs)[source]
destroy(self)[source]
diff(self, other)[source]
getObjsOfType(self, type)[source]
printObjsOfType(self, type)[source]
removeExclObjs(*objs)[source]
typeFreqStr(self)[source]
class ObjectReport(name, log=True)[source]

Bases: object

report on every Python object in the current process

__init__(self, name, log=True)[source]
destroy(self)[source]
diff(self, other)[source]
getObjectPool(self)[source]
notify = <direct.directnotify.Notifier.Notifier object>
typeFreqStr(self)[source]