last update 20 Sep 2009 |
#include <cvrFactory.h>
Public Member Functions | |
registration () | |
registration (const char *name) |
cvr::factory< T >::factory::registration< U >::registration | ( | ) | [inline] |
Creates a new registration, thus registering an object of class U.
References cvr::factory< T >::getFactory(), cvr::isNull(), cvr::factory< T >::newInstance(), and cvr::factory< T >::registerObject().
cvr::factory< T >::factory::registration< U >::registration | ( | const char * | name | ) | [inline] |
Creates a new registration, thus registering an object of class U, but under a given name, which is not necessarily the class name.
References cvr::factory< T >::getFactory(), cvr::isNull(), cvr::factory< T >::newInstance(), and cvr::factory< T >::registerObject().