# DistributedObjectOV

from direct.distributed.DistributedObjectOV import DistributedObjectOV

Implementation of the 'owner view' (OV) of a distributed object;

## Inheritance:

DistributedObjectOV: DistributedObjectBase
DistributedObjectBase: DirectObject
DirectObject:

## Methods of DistributedObjectOV:

__init__
announceGenerate
delete
deleteOrDelay
disable
disableAndAnnounce
disableAnnounceAndDelete
generate
generateInit
getCacheable
getDelayDeleteCount
getDoId
isDisabled
isGenerated
postGenerateMessage
sendUpdate
taskName
uniqueName
updateAllRequiredFields
updateRequiredFields
updateRequiredOtherFields

## Methods of DistributedObjectBase:

__init__
getLocation
getParentObj
handleChildArrive
handleChildArriveZone
handleChildLeave
handleChildLeaveZone
handleQueryObjectChildrenLocalDone
hasParentingRules

## Methods of DirectObject:

__init__
_addTask
_clearTask
accept
acceptOnce
addTask
classTree
detectLeaks
doMethodLater
getAllAccepting
ignore
ignoreAll
isAccepting
isIgnoring
removeAllTasks
removeTask

__init__ def __init__(self, cr) Undocumented function.

announceGenerate def announceGenerate(self) Sends a message to the world after the object has been generated and all of its required fields filled in.

delete def delete(self) Inheritors should redefine this to take appropriate action on delete

deleteOrDelay def deleteOrDelay(self) Undocumented function.

disable def disable(self) Inheritors should redefine this to take appropriate action on disable

disableAndAnnounce def disableAndAnnounce(self) Undocumented function.

disableAnnounceAndDelete def disableAnnounceAndDelete(self) Undocumented function.

generate def generate(self) Inheritors should redefine this to take appropriate action on generate

generateInit def generateInit(self) This method is called when the DistributedObjectOV is first introduced to the world... Not when it is pulled from the cache.

getCacheable def getCacheable(self) Undocumented function.

getDelayDeleteCount def getDelayDeleteCount(self) Undocumented function.

getDoId def getDoId(self) Return the distributed object id

isDisabled def isDisabled(self) Returns true if the object has been disabled and/or deleted, or if it is brand new and hasn't yet been generated.

isGenerated def isGenerated(self) Returns true if the object has been fully generated by now, and not yet disabled.

postGenerateMessage def postGenerateMessage(self) Undocumented function.

sendUpdate def sendUpdate(self, fieldName, args=[], sendToId=None) Undocumented function.

taskName def taskName(self, taskString) Undocumented function.

uniqueName def uniqueName(self, idString) Undocumented function.

updateAllRequiredFields def updateAllRequiredFields(self, dclass, di) Undocumented function.

updateRequiredFields def updateRequiredFields(self, dclass, di) Undocumented function.

updateRequiredOtherFields def updateRequiredOtherFields(self, dclass, di) Undocumented function.

__init__ def __init__(self, cr) Undocumented function.

getLocation def getLocation(self) Undocumented function.

getParentObj def getParentObj(self) Undocumented function.

handleChildArrive def handleChildArrive(self, childObj, zoneId) A new child has just setLocation beneath us. Give us a chance to run code when a new child sets location to us. For example, we may want to scene graph reparent the child to some subnode we own.

handleChildArriveZone def handleChildArriveZone(self, childObj, zoneId) A child has just changed zones beneath us with setLocation. Give us a chance to run code when an existing child sets location to us. For example, we may want to scene graph reparent the child to some subnode we own.

handleChildLeave def handleChildLeave(self, childObj, zoneId) A child is about to setLocation away from us. Give us a chance to run code just before a child sets location away from us.

handleChildLeaveZone def handleChildLeaveZone(self, childObj, zoneId) A child is about to setLocation to another zone beneath us. Give us a chance to run code just before a child sets location to that zone.

handleQueryObjectChildrenLocalDone def handleQueryObjectChildrenLocalDone(self, context) Undocumented function.

hasParentingRules def hasParentingRules(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

_addTask def _addTask(self, task) Undocumented function.

_clearTask def _clearTask(self, task) Undocumented function.

accept def accept(self, event, method, extraArgs=[]) Undocumented function.

acceptOnce def acceptOnce(self, event, method, extraArgs=[]) Undocumented function.

addTask def addTask(self, *args, **kwargs) Undocumented function.

classTree def classTree(self) Undocumented function.

detectLeaks def detectLeaks(self) Undocumented function.

doMethodLater def doMethodLater(self, *args, **kwargs) Undocumented function.

getAllAccepting def getAllAccepting(self) Undocumented function.

ignore def ignore(self, event) Undocumented function.

ignoreAll def ignoreAll(self) Undocumented function.

isAccepting def isAccepting(self, event) Undocumented function.

isIgnoring def isIgnoring(self, event) Undocumented function.

removeAllTasks def removeAllTasks(self) Undocumented function.

removeTask def removeTask(self, taskOrName) Undocumented function.