Panda3D
Public Member Functions | Static Public Attributes | List of all members
BulletinBoard Class Reference

Public Member Functions

def __init__ (self)
 
def __repr__ (self)
 
def get (self, postName, default=None)
 
def getEvent (self, postName)
 
def getRemoveEvent (self, postName)
 
def has (self, postName)
 
def post (self, postName, value=None)
 
def remove (self, postName)
 
def removeIfEqual (self, postName, value)
 
def update (self, postName, value)
 

Static Public Attributes

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

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

def __init__ (   self)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ get()

def get (   self,
  postName,
  default = None 
)

◆ getEvent()

def getEvent (   self,
  postName 
)

◆ getRemoveEvent()

def getRemoveEvent (   self,
  postName 
)

◆ has()

def has (   self,
  postName 
)

◆ post()

def post (   self,
  postName,
  value = None 
)

◆ remove()

def remove (   self,
  postName 
)

◆ removeIfEqual()

def removeIfEqual (   self,
  postName,
  value 
)

◆ update()

def update (   self,
  postName,
  value 
)
can use this to set value the first time

Member Data Documentation

◆ notify

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