Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
InterestWatcher Class Reference
Inheritance diagram for InterestWatcher:
DirectObject

Public Member Functions

def __init__ (self, interestMgr, name, doneEvent=None, recurse=True, start=True, mustCollect=False, doCollectionMgr=None)
 
def destroy (self)
 
def getDoneEvent (self)
 
def getName (self)
 
def startCollect (self, mustCollect=False)
 
def stopCollect (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

 closingParent2zones
 

Static Public Attributes

 notify = directNotify.newCategory('InterestWatcher')
 
- 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

Object that observes all interests adds/removes over a period of time,
and sends out an event when all of those interests have closed

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  interestMgr,
  name,
  doneEvent = None,
  recurse = True,
  start = True,
  mustCollect = False,
  doCollectionMgr = None 
)

Member Function Documentation

◆ destroy()

def destroy (   self)

◆ getDoneEvent()

def getDoneEvent (   self)

◆ getName()

def getName (   self)

◆ startCollect()

def startCollect (   self,
  mustCollect = False 
)

◆ stopCollect()

def stopCollect (   self)

Member Data Documentation

◆ closingParent2zones

closingParent2zones

◆ notify

notify = directNotify.newCategory('InterestWatcher')
static