Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

ModelFactory Class Reference

The model factory; the class is just for namespacing purposes. More...

#include <ModelFactory.hh>

List of all members.

Static Public Member Functions

static void RegisterAll ()
 Register all known models.
static void RegisterModel (const char *type, const char *classname, ModelFactoryFn factoryfn)
 Register a model class (called by model registration function).
static ModelNewModel (World *world, const char *classname)
 Create a new instance of a model. Used by the world when reading the world file.

Classes

class  ModelClass


Detailed Description

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


Member Function Documentation

void ModelFactory::RegisterAll  )  [static]
 

Register all known models.

void ModelFactory::RegisterModel const char *  type,
const char *  classname,
ModelFactoryFn  factoryfn
[static]
 

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

Model * ModelFactory::NewModel World world,
const char *  classname
[static]
 

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


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


Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:08 2005 for Gazebo by doxygen 1.4.2