Panda3D
Public Member Functions | Static Public Attributes

Factory Class Reference

List of all members.

Public Member Functions

def __init__
def create
def nullCtor

Static Public Attributes

tuple notify = directNotify.newCategory('Factory')

Detailed Description

This class manages a list of object types and their corresponding constructors.
Objects may be created on-demand from their type. Object types may be any hashable
piece of unique data (such as a string).

This class is intended to be derived from. Subclasses should call self._registerTypes
to set up type constructors.

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def create (   self,
  type,
  args,
  kwArgs 
)
def nullCtor (   self,
  args,
  kwArgs 
)

Member Data Documentation

tuple notify = directNotify.newCategory('Factory') [static]
 All Classes Namespaces Functions Variables Properties