Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
InterestWatcher Class Reference
Inheritance diagram for InterestWatcher:
DirectObject

Public Member Functions

 __init__ (self, interestMgr, name, doneEvent=None, recurse=True, start=True, mustCollect=False, doCollectionMgr=None)
 
 destroy (self)
 
 getDoneEvent (self)
 
 getName (self)
 
 startCollect (self, mustCollect=False)
 
 stopCollect (self)
 
- Public Member Functions inherited from DirectObject
 accept (self, event, method, extraArgs=[])
 
 acceptOnce (self, event, method, extraArgs=[])
 
 addTask (self, *args, **kwargs)
 
 detectLeaks (self)
 
 doMethodLater (self, *args, **kwargs)
 
 getAllAccepting (self)
 
 ignore (self, event)
 
 ignoreAll (self)
 
 isAccepting (self, event)
 
 isIgnoring (self, event)
 
 removeAllTasks (self)
 
 removeTask (self, taskOrName)
 

Public Attributes

 closingParent2zones
 
 destroy
 

Static Public Attributes

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

Protected Member Functions

 _handleInterestCloseEvent (self, event, parentId, zoneIdList)
 
 _handleInterestOpenEvent (self, event)
 
- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 

Protected Attributes

 _doCollectionMgr
 
 _doneEvent
 
 _eGroup
 
 _gotEvent
 
 _handleInterestCloseEvent
 
 _handleInterestOpenEvent
 
 _interestMgr
 
 _mustCollect
 
 _recurse
 
- Protected Attributes inherited from DirectObject
 _taskList
 

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__()

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

Reimplemented from DirectObject.

Member Function Documentation

◆ _handleInterestCloseEvent()

_handleInterestCloseEvent ( self,
event,
parentId,
zoneIdList )
protected

◆ _handleInterestOpenEvent()

_handleInterestOpenEvent ( self,
event )
protected

◆ destroy()

destroy ( self)

◆ getDoneEvent()

getDoneEvent ( self)

◆ getName()

getName ( self)

◆ startCollect()

startCollect ( self,
mustCollect = False )

◆ stopCollect()

stopCollect ( self)

Member Data Documentation

◆ _doCollectionMgr

_doCollectionMgr
protected

◆ _doneEvent

_doneEvent
protected

◆ _eGroup

_eGroup
protected

◆ _gotEvent

_gotEvent
protected

◆ _handleInterestCloseEvent

_handleInterestCloseEvent
protected

◆ _handleInterestOpenEvent

_handleInterestOpenEvent
protected

◆ _interestMgr

_interestMgr
protected

◆ _mustCollect

_mustCollect
protected

◆ _recurse

_recurse
protected

◆ closingParent2zones

closingParent2zones

◆ destroy

destroy

◆ notify

notify = directNotify.newCategory('InterestWatcher')
static