Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
ObjectFactory< AbstractClass > Class Template Referenceabstract

Object factory interface for registering objects. More...

#include <factory.h>

Inheritance diagram for ObjectFactory< AbstractClass >:
[legend]

Public Member Functions

virtual ~ObjectFactory ()
 
virtual AbstractClass * CreateObject () const =0
 

Detailed Description

template<class AbstractClass>
class ObjectFactory< AbstractClass >

Object factory interface for registering objects.

Template Parameters
AbstractClassBase class interface of the object

Definition at line 19 of file factory.h.

Constructor & Destructor Documentation

template<class AbstractClass>
virtual ObjectFactory< AbstractClass >::~ObjectFactory ( )
inlinevirtual

Definition at line 22 of file factory.h.

Member Function Documentation

template<class AbstractClass>
virtual AbstractClass* ObjectFactory< AbstractClass >::CreateObject ( ) const
pure virtual

Implemented in DefaultObjectFactory< AbstractClass, ConcreteClass >.

Here is the caller graph for this function:


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