For the run time construction of objects from strings.

See:

Uses the Industrial Strength Pluggable Factory model described here.

OpenBR's plugin architecture is premised on the idea that algorithms can be described as strings and can be built at runtime. Constructing plugins from strings is the job of the Factory. For a plugin to be built by the Factory it must inherit from Object. It also must be registered with the factory at compile time using BR_REGISTER. At runtime, the Factory will look up provided strings in its registry and, if they exist, return the described plugins.