ControllerFactory Class Reference

#include <ControllerFactory.hh>

List of all members.

Detailed Description

The controller factory; the class is just for namespacing purposes.

Static Public Member Functions

static void RegisterAll ()
static void RegisterController (std::string type, std::string classname, ControllerFactoryFn factoryfn)
static ControllerNewController (const std::string &classname, Entity *parent)

Member Function Documentation

static void RegisterAll (  )  [static]

Register all known controllers.

static void RegisterController ( std::string  type,
std::string  classname,
ControllerFactoryFn  factoryfn 
) [static]

Register a controller class (called by controller registration function).

static Controller* NewController ( const std::string &  classname,
Entity parent 
) [static]

Create a new instance of a controller. Used by the world when reading the world file.

The documentation for this class was generated from the following file:

Last updated Aug 04 2007