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 RegisterAll ()
static void RegisterSensor (std::string type, std::string classname, SensorFactoryFn factoryfn)
static SensorNewSensor (const std::string &classname, Body *body)

Member Function Documentation

static void RegisterAll (  )  [static]

Register all known sensors.

static void RegisterSensor ( std::string  type,
std::string  classname,
SensorFactoryFn  factoryfn 
) [static]

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

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