Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
BulletinBoard Class Reference

## Public Member Functions
| __init__ (self)
| __repr__ (self)
| get (self, postName, default=None)
| getEvent (self, postName)
| getRemoveEvent (self, postName)
| has (self, postName)
| post (self, postName, value=None)
| remove (self, postName)
| removeIfEqual (self, postName, value)
| update (self, postName, value)

## Static Public Attributes
| notify = DirectNotifyGlobal.directNotify.newCategory('BulletinBoard')

## Protected Attributes
dict | _dict = {}

## Detailed Description

    This class implements a global location for key/value pairs to be
    stored. Intended to prevent coders from putting global variables directly
    on showbase, so that potential name collisions can be more easily
    detected.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## Member Function Documentation

## ◆ __repr__()

__repr__ | ( |  | self | ) |

## ◆ get()

get | ( |  | self,
|  |  | postName,
|  |  | default = None )

## ◆ getEvent()

getEvent | ( |  | self,
|  |  | postName )

## ◆ getRemoveEvent()

getRemoveEvent | ( |  | self,
|  |  | postName )

## ◆ has()

has | ( |  | self,
|  |  | postName )

## ◆ post()

post | ( |  | self,
|  |  | postName,
|  |  | value = None )

## ◆ remove()

remove | ( |  | self,
|  |  | postName )

## ◆ removeIfEqual()

removeIfEqual | ( |  | self,
|  |  | postName,
|  |  | value )

## ◆ update()

update | ( |  | self,
|  |  | postName,
|  |  | value )

    can use this to set value the first time

## Member Data Documentation

## ◆ _dict

dict _dict = {}
| protected

## ◆ notify

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