# InterestWatcher

from direct.distributed.InterestWatcher import InterestWatcher

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

## Inheritance:

InterestWatcher: DirectObject
DirectObject:

## Methods of InterestWatcher:

__init__
_handleInterestCloseEvent
_handleInterestOpenEvent
destroy
getDoneEvent
getName
startCollect
stopCollect

## Methods of DirectObject:

__init__
_addTask
_clearTask
accept
acceptOnce
addTask
classTree
detectLeaks
doMethodLater
getAllAccepting
ignore
ignoreAll
isAccepting
isIgnoring
removeAllTasks
removeTask

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

_handleInterestCloseEvent def _handleInterestCloseEvent(self, event, parentId, zoneIdList) Undocumented function.

_handleInterestOpenEvent def _handleInterestOpenEvent(self, event) Undocumented function.

destroy def destroy(self) Undocumented function.

getDoneEvent def getDoneEvent(self) Undocumented function.

getName def getName(self) Undocumented function.

startCollect def startCollect(self, mustCollect=False) Undocumented function.

stopCollect def stopCollect(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

_addTask def _addTask(self, task) Undocumented function.

_clearTask def _clearTask(self, task) Undocumented function.

accept def accept(self, event, method, extraArgs=[]) Undocumented function.

acceptOnce def acceptOnce(self, event, method, extraArgs=[]) Undocumented function.

addTask def addTask(self, *args, **kwargs) Undocumented function.

classTree def classTree(self) Undocumented function.

detectLeaks def detectLeaks(self) Undocumented function.

doMethodLater def doMethodLater(self, *args, **kwargs) Undocumented function.

getAllAccepting def getAllAccepting(self) Undocumented function.

ignore def ignore(self, event) Undocumented function.

ignoreAll def ignoreAll(self) Undocumented function.

isAccepting def isAccepting(self, event) Undocumented function.

isIgnoring def isIgnoring(self, event) Undocumented function.

removeAllTasks def removeAllTasks(self) Undocumented function.

removeTask def removeTask(self, taskOrName) Undocumented function.