SimulationChain
 All Classes Functions Variables Pages
SGeneratorFactory Class Reference

#include <SGeneratorFactory.h>

Public Member Functions

IGenerator * CreateGenerator (GenType)
 Creates a generator of the given type. More...
 

Static Public Member Functions

static SGeneratorFactory & GetInstance ()
 Allows to access the only instance of the factory.
 

Detailed Description

Responsible for creating generator objects which implement IGenerator interface. Implements multi-threading safe singleton pattern.

Member Function Documentation

IGenerator * SGeneratorFactory::CreateGenerator ( GenType  NewGenType)

Creates a generator of the given type.

Parameters
[in]genTypeType of the generator to create.
Returns
Pointer to the newly created generator or nullptr.

Here is the caller graph for this function:


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