AnimatLab  2
Test
FiringRateSim/ClassFactory.h
1 
7 #pragma once
8 
14 namespace FiringRateSim
15 {
23  {
24  public:
25  ClassFactory();
26  virtual ~ClassFactory();
27 
39  virtual Neuron *CreateNeuron(std::string strType, bool bThrowError = true);
40 
52  virtual Synapse *CreateSynapse(std::string strType, bool bThrowError = true);
53 
65  virtual DataColumn *CreateDataColumn(std::string strType, bool bThrowError = true);
66 
78  virtual ExternalStimulus *CreateExternalStimulus(std::string strType, bool bThrowError = true);
79 
91  virtual NeuralModule *CreateNeuralModule(std::string strType, bool bThrowError = true);
92 
93  virtual CStdSerialize *CreateObject(std::string strClassType, std::string strObjectType, bool bThrowError = true);
94  };
95 
96 } //FiringRateSim
virtual Neuron * CreateNeuron(std::string strType, bool bThrowError=true)
Creates a neuron.
virtual ExternalStimulus * CreateExternalStimulus(std::string strType, bool bThrowError=true)
Creates an external stimulus.
virtual Synapse * CreateSynapse(std::string strType, bool bThrowError=true)
Creates a synapse.
virtual DataColumn * CreateDataColumn(std::string strType, bool bThrowError=true)
Creates a data column.
Firing rate neural module class factory.
Contains the classes for a firing rate neural model.
virtual NeuralModule * CreateNeuralModule(std::string strType, bool bThrowError=true)
Creates a neural module.