Dev Essential
Loading...
Searching...
No Matches
ddl::mapping::SimulationTimeFunctionFactory Class Reference

Factory for SimulationTimeFunction as type "simulation_time". More...

#include <time_function.h>

Inherits ddl::mapping::SpecificMapperFactory< Function >.

Public Member Functions

 SimulationTimeFunctionFactory (std::shared_ptr< SimulationTimeFunction::SimTimeSource > sim_time_source)
 CTOR of factory.
 
std::string getType () const override
 Get the Type as string.
 
Properties getDefaultProperties () const override
 Get the default properties to initialize the Source, Target or Function with.
 
std::shared_ptr< Functionmake (std::string name, Properties properties) const override
 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.
 

Detailed Description

Factory for SimulationTimeFunction as type "simulation_time".

Constructor & Destructor Documentation

◆ SimulationTimeFunctionFactory()

ddl::mapping::SimulationTimeFunctionFactory::SimulationTimeFunctionFactory ( std::shared_ptr< SimulationTimeFunction::SimTimeSource > sim_time_source)
inline

CTOR of factory.

Parameters
sim_time_sourcesim time source interface reference

Member Function Documentation

◆ getDefaultProperties()

Properties ddl::mapping::SimulationTimeFunctionFactory::getDefaultProperties ( ) const
inlineoverridevirtual

Get the default properties to initialize the Source, Target or Function with.

Returns
Properties

Implements ddl::mapping::MapperFactory.

◆ getType()

std::string ddl::mapping::SimulationTimeFunctionFactory::getType ( ) const
inlineoverridevirtual

Get the Type as string.

Returns
std::string

Implements ddl::mapping::MapperFactory.

◆ make()

std::shared_ptr< Function > ddl::mapping::SimulationTimeFunctionFactory::make ( std::string name,
Properties properties ) const
inlineoverridevirtual

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>

Implements ddl::mapping::SpecificMapperFactory< Function >.


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