# DistributedObjectGlobal

from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal

The Distributed Object Global class is the base class for global network based (i.e. distributed) objects.

## Inheritance:

DistributedObjectGlobal: DistributedObject
DistributedObject: DistributedObjectBase EnforcesCalldowns
DistributedObjectBase: DirectObject
DirectObject:
EnforcesCalldowns:

## Methods of DistributedObjectGlobal:

__init__

## Methods of DistributedObject:

__init__
addInterest
b_setLocation
d_setLocation
def
delayDelete
deleteOrDelay
disableAndAnnounce
disableAnnounceAndDelete
doCallbackContext
doneBarrier
getAutoInterests
getCacheable
getCallback
getCallbackArgs
getCallbackContext
getCurrentContexts
getDoId
getLocation
getNeverDisable
getParentObj
handleChildArrive
handleChildLeave
isDisabled
isGenerated
isGridParent
isLocal
postGenerateMessage
removeInterest
sendDeleteMsg
sendDisableMsg
sendUpdate
setBarrierData
setCacheable
setLocation
setNeverDisable
taskName
uniqueName
updateAllRequiredFields
updateRequiredFields
updateRequiredOtherFields
updateZone

## Methods of DistributedObjectBase:

__init__
getLocation
getParentObj
handleChildArrive
handleChildLeave
handleQueryObjectChildrenLocalDone
hasParentingRules

## Methods of DirectObject:

__init__
accept
acceptOnce
classTree
getAllAccepting
ignore
ignoreAll
isAccepting
isIgnoring

## Methods of EnforcesCalldowns:

__init__
_ECcheck
_EClatch
_ECvisit
def
EC_destroy
skipCalldown

__init__ def __init__(self, cr) Undocumented function.

__init__ def __init__(self, cr) Undocumented function.

addInterest def addInterest(self, zoneId, note="", event=None) Undocumented function.

b_setLocation def b_setLocation(self, parentId, zoneId) Undocumented function.

d_setLocation def d_setLocation(self, parentId, zoneId) Undocumented function.

def def defgenerateInit This method is called when the DistributedObject is first introduced to the world... Not when it is pulled from the cache.

delayDelete def delayDelete(self, flag) Undocumented function.

deleteOrDelay def deleteOrDelay(self) Undocumented function.

disableAndAnnounce def disableAndAnnounce(self) Inheritors should *not* redefine this function.

disableAnnounceAndDelete def disableAnnounceAndDelete(self) Undocumented function.

doCallbackContext def doCallbackContext(self, context, args) Undocumented function.

doneBarrier def doneBarrier(self, name=None) Undocumented function.

getAutoInterests def getAutoInterests(self) Undocumented function.

getCacheable def getCacheable(self) Undocumented function.

getCallback def getCallback(self, context) Undocumented function.

getCallbackArgs def getCallbackArgs(self, context) Undocumented function.

getCallbackContext def getCallbackContext(self, callback, extraArgs=[]) Undocumented function.

getCurrentContexts def getCurrentContexts(self) Undocumented function.

getDoId def getDoId(self) Return the distributed object id

getLocation def getLocation(self) Undocumented function.

getNeverDisable def getNeverDisable(self) Undocumented function.

getParentObj def getParentObj(self) Undocumented function.

handleChildArrive def handleChildArrive(self, childObj, zoneId) Undocumented function.

handleChildLeave def handleChildLeave(self, childObj, zoneId) Undocumented function.

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.

isGridParent def isGridParent(self) Undocumented function.

isLocal def isLocal(self) Undocumented function.

postGenerateMessage def postGenerateMessage(self) Undocumented function.

removeInterest def removeInterest(self, handle, event=None) Undocumented function.

sendDeleteMsg def sendDeleteMsg(self) Undocumented function.

sendDisableMsg def sendDisableMsg(self) Undocumented function.

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

setBarrierData def setBarrierData(self, data) Undocumented function.

setCacheable def setCacheable(self, bool) Undocumented function.

setLocation def setLocation(self, parentId, zoneId) Undocumented function.

setNeverDisable def setNeverDisable(self, bool) 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.

updateZone def updateZone(self, zoneId) 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) Undocumented function.

handleChildLeave def handleChildLeave(self, childObj, zoneId) Undocumented function.

handleQueryObjectChildrenLocalDone def handleQueryObjectChildrenLocalDone(self, context) Undocumented function.

hasParentingRules def hasParentingRules(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

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

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

classTree def classTree(self) 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.

__init__ def __init__(self) Undocumented function.

_ECcheck def _ECcheck(self, funcId) Undocumented function.

_EClatch def _EClatch(self, funcId) Undocumented function.

_ECvisit def _ECvisit(self, funcId) Undocumented function.

def def defnotActive Undocumented function.

EC_destroy def EC_destroy(self) this used to be called destroy() but it was masking destroy() functions on other classes that were multiply-inherited after ('to the right of') this class

skipCalldown def skipCalldown(self, method) Undocumented function.