SurgSim::Framework::FactoryBase< T > Class Template Reference

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 ObjectFactory< T > | FactoryType

## Static Public Member Functions

static FactoryType & | getFactory ()

## Detailed Description

### template<class T>
class SurgSim::Framework::FactoryBase< T >

CRTP Base class to implement Object Factory functionality on a base class, use this rather than writing your own functions to return the factory.

Template Parameters

  T | base class of the generated objects

## Member Typedef Documentation

## FactoryType

template<class T>

typedef ObjectFactory<T> SurgSim::Framework::FactoryBase< T >::FactoryType

## Member Function Documentation

## getFactory()

template<class T>

static FactoryType& SurgSim::Framework::FactoryBase< T >::getFactory | ( |  | ) |

inline static

Returns
  a reference to the factory

The documentation for this class was generated from the following file:

- SurgSim/Framework/ObjectFactory.h