![]() |
CRTP Base class to implement Object Factory functionality on a base class, use this rather than writing your own functions to return the factory. More...
#include <SurgSim/Framework/ObjectFactory.h>
Public Types | |
typedef ObjectFactory1< T, P > | FactoryType |
Static Public Member Functions | |
static FactoryType & | getFactory () |
CRTP Base class to implement Object Factory functionality on a base class, use this rather than writing your own functions to return the factory.
T | base class of the generated objects |
P | constructor parameter for object generation |
typedef ObjectFactory1<T, P> SurgSim::Framework::FactoryBase1< T, P >::FactoryType |
|
inlinestatic |