sweetness..  initial implementation of a generic abstract object factory pattern.  this templatized implementation takes a base class type and some identifying key (anything that defines an ostream << operator) like a std::string.  this factory can then be used to register various object types that it is able to produce.  once registered, it can then also produce objects of a given type on demand by named reference (using the key name registered and calling a default constructor).
sweetness..  initial implementation of a generic abstract object
factory pattern.  this templatized implementation takes a base class
type and some identifying key (anything that defines an ostream <<
operator) like a std::string.  this factory can then be used to
register various object types that it is able to produce.  once
registered, it can then also produce objects of a given type on demand
by named reference (using the key name registered and calling a
default constructor).


kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1