Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Static Public Attributes

# DoHierarchy Class Reference

List of all members.

## Public Member Functions
def | __init__
def | __len__
def | clear
def | deleteObjectLocation
def | getDoIds
def | isEmpty
def | storeObjectLocation
## Static Public Attributes
tuple | notify = directNotify.newCategory("DoHierarchy")

## Detailed Description

    This table has been a source of memory leaks, with DoIds getting left in the table indefinitely.
    DoHierarchy guards access to the table and ensures correctness.

## Constructor & Destructor Documentation

def __init__ | ( |  | self | ) |

## Member Function Documentation

def __len__ | ( |  | self | ) |

def clear | ( |  | self | ) |

def deleteObjectLocation | ( |  | self,
|  |  | do,
|  |  | parentId,
|  |  | zoneId
| ) |  |

def getDoIds | ( |  | self,
|  |  | getDo,
|  |  | parentId,
|  |  | zoneId = `None`,
|  |  | classType = `None`
| ) |  |

    Moved from DoCollectionManager
    ==============================
    parentId is any distributed object id.
    zoneId is a uint32, defaults to None (all zones).  Try zone 2 if
        you're not sure which zone to use (0 is a bad/null zone and
        1 has had reserved use in the past as a no messages zone, while
        2 has traditionally been a global, uber, misc stuff zone).
    dclassType is a distributed class type filter, defaults
        to None (no filter).

    If dclassName is None then all objects in the zone are returned;
    otherwise the list is filtered to only include objects of that type.

def isEmpty | ( |  | self | ) |

def storeObjectLocation | ( |  | self,
|  |  | do,
|  |  | parentId,
|  |  | zoneId
| ) |  |

## Member Data Documentation

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

All Classes Namespaces Functions Variables Enumerations Enumerator Properties