|
Panda3D
|
Public Member Functions | |
| __init__ (self, objects) | |
| __len__ (self) | |
| destroy (self) | |
| diff (self, other) | |
| getObjsOfType (self, type) | |
| getTypes (self) | |
| printObjsByType (self) | |
| printObjsOfType (self, type) | |
| printReferrers (self, numEach=3) | |
| typeFreqStr (self) | |
Static Public Attributes | |
| notify = directNotify.newCategory('ObjectPool') | |
Protected Member Functions | |
| _getInternalObjs (self) | |
Protected Attributes | |
| dict | _count2types = {} |
| dict | _len2obj = {} |
| _objs = list(objects) | |
| dict | _type2objs = {} |
manipulate a pool of Python objects
| __init__ | ( | self, | |
| objects ) |
| __len__ | ( | self | ) |
|
protected |
| destroy | ( | self | ) |
| diff | ( | self, | |
| other ) |
print difference between this pool and 'other' pool
| getObjsOfType | ( | self, | |
| type ) |
| getTypes | ( | self | ) |
| printObjsByType | ( | self | ) |
| printObjsOfType | ( | self, | |
| type ) |
| printReferrers | ( | self, | |
| numEach = 3 ) |
referrers of the first few of each type of object
| typeFreqStr | ( | self | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |