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

Public Member Functions

def __init__ (self)
 
def __str__ (self)
 
def getCategories (self)
 
def getCategory (self, categoryName)
 
def giveNotify (self, cls)
 
def newCategory (self, categoryName, logger=None)
 
def popupControls (self, tl=None)
 
def setDconfigLevel (self, categoryName)
 
def setDconfigLevels (self)
 
def setVerbose (self)
 

Public Attributes

 logger
 
 notify
 
 streamWriter
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __str__()

def __str__ (   self)
Print handling routine

◆ getCategories()

def getCategories (   self)
Return list of category dictionary keys

◆ getCategory()

def getCategory (   self,
  categoryName 
)
getCategory(self, string)
Return the category with given name if present, None otherwise

◆ giveNotify()

def giveNotify (   self,
  cls 
)

◆ newCategory()

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

◆ popupControls()

def popupControls (   self,
  tl = None 
)

◆ setDconfigLevel()

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.

◆ setDconfigLevels()

def setDconfigLevels (   self)

◆ setVerbose()

def setVerbose (   self)

Member Data Documentation

◆ logger

logger

◆ notify

notify

◆ streamWriter

streamWriter