ControllerFactory Class Reference
[Controller]
#include <ControllerFactory.hh>
Detailed Description
The controller factory; the class is just for namespacing purposes.
Static Public Member Functions | |
static void | RegisterController (std::string type, std::string classname, ControllerFactoryFn factoryfn) |
Register a controller class (called by controller registration function). | |
static Controller * | NewController (const std::string &classname, Entity *parent) |
Create a new instance of a controller. | |
static void | LoadPlugin (const std::string &plugin, const std::string &classname) |
Load a controller plugin. Used by Model and Sensor when creating controllers. |
Member Function Documentation
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: