IfaceFactory Class Reference
#include <IfaceFactory.hh>
Detailed Description
The iface factory; the class is just for namespacing purposes.Static Public Member Functions | |
| static void | RegisterAll () |
| static void | RegisterIface (std::string classname, IfaceFactoryFn factoryfn) |
| static Iface * | NewIface (const std::string &classname) |
Member Function Documentation
| static void RegisterAll | ( | ) | [static] |
Register all known ifaces.
| static void RegisterIface | ( | std::string | classname, | |
| IfaceFactoryFn | factoryfn | |||
| ) | [static] |
Register a iface class (called by iface registration function).
| static Iface* NewIface | ( | const std::string & | classname | ) | [static] |
Create a new instance of a iface. Used by the world when reading the world file.
The documentation for this class was generated from the following file: