direct.distributed.DistributedObjectOV

from direct.distributed.DistributedObjectOV import DistributedObjectOV

Inheritance diagram

Inheritance diagram of direct.distributed.DistributedObjectOV

class DistributedObjectOV(cr)[source]

Bases: direct.distributed.DistributedObjectBase.DistributedObjectBase

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

__init__(self, cr)[source]
announceGenerate(self)[source]

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

delete(self)[source]

Inheritors should redefine this to take appropriate action on delete

deleteOrDelay(self)[source]
disable(self)[source]

Inheritors should redefine this to take appropriate action on disable

disableAndAnnounce(self)[source]
disableAnnounceAndDelete(self)[source]
generate(self)[source]

Inheritors should redefine this to take appropriate action on generate

generateInit(self)[source]

This method is called when the DistributedObjectOV is first introduced to the world… Not when it is pulled from the cache.

getCacheable(self)[source]
getDelayDeleteCount(self)[source]
getDoId(self)[source]

Return the distributed object id

isDisabled(self)[source]

Returns true if the object has been disabled and/or deleted, or if it is brand new and hasn’t yet been generated.

isGenerated(self)[source]

Returns true if the object has been fully generated by now, and not yet disabled.

notify = <direct.directnotify.Notifier.Notifier object>
postGenerateMessage(self)[source]
sendUpdate(self, fieldName, args=[], sendToId=None)[source]
status(self, indent=0)[source]
print out “doId(parentId, zoneId) className”

and conditionally show generated, disabled

taskName(self, taskString)[source]
uniqueName(self, idString)[source]
updateAllRequiredFields(self, dclass, di)[source]
updateRequiredFields(self, dclass, di)[source]
updateRequiredOtherFields(self, dclass, di)[source]