fpmas 1.6
Public Member Functions | List of all members
fpmas::model::DefaultSpatialAgentFactory< AgentType > Class Template Reference

#include <spatial_model.h>

Inheritance diagram for fpmas::model::DefaultSpatialAgentFactory< AgentType >:
Inheritance graph
[legend]
Collaboration diagram for fpmas::model::DefaultSpatialAgentFactory< AgentType >:
Collaboration graph
[legend]

Public Member Functions

AgentType * build () override
 
virtual SpatialAgent< AgentType::Cell > * build ()=0
 

Detailed Description

template<typename AgentType>
class fpmas::model::DefaultSpatialAgentFactory< AgentType >

api::model::SpatialAgentFactory implementation that uses AgentTypes default constructor.

Member Function Documentation

◆ build()

template<typename AgentType >
AgentType * fpmas::model::DefaultSpatialAgentFactory< AgentType >::build ( )
inlineoverridevirtual

Returns new AgentType().

Returns
dynamically allocated, default constructed SpatialAgent

Implements fpmas::api::model::SpatialAgentFactory< AgentType::Cell >.


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