Component factories

ArmarX Components can be registered with a name to the armarx::ComponentFactory. This factory can be used to create components given a name used for registration.

Use the class armarx::RegisterComponent to perform registration.

Retrieve a Component factory by calling:

ComponentFactory::get("nameUsedForRegistration")

This offers you a function-object behaving like armarx::Component::create.

As a difference: The first parameter can also be an Ice::PropertyDict (aka.: std::map<std::string, std::string>) instead of a Properties object.

See also
armarx::RegisterComponent