Spike
Loading...
Searching...
No Matches
NeuronFactory.h
Go to the documentation of this file.
1
6
#ifndef SPIKE_NEURONFACTORY_H
7
#define SPIKE_NEURONFACTORY_H
8
9
#include "
Spike/Neuron/IF.h
"
10
#include <memory>
11
12
namespace
Spike {
13
20
class
NeuronFactory
{
21
public
:
29
static
std::unique_ptr<IF>
create
(
const
std::string &input_file);
30
};
31
32
}
// namespace Spike
33
34
#endif
// SPIKE_NEURONFACTORY_H
IF.h
Spike::NeuronFactory
Implements a factory pattern for neurons. This class will create a specific neuron,...
Definition
NeuronFactory.h:20
Spike::NeuronFactory::create
static std::unique_ptr< IF > create(const std::string &input_file)
Returns a neuron pointer. Depending on the type read from the input file, this function constructs th...
Definition
NeuronFactory.cpp:14
Spike
Neuron
NeuronFactory.h
Generated by
1.10.0