Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
DefaultObjectFactory< AbstractClass, ConcreteClass > Class Template Reference

Object factory for registering objects. More...

#include <factory.h>

Inheritance diagram for DefaultObjectFactory< AbstractClass, ConcreteClass >:
[legend]
Collaboration diagram for DefaultObjectFactory< AbstractClass, ConcreteClass >:
[legend]

Public Member Functions

AbstractClass * CreateObject () const
 
- Public Member Functions inherited from ObjectFactory< AbstractClass >
virtual ~ObjectFactory ()
 

Detailed Description

template<class AbstractClass, class ConcreteClass>
class DefaultObjectFactory< AbstractClass, ConcreteClass >

Object factory for registering objects.

Template Parameters
AbstractClassBase class interface of the object
ConcreteClassClass object

Definition at line 31 of file factory.h.

Member Function Documentation

template<class AbstractClass , class ConcreteClass >
AbstractClass* DefaultObjectFactory< AbstractClass, ConcreteClass >::CreateObject ( ) const
inlinevirtual

Implements ObjectFactory< AbstractClass >.

Definition at line 34 of file factory.h.


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