Panda3D

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

## Public Member Functions
| __init__ (self, name, postNames, callback, removeNames=None)
| destroy (self)
| isDone (self)
Public Member Functions inherited from DirectObject
| __init__ (self)
| 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
| callback = callback
| name = name
| postNames = makeList(postNames)
| removeNames = makeList(removeNames)
| waitingOn = set()

## Static Public Attributes
| notify = DirectNotifyGlobal.directNotify.newCategory('BulletinBoardWatcher')
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
| _checkDone (self)
| _handleEvent (self, eventName)
Protected Member Functions inherited from DirectObject
| _addTask (self, task)
| _clearTask (self, task)

## Protected Attributes
| _handleEvent = bboard.getRemoveEvent(name)
Protected Attributes inherited from DirectObject
dict | _taskList = {}

## Detailed Description

     This class allows you to wait for a set of posts to be made to (or
    removed from) the bulletin board, and gives you a notification when all
    posts have been made. Values of posts are not examined.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | name,
|  |  | postNames,
|  |  | callback,
|  |  | removeNames = None )

## Member Function Documentation

## ◆ _checkDone()

_checkDone | ( |  | self | ) |
| protected

## ◆ _handleEvent()

_handleEvent | ( |  | self,
|  |  | eventName )
| protected

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ isDone()

isDone | ( |  | self | ) |

## Member Data Documentation

## ◆ _handleEvent

_handleEvent = bboard.getRemoveEvent(name)
| protected

## ◆ callback

callback = callback

## ◆ name

name = name

## ◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory('BulletinBoardWatcher')
| static

## ◆ postNames

postNames = makeList(postNames)

## ◆ removeNames

removeNames = makeList(removeNames)

## ◆ waitingOn

waitingOn = set()