FreeNOS
Static Public Member Functions
Factory< T > Class Template Reference

Factory design pattern providing a standard creation function. More...

#include <Factory.h>

Static Public Member Functions

static T * create ()
 Create an instance of T. More...
 

Detailed Description

template<class T>
class Factory< T >

Factory design pattern providing a standard creation function.

Definition at line 32 of file Factory.h.

Member Function Documentation

◆ create()

template<class T >
static T* Factory< T >::create ( )
inlinestatic

Create an instance of T.

Returns
Pointer to T.

Definition at line 41 of file Factory.h.


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