Dev Essential  1.6.3
Loading...
Searching...
No Matches
ddl::mapping::SpecificMapperFactory< ElementType > Class Template Referenceabstract

A specific mapper factory to create Source, Target or Function. More...

#include <mapper_interfaces.h>

Inherits ddl::mapping::MapperFactory.

Public Member Functions

virtual std::shared_ptr< ElementType > make (std::string name, Properties properties) const =0
 Factory create function which creates a Source, Target or Function instance with a name and intialize it with given properties.
 
- Public Member Functions inherited from ddl::mapping::MapperFactory
virtual ~MapperFactory ()=default
 DTOR.
 
virtual std::string getType () const =0
 Get the Type as string.
 
virtual Properties getDefaultProperties () const =0
 Get the default properties to initialize the Source, Target or Function with.
 

Detailed Description

template<typename ElementType>
class ddl::mapping::SpecificMapperFactory< ElementType >

A specific mapper factory to create Source, Target or Function.

Template Parameters
ElementTypethe type of the specific Source, Target or Function implementation.

Member Function Documentation

◆ make()

template<typename ElementType>
virtual std::shared_ptr< ElementType > ddl::mapping::SpecificMapperFactory< ElementType >::make ( std::string name,
Properties properties ) const
pure virtual

Factory create function which creates a Source, Target or Function instance with a name and intialize it with given properties.

Parameters
namethe name
propertiesthe properties to initialize with
Returns
std::shared_ptr<ElementType>

Implemented in ddl::mapping::FunctionFactoryImplementation< FunctionType >, ddl::mapping::SimulationTimeFunctionFactory, ddl::mapping::SourceFactoryImplementation< SourceType >, and ddl::mapping::TargetFactoryImplementation< TargetType >.


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