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: direct.showbase.DirectObject.DirectObject

__init__(self, objects)[source]
classmethod addExclObjs(*objs)[source]
destroy(self)[source]
diff(self, other)[source]
getObjsOfType(self, type)[source]
printObjsOfType(self, type)[source]
classmethod 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]