Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
DirectNotify Class Reference

Public Member Functions

def __init__
 
def __str__
 
def getCategories
 
def getCategory
 
def giveNotify
 
def newCategory
 
def popupControls
 
def setDconfigLevel
 
def setDconfigLevels
 
def setVerbose
 

Public Attributes

 logger
 
 streamWriter
 

Detailed Description

DirectNotify class: this class contains methods for creating
mulitple notify categories via a dictionary of Notifiers.

Constructor & Destructor Documentation

def __init__ (   self)
DirectNotify class keeps a dictionary of Notfiers

Member Function Documentation

def __str__ (   self)
Print handling routine
def getCategories (   self)
Return list of category dictionary keys
def getCategory (   self,
  categoryName 
)
getCategory(self, string)
Return the category with given name if present, None otherwise
def giveNotify (   self,
  cls 
)
def newCategory (   self,
  categoryName,
  logger = None 
)
newCategory(self, string)
Make a new notify category named categoryName. Return new category
if no such category exists, else return existing category
def popupControls (   self,
  tl = None 
)
def setDconfigLevel (   self,
  categoryName 
)
Check to see if this category has a dconfig variable
to set the notify severity and then set that level. You cannot
set these until config is set.
def setDconfigLevels (   self)
def setVerbose (   self)

Member Data Documentation

logger
streamWriter