Panda3D
Classes | Public Member Functions | Static Public Attributes

ObjectRef Class Reference

List of all members.

Classes

class  FailedEval

Public Member Functions

def __init__
def __repr__
def destroy
def getContainerGen
def getEvalStrGen
def getFinalIndirectionStr
def getNumIndirections
def goesThrough
def goesThroughGen

Static Public Attributes

tuple notify = directNotify.newCategory("ObjectRef")

Detailed Description

stores a reference to a container in a way that does not prevent garbage
collection of the container if possible
stored as a series of 'indirections' (obj.foo -> '.foo', dict[key] -> '[key]', etc.)

Constructor & Destructor Documentation

def __init__ (   self,
  indirection,
  objId,
  other = None 
)

Member Function Documentation

def __repr__ (   self)
def destroy (   self)
def getContainerGen (   self,
  getInstance = False 
)
def getEvalStrGen (   self,
  getInstance = False 
)
def getFinalIndirectionStr (   self)
def getNumIndirections (   self)
def goesThrough (   self,
  obj = None,
  objId = None 
)
def goesThroughGen (   self,
  obj = None,
  objId = None 
)

Member Data Documentation

tuple notify = directNotify.newCategory("ObjectRef") [static]
 All Classes Namespaces Functions Variables Properties