SensorFactory Class Reference

#include <SensorFactory.hh>

List of all members.

Detailed Description

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

Static Public Member Functions

static void RegisterSensor (std::string type, std::string classname, SensorFactoryFn factoryfn)
 Register a sensor class (called by sensor registration function).
static SensorNewSensor (const std::string &classname, Body *body)
 Create a new instance of a sensor.

Member Function Documentation

static Sensor* NewSensor ( const std::string &  classname,
Body body 
) [static]

Create a new instance of a sensor.

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