gfactory
GFactory< T > Class Template Referencefinal

Concrete factory that creates objects of type T. More...

#include <gfactory.h>

Inheritance diagram for GFactory< T >:
Inheritance graph
Collaboration diagram for GFactory< T >:
Collaboration graph

Public Member Functions

void * Create () override
 Pure virtual instantiation hook implemented by the templated concrete factory. More...
 
- Public Member Functions inherited from GFactoryBase
virtual ~GFactoryBase ()=default
 

Detailed Description

template<class T>
class GFactory< T >

Template Parameters
TThe derived type to instantiate via new T().

Definition at line 34 of file gfactory.h.

Member Function Documentation

◆ Create()

template<class T >
void* GFactory< T >::Create ( )
inlineoverridevirtual

Implements GFactoryBase.

Definition at line 36 of file gfactory.h.


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