Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DistributedObjectOV Class Reference
Inheritance diagram for DistributedObjectOV:
DistributedObjectBase DirectObject DistributedCameraOV

Public Member Functions

def __init__ (self, cr)
def announceGenerate (self)
def delete (self)
def deleteOrDelay (self)
def disable (self)
def disableAndAnnounce (self)
def disableAnnounceAndDelete (self)
def generate (self)
def generateInit (self)
def getCacheable (self)
def getDelayDeleteCount (self)
def getDoId (self)
def isDisabled (self)
def isGenerated (self)
def postGenerateMessage (self)
def sendUpdate (self, fieldName, args=[], sendToId=None)
def status (self, indent=0)
def taskName (self, taskString)
def uniqueName (self, idString)
def updateAllRequiredFields (self, dclass, di)
def updateRequiredFields (self, dclass, di)
def updateRequiredOtherFields (self, dclass, di)
- Public Member Functions inherited from DistributedObjectBase
def getLocation (self)
def getParentObj (self)
def handleChildArrive (self, childObj, zoneId)
def handleChildArriveZone (self, childObj, zoneId)
def handleChildLeave (self, childObj, zoneId)
def handleChildLeaveZone (self, childObj, zoneId)
def handleQueryObjectChildrenLocalDone (self, context)
def hasParentingRules (self)
- Public Member Functions inherited from DirectObject
def __init__ (self)
def accept (self, event, method, extraArgs=[])
def acceptOnce (self, event, method, extraArgs=[])
def addTask (self, *args, **kwargs)
def detectLeaks (self)
def doMethodLater (self, *args, **kwargs)
def getAllAccepting (self)
def ignore (self, event)
def ignoreAll (self)
def isAccepting (self, event)
def isIgnoring (self, event)
def removeAllTasks (self)
def removeTask (self, taskOrName)

Public Attributes

- Public Attributes inherited from DistributedObjectBase

Static Public Attributes

 notify = directNotify.newCategory("DistributedObjectOV")
- Static Public Attributes inherited from DistributedObjectBase
 notify = directNotify.newCategory("DistributedObjectBase")
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
def add_task = addTask
def detect_leaks = detectLeaks
def do_method_later = doMethodLater
def get_all_accepting = getAllAccepting
def ignore_all = ignoreAll
def is_accepting = isAccepting
def is_ignoring = isIgnoring
def remove_all_tasks = removeAllTasks
def remove_task = removeTask

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,

Reimplemented from DistributedObjectBase.

Reimplemented in DistributedCameraOV.

Member Function Documentation

◆ 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

Reimplemented from DistributedObjectBase.

Reimplemented in DistributedCameraOV.

◆ deleteOrDelay()

def deleteOrDelay (   self)

◆ disable()

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

◆ disableAndAnnounce()

def disableAndAnnounce (   self)

◆ disableAnnounceAndDelete()

def disableAnnounceAndDelete (   self)

◆ 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)

◆ getDelayDeleteCount()

def getDelayDeleteCount (   self)

◆ 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)

◆ sendUpdate()

def sendUpdate (   self,
  args = [],
  sendToId = None 

◆ status()

def status (   self,
  indent = 0 
print out "doId(parentId, zoneId) className"
    and conditionally show generated, disabled

Reimplemented from DistributedObjectBase.

◆ taskName()

def taskName (   self,

◆ uniqueName()

def uniqueName (   self,

◆ updateAllRequiredFields()

def updateAllRequiredFields (   self,

◆ updateRequiredFields()

def updateRequiredFields (   self,

◆ updateRequiredOtherFields()

def updateRequiredOtherFields (   self,

Member Data Documentation

◆ activeState


◆ cr


◆ dclass


◆ DistributedObjectOV_deleted


◆ DistributedObjectOV_initialized


◆ notify

notify = directNotify.newCategory("DistributedObjectOV")