# DoCollectionManager

from direct.distributed.DoCollectionManager import DoCollectionManager

## Inheritance:

DoCollectionManager:

## Methods of DoCollectionManager:

__init__
_printObjects
addDOToTables
callbackWithDo
callbackWithOwnerView
countObjects
def
deleteDistributedObjects
deleteObjectLocation
doFind
doFindAll
findAnyOfType
getAllOfType
getDo
getDoIdList
getDoList
getDoTable
getObjectsInZone
getObjectsOfClassInZone
getOwnerView
getOwnerViewDoIdList
getOwnerViewDoList
handleObjectLocation
handleSetLocation
isValidLocationTuple
printObjectCount
removeDOFromTables

__init__ def __init__(self) Undocumented function.

_printObjects def _printObjects(self, table) Undocumented function.

addDOToTables def addDOToTables(self, do, location=None, ownerView=False) Undocumented function.

callbackWithDo def callbackWithDo(self, doId, callback) Undocumented function.

callbackWithOwnerView def callbackWithOwnerView(self, doId, callback) Undocumented function.

countObjects def countObjects(self, classType) Counts the number of objects of the given type in the repository (for testing purposes)

def def defstoreObjectLocation Undocumented function.

deleteDistributedObjects def deleteDistributedObjects(self) Undocumented function.

deleteObjectLocation def deleteObjectLocation(self, object, parentId, zoneId) Undocumented function.

doFind def doFind(self, str) Returns list of distributed objects with matching str in value.

doFindAll def doFindAll(self, str) Returns list of distributed objects with matching str in value.

findAnyOfType def findAnyOfType(self, type) Undocumented function.

getAllOfType def getAllOfType(self, type) Undocumented function.

getDo def getDo(self, doId) Undocumented function.

getDoIdList def getDoIdList(self, parentId, zoneId=None, classType=None) Undocumented function.

getDoList def getDoList(self, parentId, zoneId=None, classType=None) parentId is any distributed object id. zoneId is a uint32, defaults to None (all zones). Try zone 2 if you're not sure which zone to use (0 is a bad/null zone and 1 has had reserved use in the past as a no messages zone, while 2 has traditionally been a global, uber, misc stuff zone). dclassType is a distributed class type filter, defaults to None (no filter). If dclassName is None then all objects in the zone are returned; otherwise the list is filtered to only include objects of that type.

getDoTable def getDoTable(self, ownerView) Undocumented function.

getObjectsInZone def getObjectsInZone(self, parentId, zoneId) returns dict of doId:distObj for a zone. returned dict is safely mutable.

getObjectsOfClassInZone def getObjectsOfClassInZone(self, parentId, zoneId, objClass) returns dict of doId:object for a zone, containing all objects that inherit from 'class'. returned dict is safely mutable.

getOwnerView def getOwnerView(self, doId) Undocumented function.

getOwnerViewDoIdList def getOwnerViewDoIdList(self, classType) Undocumented function.

getOwnerViewDoList def getOwnerViewDoList(self, classType) Undocumented function.

handleObjectLocation def handleObjectLocation(self, di) Undocumented function.

handleSetLocation def handleSetLocation(self, di) Undocumented function.

isValidLocationTuple def isValidLocationTuple(self, location) Undocumented function.

printObjectCount def printObjectCount(self) Undocumented function.

removeDOFromTables def removeDOFromTables(self, do) Undocumented function.