Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# DistributedObjectOV Class Reference

Inherits direct::distributed::DistributedObjectBase::DistributedObjectBase.

List of all members.

## Public Member Functions
def | __init__
def | announceGenerate
def | delete
def | deleteOrDelay
def | disable
def | disableAndAnnounce
def | disableAnnounceAndDelete
def | generate
def | generateInit
def | getCacheable
def | getDelayDeleteCount
def | getDoId
def | isDisabled
def | isGenerated
def | postGenerateMessage
def | sendUpdate
def | status
def | taskName
def | uniqueName
def | updateAllRequiredFields
def | updateRequiredFields
def | updateRequiredOtherFields
## Public Attributes
| activeState
| cr
| dclass
| DistributedObjectOV_deleted
| DistributedObjectOV_initialized
## Static Public Attributes
tuple | notify = directNotify.newCategory("DistributedObjectOV")

## Detailed Description

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

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | cr
| ) |  |

## Member Function Documentation

def announceGenerate | ( |  | self | ) |

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

def delete | ( |  | self | ) |

    Inheritors should redefine this to take appropriate action on delete

def deleteOrDelay | ( |  | self | ) |

def disable | ( |  | self | ) |

    Inheritors should redefine this to take appropriate action on disable

def disableAndAnnounce | ( |  | self | ) |

def disableAnnounceAndDelete | ( |  | self | ) |

def generate | ( |  | self | ) |

    Inheritors should redefine this to take appropriate action on generate

def generateInit | ( |  | self | ) |

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

def getCacheable | ( |  | self | ) |

def getDelayDeleteCount | ( |  | self | ) |

def getDoId | ( |  | self | ) |

    Return the distributed object id

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.

def isGenerated | ( |  | self | ) |

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

def postGenerateMessage | ( |  | self | ) |

def sendUpdate | ( |  | self,
|  |  | fieldName,
|  |  | args = `[]`,
|  |  | sendToId = `None`
| ) |  |

def status | ( |  | self,
|  |  | indent = `0`
| ) |  |

    print out "doId(parentId, zoneId) className"
        and conditionally show generated, disabled

def taskName | ( |  | self,
|  |  | taskString
| ) |  |

def uniqueName | ( |  | self,
|  |  | idString
| ) |  |

def updateAllRequiredFields | ( |  | self,
|  |  | dclass,
|  |  | di
| ) |  |

def updateRequiredFields | ( |  | self,
|  |  | dclass,
|  |  | di
| ) |  |

def updateRequiredOtherFields | ( |  | self,
|  |  | dclass,
|  |  | di
| ) |  |

## Member Data Documentation

activeState

cr

dclass

DistributedObjectOV_deleted

DistributedObjectOV_initialized

tuple notify = directNotify.newCategory("DistributedObjectOV")`[static]`

All Classes Namespaces Functions Variables Enumerations Enumerator Properties